Re: I/O priority




"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


.



Relevant Pages

  • I/O priority
    ... My process spends most of its time by doing I/O. ... 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. ...
    (comp.os.linux.development.system)
  • Re: Photoshop blur tool Vs expensive lenses
    ... The problem with this is that prior to Vista, Windows didn't ... hasn't included the concept of I/O priority. ...
    (rec.photo.digital)
  • Re: Photoshop blur tool Vs expensive lenses
    ... The problem with this is that prior to Vista, ... Have you looked at task scheduling and scheduler states in Windows? ... hasn't included the concept of I/O priority. ...
    (rec.photo.digital)
  • Re: Photoshop blur tool Vs expensive lenses
    ... While Windows has always supported prioritization of CPU usage, ... hasn't included the concept of I/O priority. ... so in Windows Vista storage I/O ...
    (rec.photo.digital)
  • Re: [PATCH 2/9]: Reduce Log I/O latency
    ... the I/O priority of the log I/O to the highest possible. ... do real-time ingest and playout from the same filesystem) the ... Given there is no I/O priority inheritence and having log I/O stall ...
    (Linux-Kernel)