[PATCH] MAXCPU alterable in kernel config - needs testers

Kip Macy kmacy at fsmware.com
Sun Oct 8 18:29:48 PDT 2006


>
> AFAIK, the linux kernel has generally favored the per-cpu approach.  In
> that respect, relative underperformance of FreeBSD vs. Linux is an indicator
> that per-cpu approaches deserve more weight in the FreeBSD world.


As early as 2002 Linux scaled cleanly to 32-way on a powerpc machine.
This is, as far as I can tell, a testament to IBM's investment in Linux.
FreeBSD is just now moving past subsystem locking. A per-cpu approach
will only make sense when finer grained locking is more consistently
used throughout the kernel. Ideally in so doing we'll be more consistent
about the granularity of locking across subsystems than we have been in
the past.

				-Kip


More information about the freebsd-current mailing list