[linux-audio-user] I/O scheduler for 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-09-30 at 12:18 +0200, Carotinho wrote:
[cut]
> I read at 
> http://www.jacklab.net/index.php?option=com_content&task=blogcategory&id=236&Itemid=221?=en_EN
> that you should use the Realtime Preemption Patch and then enable it.
> I'm running a 2.6.12 kernel patched with this and using also the realtime-lsm 
> module.
> But now I'm confused, because
> 1) "less /sys/block/hda/queue/scheduler" gives me "noop [anticipatory] 
> deadline cfq", so where is the realtime preemption? Is it useful since you do 
> not even mention it? 

Maybe you are confusing the Realtime Preemption Patch with the I/O
scheduler. The I/O scheduler do the scheduling for the hd access. While
the Realtime Preemption Patch modifies the processes's scheduler, I
think. They are two different and indipendent things.

> 2)I discovered that the rlimits way it's better: is it true? Is it also 
> simpler than loading the realtime module, which I can do in a straightforward 
> way?

The rlimits is the new (mainline) way to give the user realtime
privileges. The realtime-lsm module wasn't accepted in the mainline
kernel for security risk. So if you don't mind the security risk and you
already know how to compile and load the module, you can continue to use
the realtime-lsm module. At least until your distribution don't include
all the pieces needed to use rlimits. This is my understanding, please
correct me if I'm wrong.

Best regards,

  ~ Antonio


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux