Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2000 15:26:31 -0600 (CST)
From:      Mohit Aron <aron@cs.rice.edu>
To:        wes@softweyr.com (Wes Peters)
Cc:        freebsd-net@freebsd.org
Subject:   Re: performance of FreeBSD-current as SMP
Message-ID:  <200001082126.PAA17320@cs.rice.edu>
In-Reply-To: <3877AB9F.E132C12C@softweyr.com> from "Wes Peters" at Jan 8, 2000 02:26:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> Not if defining SMP support causes the kernel to compile in all of the lock
> acquisition and release code.  Even if it simply does "if (ncpus < 2) return"
> it would still impact performance somewhat.
> 


Right, but the fall shouldn't be as much as 22%. According to Garret's earlier
posting, there seem to be some very expensive Intel instructions being used for
locking. Or possibly, the lock acquisition is done at too many places.



- Mohit


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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