Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Ubuntu 9.04 and the kernel 2.6 build-in NETEM tool to delay traffic.

After I apply:

tc qdisc add dev eth0 root netem delay 100ms

The upload bandwidth can't go further than 330KB/s and I have a 100Mbit connection.

How can I fix this so that my upload bandwidth is still full. Thanks!

share|improve this question

migrated from stackoverflow.com Jan 30 '10 at 3:06

This question came from our site for professional and enthusiast programmers.

1 Answer 1

This is probably because the OS must be able to queue the packets for 0.1 seconds - it sounds like there is a buffer that fits 33kB.

Try tweaking the TCP stack memory usage settings, see this article on what to change - Table 1. Kernel tunable parameters for TCP/IP stack performance is probably the one you need to be looking at.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.