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
A

AnyMood.co

TX, United States

I've been a client of AYK Solutions for about six months now. They have provided the best overall ex...

Read full review
R

RatePoint R

Ayksolutions Customer Reviews Prompt, professional, efficient. I am currently using a shared accoun...

Read full review
P

Pierre

QC, Canada

My first experience with VPS and I din't really know what to do or what to expect. AykSolutions.com...

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