2.4.18 slow packet forwarding

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

 



Hi,

I built a PII 333Mhz with 128Mb RAM and 5 Intel EthExpressPro 10/100B 
network cards to be as a Linux router.

It is a server installation of Redhat 8.0 running kernel 2.4.18-17.8.0. 
It has one SNAT rule to provide network address translation for packets 
coming from one particular ethernet address.  There are no other 
firewall rules on the box.

Other than zebra (ospf) there are no other processes consuming CPU time 
on the box.

All network connections to the router are 100Mbit/sec full duplex.

My problem is that I'm struggling to get data transfer rates across the 
network cards in excess of 200 Kbytes/sec where we pass through the NAT 
rule.

If I push packets across network cards where the NAT rule doesn't apply, 
then this increases to 900Kbytes/sec.

If I copy from a local LAN directly onto the router, I can increase the 
speed to 3000KBytes/sec.

This same hardware was originally configured as a FreeBSD 4.6 router and 
could quite easily transfer 6000-7000Kbytes/sec across the network 
cards, whether the connection was NAT'ed or not.

Does anybody have any suggestions as to what I might need to do to get 
this router forwarding packets faster ?


Regards,


Nick.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux