Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 01:11:23 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jlemon@flugsvamp.com (Jonathan Lemon)
Cc:        jhb@FreeBSD.ORG, smp@FreeBSD.ORG
Subject:   Re: Netgraph and SMP
Message-ID:  <200012050111.SAA16418@usr02.primenet.com>
In-Reply-To: <200012042348.eB4NmeA73673@prism.flugsvamp.com> from "Jonathan Lemon" at Dec 04, 2000 05:48:40 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> >> As for the actual availibility of SIX-style locks; I'm fairly sure you 
> >> can do this with the lockmgr.
> >
> >Yes.  See the allproc_lock as an example.
> 
> Let's get realistic here.  We're not going to get a shared lockmgr
> lock for every stinking packet that comes into the network.  While
> SIX locks (or semaphore, or shared reader/writer) is nice in theory,
> I think the performance impact is too much for this particular case.

We did 20,000 transactions a second on a P60 with a SIX mode
lock manager, back in 1994.  Performance is not that big a
problem.

On the other hand, grabbing it for every packet is not really
a great idea.  8-/.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


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




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