On 06-Jun-2002 j mckitrick wrote:
> 
> Hi all,
> 
> I'm sure the SMP features along with removal of the Big Giant Lock (TM)
> are designed to sacrifice as little performance as possible across the
> board.  In practical terms, will a 5.0 kernel without SMP have any
> performance loss at all on a single CPU machine compared with the 4.x
> kernel we use now?  I once read here on one of these lists that the
> Solaris fine-grained locking was great for SMP, but was a lot of
> overhead for single CPU machines (correct me if I misunderstood).

At the moment it is slower because interrupts are effectively blocked in
almost all of the kernel.  However, the SMP work is still in progress and
it will get better as time goes on.  One thing to note is that in 4.x,
if we are in the networking code, for example, we block all network
interrupts.  When the more-finely grained locking is implemented in 5.x,
if we are working on network card A, we won't be effectively blocking
network interrupts on card B, while in 4.x we would be blocking interrupts
on card B.  However, most of the kernel is still under Giant and so this
does not apply to 5.0 yet.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to