(unknown charset) Re: buildworld times

From: (unknown charset) Scott Long <scottl_at_freebsd.org>
Date: Wed, 3 Mar 2004 15:35:12 -0700 (MST)
On Wed, 3 Mar 2004, Stefan [iso-8859-1] Eßer wrote:
>
> I do not understand, why 'ratio' comes out that different (92-103% vs. 137-148%)
> for 5.2.1 vs. -CURRENT (for -j4 and up, where HT plays a role).
>
> Is the process accounting different, or has the scheduler been changed to make
> better use of logical processors ???

ULE is better in 5.2-CURRENT than in RELENG_5_2.  However, the significant
change that is contributing to this is the improvements to make(1).  Prior
to 5.2-CURRENT, 'make -jX' would poll every 20ms for completed children,
and then schedule new children.  Now there is a simplistic SIGCHILD handler
that allows new children to be scheduled immediately, and of course
eliminates the overhead of the polling.  Since buildworld is such a large
consumer of fork/exec, it's not surprising that this change helps a lot.

Scott
Received on Wed Mar 03 2004 - 13:32:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC