Does Linux distribution influence network speed?

Hi guys,

Just find something interesting. Today, when I use Centos5 x86, I did a network speed test by : wget --no-check-certificate -O - -o /dev/null | bash then get result for 4.5 mb/s from cachefly and other locations around 2-3 mb/s.

When I change to Centos6 x86 and Detian8 X86, doing the same thing , then result become 22 mb/s from cachefly and other locations around 5-8 mb/s. Just 5 times more.

Centos5 picture Centos6 picutre Debian8 picture

i didn’t test on Ubuntu.

What’s wrong here? Just curious… Is this a issue related to OS or just DO template problem or anything else?

My vps current in Singapore, all systems are tested serval times with clean install.

Any ideas?


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I have solved this by edit /etc/sysctl.conf, with:

[root@centos5 ~]# sysctl -a  | grep mem
net.ipv4.udp_wmem_min = 4096
net.ipv4.udp_rmem_min = 4096
net.ipv4.udp_mem = 49056    65408   98112
net.ipv4.tcp_rmem = 10240   87380   12582912
net.ipv4.tcp_wmem = 10240   87380   12582912
net.ipv4.tcp_mem = 12288    16384   24576
net.ipv4.igmp_max_memberships = 20
net.core.optmem_max = 10240
net.core.rmem_default = 110592
net.core.wmem_default = 110592
net.core.rmem_max = 12582912
net.core.wmem_max = 12582912
vm.lowmem_reserve_ratio = 256   256 32
vm.overcommit_memory = 0

more information can be found here and here