Comment 26 for bug 1058864

Revision history for this message
Dave Johansen (davejohansen) wrote :

I installed the kernel with the BFS scheduler from https://launchpad.net/~chogydan/+archive/ppa and ran the test. It appears that the the two schedulers count user/system time differently, but over all it appears that BFS is slightly better than CFS in this test, but doesn't show any significant improve or resolve the underlying issue.

Here are the results:
mutex
 1 thread real 0m 0.511s user 0m 0.509s sys 0m 0.000s
 2 threads real 0m 3.005s user 0m 3.624s sys 0m 2.307s
 4 threads real 0m11.707s user 0m40.539s sys 0m 0.297s
 8 threads real 0m19.150s user 1m 9.498s sys 0m 0.331s
16 threads real 0m34.370s user 2m12.551s sys 0m 0.735s

benaphore
 1 thread real 0m 0.334s user 0m 0.331s sys 0m 0.000s
 2 threads real 0m 4.842s user 0m 9.066s sys 0m 0.162s
 4 threads real 0m17.386s user 0m59.935s sys 0m 0.404s
 8 threads real 0m39.090s user 2m 0.398s sys 0m35.538s
16 threads real 1m16.636s user 3m14.865s sys 1m50.923s

mutex2
 1 thread real 0m 0.317s user 0m 0.315s sys 0m 0.001s
 2 threads real 0m 0.843s user 0m 0.990s sys 0m 0.683s
 4 threads real 0m 2.087s user 0m 1.610s sys 0m 6.571s
 8 threads real 0m 3.648s user 0m 2.663s sys 0m11.841s
16 threads real 0m 6.681s user 0m 4.381s sys 0m22.244s