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&a…
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