SMPng question

John Baldwin jhb at
Wed Nov 5 14:44:42 PST 2003

On 05-Nov-2003 Jesse Guardiani wrote:
> Howdy list,
> I have a few questions about FreeBSD's in-progress
> SMPng project. I've read much of the literature on
> the FreeBSD site about SMPng, and I've taken the time
> to go through the project status pages and look at the
> work that has already been done and the work yet to be
> done here:
> But I'm still unclear about a few things:
> 1.) What, exactly, are SMPng's advantages over the current
>     SMP implementation as related to userland apps?
>     In other words, I know that the network stack and devices
>     and such will benefit by being able to make use of
>     multiple CPUs, but will normal non-multi-threaded apps
>     be able to use multiple CPUs? Or will an app still have
>     to be multi-threaded in order to take full advantage
>     of an SMP box?

This is more the realm of the KSE project than SMPng.  KSE aims
to allow multiple threads from the same process to run concurrently
on separate CPUs.  You can get more details about KSE on the threads@
list, but AFAIK it is basically done in current.

> 2.) And, perhaps as an extension to question #1: Will I
>     be able to make use of multiple CPUs to compile programs?
>     Could I buy one of those cheap $300 quad Xeon 500mhz
>     compaq boxes on ebay and use it as a 2 Ghz compiler box?

It won't quite be a 2ghz box, maybe more like a 1.2 or 1.5 ghz box or
so, but for compiles it is faster than a UP box.


John Baldwin <jhb at>  <><
"Power Users Use the Power to Serve!"  -

More information about the freebsd-smp mailing list