Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 10:05:50 -0800 (PST)
From:      Danial Thom <danial_thom@yahoo.com>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        freebsd-isp@freebsd.org, ann kok <annkok2001@yahoo.com>
Subject:   Re: freebsd router
Message-ID:  <20060111180550.2704.qmail@web33304.mail.mud.yahoo.com>
In-Reply-To: <20060111153045.GJ98918@over-yonder.net>

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


--- "Matthew D. Fuller"
<fullermd@over-yonder.net> wrote:

> On Wed, Jan 11, 2006 at 07:22:15AM -0800 I
> heard the voice of
> Danial Thom, and lo! it spake thus:
> >
> > You're basically limited in an MP environment
> to sucking the packet
> > out of the ring and throwing it into a queue.
> 
> I can only presume you're being willfully
> silly.  An MP environment is
> quite capable of grabbing the packet from an
> interface, and then
> CONTINUING TO PROCESS IT while the other CPU
> grabs the next packet and
> starts processing it.  You can process through
> to completion JUST as
> easily on a MP system as you can on a UP
> system, except that you're
> not blocking the next packet while you do it. 
> Furthermore, you've got
> another CPU to do things like update the
> routing table and deal with
> OTHER interrupts and kernel tasks at the same
> time.

and another concept you fail to grasp is that
with 1 processor the data for the entire
transaction sits in the cpu cache, whereas with 2
it has to be read again. Its not necessarily
desireable to have 2 processors working on the
same data. There are a lot of issues that aren't
as black and white as "2 processors must be
faster than 1". 

DT

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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