cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jroberson at chesapeake.net
Fri Jul 4 13:03:21 PDT 2003


On Fri, 4 Jul 2003, Jeff Roberson wrote:

> jeff        2003/07/04 12:59:00 PDT
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             sched_ule.c
>   Log:
>    - Parse the cpu topology map in sched_setup().
>    - Associate logical CPUs on the same physical core with the same kseq.
>    - Adjust code that assumed there would only be one running thread in any
>      kseq.
>    - Wrap the HTT code with a ULE_HTT_EXPERIMENTAL ifdef.  This is a start
>      towards HyperThreading support but it isn't quite there yet.
>
>   Revision  Changes    Path
>   1.51      +53 -13    src/sys/kern/sched_ule.c
>

This was mostly commited to prevent bitrot.  With this enabled and logical
cores enabled ULE performs better than it does without.  It still does not
perform as well as a system with logical cores disabled.  By the time I'm
done this gap should be closed well enough to allow for HTT to be enabled
all the time.

I expect to improve this situation further in the coming weeks.

Cheers,
Jeff



More information about the cvs-src mailing list