Re: I/O priority
- From: "Tobias Korch" <Tobias.Korch@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 23:54:33 +0100
"Julian Corda" <rtai@xxxxxxxxx> schrieb im Newsbeitrag
news:43ac256f$0$21073$636a55ce@xxxxxxxxxxxxxxx
> Hi folks
>
> I'm working on a streaming application.
> My process spends most of its time by doing I/O (the CPU utilization never
> exceed 15%). Because I need high bitrate (~300 Mb/s), other disc I/O may
> slow down and break this throughput.
> Basically, my program reads and caches data from files then sleep few
> milliseconds. If other disc I/O occurs while I'm reading data, it may slow
> down my process but it don't break it because I've still enough data into
> my cache. If I/0 are too important it may break my throughput.
> Of course, the best solution to my problem is to avoid any other I/O from
> the disc I read my data. But I can't.
>
> Is there any solution to give all I/O priority to my software? I mean, if
> my process needs to read a file, then all other I/O on the same device are
> put on hold even if it may considerably slow down all other process doing
> I/O.
> I know that's a very specific requirement but I wonder if there is a
> kernel patch or something for my problem.
>
> I also tried RTAI but that don't help me much because my program is
> spending most of its time doing I/O; and I/O calls fall into Linux kernel,
> not RTAI.
>
> Any idea would be appreciate :-)
>
> Regards
>
> --
> Julian
One Idea is, that you use the CFQ-Scheduler and set all priorities for the
other applications lower then for your application!
If you have any questions and the doku are not enough, write me an email and
I will try to help you!
Hotny
.
- References:
- I/O priority
- From: Julian Corda
- I/O priority
- Prev by Date: Re: How does rpm command compare 2 rpm files' version?
- Next by Date: Tigon3 basic control over NIC Help!
- Previous by thread: I/O priority
- Next by thread: Want to know something about mlock or shmctl via SHMLOCK
- Index(es):
Relevant Pages
|