Skip to contentSkip to conversation

Linux 2.4.17 vs 2.2.19 vs rml new VM

DISCUSSION Dieter Nützel 2 participants 2 messages Jan 2, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Alan cox
Quoted 4 lines

I find the low latency patch makes a noticeable difference in e.g. q3a and rtcw - OTOH I have not been able to discern any tangible difference from the stock kernel when using -preempt.

Quoted 8 lines

The measurements I've seen put lowlatency ahead of pre-empt in quality of results. Since low latency fixes some of the locked latencies it might be interesting for someone with time to benchmark

vanilla
low latency
pre-empt
both together

Don't forget that you have to use preempt-kernel-rml + lock-break-rml to achieve the same (more) than the latency patch.

Taken from Robert's page and running it for some weeks, now.

[-]
Lock breaking for the Preemptible Kernel
lock-break-rml-2.4.15-1
lock-break-rml-2.4.16-3
lock-break-rml-2.4.17-2
lock-break-rml-2.4.18-pre1-1
README
ChangeLog
With the preemptible kernel, the need for explicit scheduling points, like in the low-latency patches, are no more. However, since we can not preempt while locks are held, we can take a similar model as low-latency and "break" (drop and immediately reacquire) locks to improve system response. The trick is finding when and where we can safely break the locks (periods of quiescence) and how to safely recover. The majority of the lock breaking is in the VM and VFS code. This patch is for users with strong system response requirements affected by the worst-case latencies caused by long-held locks. [-]

Regards,
Dieter

Signature · 5 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
@home: [email protected]
#1 lore raw

Well it is possible that with the several patches you mention that I might see results similar to what I now see with the low-latency patch.

However -

The preempt patch does NOT play well with the tux webserver, which I am using. So, preempt is not an option for me until and unless it is cleaned up to allow cooperation with tux.

tux and low-latency get along just fine.

cu

jjs

Quoted 35 lines · Dieter Nützel
Quoted 5 lines · Alan cox
Quoted 5 lines

I find the low latency patch makes a noticeable difference in e.g. q3a and rtcw - OTOH I have not been able to discern any tangible difference from the stock kernel when using -preempt.

Quoted 9 lines

The measurements I've seen put lowlatency ahead of pre-empt in quality of results. Since low latency fixes some of the locked latencies it might be interesting for someone with time to benchmark

vanilla
low latency
pre-empt
both together

Don't forget that you have to use preempt-kernel-rml + lock-break-rml to achieve the same (more) than the latency patch.

Taken from Robert's page and running it for some weeks, now.

[-]
Lock breaking for the Preemptible Kernel
lock-break-rml-2.4.15-1
lock-break-rml-2.4.16-3
lock-break-rml-2.4.17-2
lock-break-rml-2.4.18-pre1-1
README
ChangeLog
With the preemptible kernel, the need for explicit scheduling points, like in the low-latency patches, are no more. However, since we can not preempt while locks are held, we can take a similar model as low-latency and "break" (drop and immediately reacquire) locks to improve system response. The trick is finding when and where we can safely break the locks (periods of quiescence) and how to safely recover. The majority of the lock breaking is in the VM and VFS code. This patch is for users with strong system response requirements affected by the worst-case latencies caused by long-held locks. [-]

Regards,
Dieter