Created
October 23, 2017 17:19
-
-
Save robinvanemden/40d4ecbd3dadec574fbc2991c4013593 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wrk2 client | |
Provider: Hetzner | |
Type server: Virtual server single core | |
OS: Clean Ubuntu-1604-xenial-64-minimal with custom /etc/sysctl.conf * | |
Wrk2: wrk 4.0.0 [epoll] https://github.com/giltene/wrk2 | |
RAM: 1 GB | |
Hard Drive: SSD | |
Connection: 1 Gbit/s NIC | |
___________________________________ | |
StreamingBandit server | |
Provider: Hetzner | |
Type server: Virtual server quad core | |
OS: Ubuntu-1604-xenial-64-minimal with custom /etc/sysctl.conf * | |
Python Python 3.5.2, Tornado 4.5.2 | |
RAM: 16 GB | |
Hard Drive: SSD | |
Connection: 1 Gbit/s NIC | |
___________________________________ | |
Tested client-server throughput with iperf3 https://github.com/esnet/iperf | |
[ 5] 0.00-10.00 sec 878 MBytes 736 Mbits/sec 104 sender | |
[ 5] 0.00-10.03 sec 874 MBytes 731 Mbits/sec receiver | |
___________________________________ | |
* /etc/sysctl.conf | |
vm.swappiness=1 # turn off swapping | |
net.core.somaxconn=65535 # up the number of connections per port | |
vm.max_map_count=262144 #(default) http://www.redhat.com/magazine/001nov04/features/v | |
fs.file-max=518144 # http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH | |
net.ipv4.ip_local_port_range = 15000 65000 # optimize port range | |
net.ipv4.tcp_tw_recycle = 1 # optimize port recycle | |
net.ipv4.tcp_tw_reuse = 1 # optimize port reuse | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment