Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://forums.whirlpool.net.au/archive/116165
- https://fasterdata.es.net/host-tuning/linux/expert/
- https://github.com/esnet/iperf/issues/356
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Adjusting_Network_Settings-Changing_Network_Kernel_Settings.html
- http://linuxgazette.net/135/pfeiffer.html
- https://www.nas.nasa.gov/hecc/support/kb/optional-advanced-tuning-for-linux_138.html
- TEST CMDS
- #reciver
- nc -v -l 2222 > /dev/null
- iperf -s
- #sender
- dd if=/dev/zero bs=1024K count=819 | nc -v 119.9.22.14 2222
- #########
- #DEFAULTS on 80 MBit-
- net.core.wmem_default = 212992 [0.212992 MByte]
- net.core.wmem_max = 33554432 [33.554432 MByte]
- net.ipv4.tcp_wmem = 4096 65536 33554432
- net.ipv4.udp_wmem_min = 4096
- sysctl: reading key "net.ipv6.conf.all.stable_secret"
- sysctl: reading key "net.ipv6.conf.default.stable_secret"
- sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
- sysctl: reading key "net.ipv6.conf.eth1.stable_secret"
- sysctl: reading key "net.ipv6.conf.lo.stable_secret"
- vm.lowmem_reserve_ratio = 256 256 32 1
- 858783744 bytes (859 MB, 819 MiB) copied, 172.288 s, 5.0 MB/s
- DEFAULT on 5GBit [2.5 OutBound]
- net.core.optmem_max = 20480
- net.core.rmem_default = 212992
- net.core.rmem_max = 33554432
- net.core.wmem_default = 212992
- net.core.wmem_max = 33554432
- net.ipv4.igmp_max_memberships = 20
- net.ipv4.tcp_mem = 723129 964173 1446258
- sysctl: reading key "net.ipv6.conf.all.stable_secret"
- net.ipv4.tcp_rmem = 4096 87380 33554432
- net.ipv4.tcp_wmem = 4096 65536 33554432
- net.ipv4.udp_mem = 1446258 1928347 2892516
- sysctl: reading key "net.ipv6.conf.default.stable_secret"
- net.ipv4.udp_rmem_min = 4096
- net.ipv4.udp_wmem_min = 4096
- net.core.netdev_max_backlog = 1000
- net.ipv4.tcp_congestion_control = cubic
- -PreTune
- 858783744 bytes (859 MB, 819 MiB) copied, 40.9906 s, 21.0 MB/s
- -Tune (Sender Only)
- 858783744 bytes (859 MB, 819 MiB) copied, 43.407 s, 19.8 MB/s
- -Tune again, Sender, Reciver, and Backlog, Congestion
- 858783744 bytes (859 MB, 819 MiB) copied, 13.4377 s, 63.9 MB/s
- // reciver as cubix - 858783744 bytes (859 MB, 819 MiB) copied, 22.7711 s, 37.7 MB/s
- TUNED OUT
- echo 'net.core.wmem_default = 67187500' >> /etc/sysctl.conf
- echo 'net.core.wmem_max = 140625000 ' >> /etc/sysctl.conf
- echo 'net.ipv4.tcp_wmem = 4096 67187500 140625000' >> /etc/sysctl.conf
- echo 'net.core.rmem_default = 67187500' >> /etc/sysctl.conf
- echo 'net.core.rmem_max = 140625000 ' >> /etc/sysctl.conf
- echo 'net.ipv4.tcp_rmem = 4096 67187500 140625000' >> /etc/sysctl.conf
- echo 'net.core.netdev_max_backlog = 10000' >> /etc/sysctl.conf
- echo 'net.ipv4.tcp_congestion_control = scalable' >> /etc/sysctl.conf
- sysctl -p
- ##CALCs
- 64 bytes from 119.9.54.84: icmp_seq=1 ttl=50 time=216 ms
- !! - Estimated Default (Rackspace 80 Mb / s Server)
- 80000000 * 0.216 = 17280000 / 8 = 2160000 Bytes = 2.16MByte
- ! - Defaults should run at wire speeds. [did not]
- ##CALCS2
- 5,000,000,000 * 0.225 = / 8 = 140625000 = ~140MByte
- (2,500,000,000 * 0.215) / 8 = 67187500 = ~68MByte
Advertisement
Add Comment
Please, Sign In to add comment