From owner-freebsd-isp@FreeBSD.ORG Wed Jan 11 18:05:51 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C8C16A420 for ; Wed, 11 Jan 2006 18:05:51 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: from web33304.mail.mud.yahoo.com (web33304.mail.mud.yahoo.com [68.142.206.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 29C1243D46 for ; Wed, 11 Jan 2006 18:05:51 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: (qmail 2706 invoked by uid 60001); 11 Jan 2006 18:05:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tJ9ERIxkj9qBWjO1FQoXD0z9lRpRpFnlvLnDnwODmGH/TmiJTRmku8kWWRXwaIWtkcC/Dgh6YnV2l5C7PNRujPR0znPiMkrVDM6iTLeXvFkgr968QOFJ7Elmiebjglin14Ykw+6b0ybDblEt4lNidEHHMJyNAtLgSS9/RY2/Pkc= ; Message-ID: <20060111180550.2704.qmail@web33304.mail.mud.yahoo.com> Received: from [24.46.186.215] by web33304.mail.mud.yahoo.com via HTTP; Wed, 11 Jan 2006 10:05:50 PST Date: Wed, 11 Jan 2006 10:05:50 -0800 (PST) From: Danial Thom To: "Matthew D. Fuller" In-Reply-To: <20060111153045.GJ98918@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-isp@freebsd.org, ann kok Subject: Re: freebsd router X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danial_thom@yahoo.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 18:05:52 -0000 --- "Matthew D. Fuller" 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