cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jroberson at chesapeake.net
Mon Mar 3 12:16:04 UTC 2008


On Sun, 2 Mar 2008, Julian Elischer wrote:

> Peter Jeremy wrote:
>
>> 
>>> Kris has done some excellent benchmarking as usual.  Here you can see the 
>>> improvement in postgres depending on various scheduler debug settings:
>>> 
>>> http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png
>> 
>> The improvement is quite substantial.  Congratulations Jeff.
>
> the drop off after 14 is intersting..

It's contention on various kernel locks, most likely the proc lock. 
Scheduling algorithms which limit concurrency at contention can improve 
throughput in these cases but it is to the detriment of workloads which do 
not suffer the same contention.  The ultimate solution will be to improve 
proc/sleepq/signal locking for 8.0.

>
>> 
>


More information about the cvs-src mailing list