Re: Linux router performance

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Samad wrote:
> On Thu, Jun 01, 2006 at 02:44:57AM +0200, Carl-Daniel Hailfinger wrote:
>> Damjan wrote:
>>>>> 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) shows
>>>>> in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps
>>>>> can be achieved.
>>>> On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express
>>>> gigabit cards (but that was with 1500 byte packets). Never tried more
>>>> although the box has 6 interfaces capable of gigabit, 4 of them attached
>>>> via PCI-Express.
>>> But that's _only_ 83333 packets/s isn't it.
>> Hm. How do you arrive at that result? I get twice the numbers.
>> nic a: 1 gbit in -> nic b: 1 gbit out
>> nic b: 1 gbit in -> nic a: 1 gbit out
>> total 2 gbit
>> 2 gbit /(1500*8 bit/frame) ~ 160k packets/s
>>
>> Please note that I did not test with smaller frame sizes, so 1Mp/s
>> may be possible (I'll test that if I have some spare time).
> 
> what if you test inbound and outbound at the same time - the cards
> should be capable of full duplex ?

I tested 1 gbit in and 1 gbit out per nic at the same time. That's
how I arrived at my results.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux