From owner-freebsd-net@FreeBSD.ORG Sun Mar 2 15:49:35 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 205931065673 for ; Sun, 2 Mar 2008 15:49:35 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by mx1.freebsd.org (Postfix) with ESMTP id C1CA08FC28 for ; Sun, 2 Mar 2008 15:49:34 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so1250552ele.12 for ; Sun, 02 Mar 2008 07:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ZJ6MzL366Id/j0bbbY3BbhjB6yeTrDt1r2SDLJ8k2WY=; b=OaWDK7y+PHf+PjiJTQPGDlh4E3rU5qdU+cFtwlnftZuXym1iITkBrUmuIUdvMwCqH6pe0zUBYJZgaXq9zNSlBVkCsL6MEOT13VeZHCKRda5b06JQ4o6GnPvIGqEIYQMH30ChKzvnzvRYQMZzJLluIsw4iHYcdWtOjO97ddX94Ts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ajaowJKjFz19BLRXEjZC1X+Qu2i2l8QmR2o0ooeHWf7bUNmD+icyUu/kwH8VYUIRYYgG9S7zfqssIYJ0pPMSEOpPghEXB8t3fsg1uhEtqyZ5mzOzBqvOu9OWnRjVn5IT/EjiR83ONHQRSxWb82nGlIYwJLdd4X8XtdZ8RDMluiA= Received: by 10.141.115.6 with SMTP id s6mr7455649rvm.47.1204471507168; Sun, 02 Mar 2008 07:25:07 -0800 (PST) Received: by 10.140.207.1 with HTTP; Sun, 2 Mar 2008 07:25:07 -0800 (PST) Message-ID: <2e77fc10803020725p35bec6f6w9316bb38930c2a4f@mail.gmail.com> Date: Sun, 2 Mar 2008 17:25:07 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: "Ingo Flaschberger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <497111.42659.qm@web63905.mail.re1.yahoo.com> X-Google-Sender-Auth: bd9265a3ad6a9e59 Cc: Barney Cordoba , net@freebsd.org Subject: Re: FBSD 1GBit router? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 15:49:35 -0000 On Sun, Mar 2, 2008 at 5:11 PM, Ingo Flaschberger wrote: > Dear Bareney, > > >> And back to 1x is not fast enough: > >> There are no 1gbit single port network cards that > >> support more than 1 > >> lane, even if you plug it into a 16 lane slot. > >> (and I'm not talking about 10gbit cards; if you have > >> 10gbit upstream you > >> have enough $$ to buy good gear) > > > > Ok, well I've never seen a router with 1 port. I > > thought we were talking about building a router? > > Have you ever read the link? > Have you noticed that the axiomtek appliance has 7 gigabit ports? > Each one connected with 1 lane pci-e? > > > The lack of PCIe cards is a good reason to consider a > > PCIX machine. On the systems that we have, the 1x PCIe > > ports are a lot slower than a PCI-X card in the slot. > > Perhaps, but: pci-x: 4gbit for the whole bus system. > pci-e: 2gbit/lane > > > You need 4Gb/s of throughput to handle a gigablt > > router. (1 GB/s full duplex times 2). 1x is 4Gb/s > > maximum. In my view, you always need twice the > > bandwidth on the bus to avoid contention issues. > > sample1: > 3 pci-cards: > card 1: 1x =3D 2gbit (dedicated) > card 2: 1x =3D 2gbit (dedicated) > card 3: 1x =3D 2gbit (dedicated) > -------------------- > sum: 6gbit > (but the use only 3) > > sample2: > 2 pci-x cards > card 1: 4gbit (shared) > card 2: 4gbit (shared) > card 3: 4gbit (shared) > --------------------- > sum: 4gbit > > homework: > calculate with 7 ports. > > Kind regards, > Ingo Flaschberger > > Andr=E9 Oppermann's excellent paper has even more info to why PCIe is better than PCI-X for networking : http://people.freebsd.org/~andre/Optimizing%20the%20FreeBSD%20IP%20and%20TC= P%20Stack.pdf --Niki