Re: [PATCH v4 0/6] sched: use runnable load based balance

Alex Shi
2013-05-03T08:55:26Z

On 05/03/2013 03:55 PM, Alex Shi wrote:
> Just find a benchmark named as pthread_cond_broadcast.
> http://kristiannielsen.livejournal.com/13577.html. will play with it. :)
>> >

I tried the pthread_cond_broadcast with/without my latest patchset,
seems no clear performance change.
without the patch, finished 30000 threads need 0.39 ~ 0.49 seconds in
ten times testing,
with the patch, finished 30000 thread need 0.38 ~ 0.47 seconds in ten
times testing.

I try to give more threads in testing, but when thread number increased
to 40000, the testing become extremely slow and gdb find it busy on
thread creating.

[New Thread 0x7fe470411700 (LWP 24629)]
[New Thread 0x7fe470512700 (LWP 24628)]
[New Thread 0x7fe470613700 (LWP 24627)]
[New Thread 0x7fe470714700 (LWP 24626)]

--
Thanks
Alex