From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas John Date: Wed, 31 May 2006 20:27:10 +0000 Subject: Re: [LARTC] Linux router performance Message-Id: <447DFC1E.60007@aj.net-lab.net> List-Id: References: <004e01c684dc$3dfc3c10$303d5854@cttc.es> In-Reply-To: <004e01c684dc$3dfc3c10$303d5854@cttc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi, Maybe: Khan, Sohel; Waheed, Abdul (2003): High Performance Routing on PCshttp://www.ccse.kfupm.edu.sa/~sohel/networking/references/Routing.pdf A rule of thumb: - with current COTS hardware and (standard) PCI Bus, you can reach the maximum of the PCI bus bandwidth. That's 1 GB/s, e.h. two NICs with 500 Meg/s each ( one in and one out ) - with PCI-X and in the future PCI-express you'll for sure be able to reach more performance. I didnt find a sponsor for a test-lab yet :) - in DoS secnarios it may get worse :/ I heavily depends on driver type (polling and NAPI preferred). The problem with the performace is _always_ the number of interrupts, nothing else is a bottleneck (well, we didn't talk about thousands of iptables rules yet, but you ask for a 'maximum'). - The question you have to ask in high-performance scenarios is not "MBit/s" but MPPS (megapackets per seconds). FreeBSD and Linux broke the 1 MPPS barrier some time ago (on dual xeons). rgds, Andreas Ferm=EDn Gal=E1n M=E1rquez wrote: > Hi, >=20 > I wonder about the performance of a Linux box used as router (I guest I'm > not the first :). Althought I know it mainly depends on the hardware, I'm > trying to find some references on the topic or comparations with other > routing solutions (FreeBSD box used as router, Cisco, etc). For example, > http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf > (althought is related with Linux-briding more than with Linux-routing) sh= ows > in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mb= ps > can be achieved. >=20 > Anybody knows any other similar analysis, please? >=20 > Best regards, >=20 > -------------------- > Ferm=EDn Gal=E1n M=E1rquez > CTTC - Centre Tecnol=F2gic de Telecomunicacions de Catalunya > Parc Mediterrani de la Tecnologia, Av. del Canal Ol=EDmpic s/n, 08860 > Castelldefels, Spain > Room 1.02 > Tel : +34 93 645 29 12=20 > Fax : +34 93 645 29 01 > Email address: fermin.galan@cttc.es=20 >=20 > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >=20 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc