Benchmarks on schedlock patch


Diego Sardina did some benchmarks with my schedlock decomposition patch. I just was courious to see what impact this patch has on UP machine and results are not encouraging:

These tests have been executed on a Celeron 2.4 GHz with libthr and SCHED_ULE (and so PREEMPTION).

The first culprit for that should be the approach followed for locking getrusage which doesn’t take full advantage by the current kernel CVS code (while should perform a little bit better with SMP systems), that I hope should work better when merged with Jeff’s patch. However, an alternative approach for locking rusage is quite ready and will be benchmarked soon (I’m just waiting for current approach SMP benchmarks to be ready before to try the next).

That’s all for tonight.

Leave a Reply