Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 03:58:16 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sched_ule.c
Message-ID:  <20040812035656.S7322@mail.chesapeake.net>
In-Reply-To: <200408120756.i7C7uXOQ011743@repoman.freebsd.org>
References:  <200408120756.i7C7uXOQ011743@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Aug 2004, Jeff Roberson wrote:

> jeff        2004-08-12 07:56:33 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             sched_ule.c
>   Log:
>    - Introduce a new flag KEF_HOLD that prevents sched_add() from doing a
>      migration.  Use this in sched_prio() and sched_switch() to stop us from
>      migrating threads that are in short term sleeps or are runnable.  These
>      extra migrations were added in the patches to support KSE.

This patch brings my 'super-smack' performance in ULE above that of 4BSD.
worldstone seems unaffected.  I would be interested in hearing about what
other performance changes there are as a result of this patch.  I would
also be interested in hearing about cases where ULE is slower than 4BSD.


>    - Only set NEEDRESCHED if the thread we're adding in sched_add() is a
>      lower priority and is being placed on the current queue.
>    - Fix some minor whitespace problems.
>
>   Revision  Changes    Path
>   1.121     +19 -7     src/sys/kern/sched_ule.c
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040812035656.S7322>