Re: SCHED_ULE should not be the default

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Thu, 15 Dec 2011 19:09:23 +0100
Am 12/15/11 15:20, schrieb Steven Hartland:
> With all the discussion I thought I'd give a buildworld
> benchmark a go here on a spare 24 core machine. ULE
> tested fine but with 4BSD it wont even boot panicing
> with the following:-
> http://screensnapr.com/v/hwysGV.png
> 
> This is on a clean 8.2-RELEASE-p4
> 
> Upgrading to RELENG_9 fixed this but its a bit concerning
> that just changing the scheduler would cause the machine
> to panic on boot.
> 
> Its only a single run so varience could be high but here's
> the result of a buildworld on this machine running the
> two different schedulers:-
> 4BSD: 24m54.10s real 2h43m12.42s user 56m20.07s sys
> ULE:  23m54.68s real 2h34m59.04s user 50m59.91s sys
> 
> What really sticks out is that this is over double that
> of an 8.2 buildworld on the same machine with the same
> kernel
> ULE:  11m12.76s real 1h27m59.39s user 28m59.57s sys
> 
> This was run 9.0-PRERELEASE kernel due to 4BSD panicing
> on boot under 8.2.
> 
> So for this use ULE vs 4BSD is neither here-nor-there
> but 9.0 buildworld is very slow (x2 slower) compared
> with 8.2 so whats a bigger question in my mind.
> 
>    Regards
>    Steve
> 


All of our 8.2-STABLE with ncpu >= 4 compile the OS in half the time a
compilation of FreeBSD 9/10 is needed to. I guess this is due to the
huge LLVM contribution which is now part of the source tree. Even if you
allow building a whole LLVM suite (and not even pieces of it as in
FreeBSD standard for CLANG purposes), it takes another q0 to 20 minutes,
depending on the architecture of the underlying host.

Building kernel or worl, taking time and show then the invers of that
number isn't a good idea, in my opinion.
Therefore I like "artificial" benchmarks: have a set of programs that
can be compiled and take the time if compilation time is important.

Well, your one-shot test would show, that there is indeed a marginal
advantage of SCHED_ULE, if the number of cores is big enough (as said to
be n > 2 in this thread). But I'm a bit disappointed about the very
small advantage on that 24 core hog.

Oliver


Received on Thu Dec 15 2011 - 17:09:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC