BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

General Server Questions

If you are getting poor speeds using wget and just overall throughput on the new server and the network settings are all correct on the switch, it may be necessary to tune your sysctl tcp window scaling options. We found that the following settings work well when added to /etc/sysctl.conf file.
 

Code:

net.ipv4.tcp_window_scaling=1
net.core.rmem_max=104857600
net.core.wmem_max=104857600
net.core.rmem_default=65536
net.core.wmem_default=65536
net.ipv4.tcp_rmem=4096 524288 104857600
net.ipv4.tcp_wmem=4096 524288 104857600
net.ipv4.tcp_mem=8388608 8388608 8388608
net.core.netdev_max_backlog=30000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_sack=0
net.ipv4.route.flush=1

The above tuned various things -- the most important is enabling TCP window scaling, the next 4 values bump the TX/RX buffer sizes up, the last ones are various changes to cut down on CPU usage per-packet.

For additional explanations, please visit http://wwwx.cs.unc.edu/~sparkst/howt...ork_tuning.php.

See What Our Customers Say

Leave review
J

James Oliver Cyr, M

AZ, United States

AYK Solutions has been the server for my website for 8 or 9 years, and in all that time I have gotte...

Read full review
D

Diego

Even though I only have a shared hosting plan, their technical support team responded to my tech sup...

Read full review
K

kkodev

London, United Kingdom

After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices...

Read full review
F

Francesco

Great servers, Great Service, Awesome uptime! Our company has been working with AYKSolutions for alm...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft