Skip to contentSkip to conversation

The network performance of linux

DISCUSSION Bergs 4 participants 4 messages Mar 21, 2002

lore
Share & tools
lore

Bergs

author
#0 lore raw

I work on a linux 2.2.14 kernel to test the network
throughput of a linux box used as a firewall.

I find that when the IP packet length is 512B,the
throughput is the highest 71%. IP packet length is smaller than 512B or bigger than 512B,the throughput is the lower.

I don't know why this ? Can I have some solutions
to improve the throughput of linux box ?

Bergs

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

#1 lore raw
Quoted 4 lines · Bergs

I work on a linux 2.2.14 kernel to test the network
throughput of a linux box used as a firewall.

Quoted 9 lines

I find that when the IP packet length is 512B,the
throughput is the highest 71%. IP packet length is smaller than 512B or bigger than 512B,the throughput is the lower.

I don't know why this ? Can I have some solutions
to improve the throughput of linux box ?

You'll need to post much more info about your hardware.

start with lspci and /proc/cpuinfo...

Also you didn't say how fast each packet size actually was, and did you use a switch or what other type of network hardware.

Mike

#2 lore raw
In reply to Bergs
Quoted 10 lines · Bergs

I work on a linux 2.2.14 kernel to test the network throughput of a linux box used as a firewall.

I find that when the IP packet length is 512B,the throughput is the highest 71%. IP packet length is smaller than 512B or bigger than 512B,the throughput is the lower.

I don't know why this ? Can I have some solutions to improve the throughput of linux box ?

I don't understand what you're measuring. Are you using TCP or UDP? If UDP,
what exactly are you measuring? If TCP, how are you changing the packet size?

#3 lore raw
In reply to Bergs
Quoted 3 lines · Bergs

I work on a linux 2.2.14 kernel to test the network throughput of a linux box used as a firewall.

you need to provide more details:-

where are you measuring your poor performance? from a machine behind your firewall - or from the linux firewall itself?

how do you know the throughput is not being limited by the network?

mark