-
-
Save cdgraff/987313569f7971705ffdd183b4b77389 to your computer and use it in GitHub Desktop.
Linux Os Tunning for HLS - Flussonic + Peer5
This file contains 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
fs.file-max=1048576 | |
fs.inotify.max_user_instances=1048576 | |
fs.inotify.max_user_watches=1048576 | |
fs.nr_open=1048576 | |
net.core.netdev_max_backlog=1048576 | |
net.core.rmem_max=16777216 | |
net.core.somaxconn=65535 | |
net.core.wmem_max=16777216 | |
net.ipv4.tcp_congestion_control=htcp | |
net.ipv4.ip_local_port_range=1024 65535 | |
net.ipv4.tcp_fin_timeout=5 | |
net.ipv4.tcp_max_orphans=1048576 | |
net.ipv4.tcp_max_syn_backlog=20480 | |
net.ipv4.tcp_max_tw_buckets=400000 | |
net.ipv4.tcp_no_metrics_save=1 | |
net.ipv4.tcp_rmem=4096 87380 16777216 | |
net.ipv4.tcp_synack_retries=2 | |
net.ipv4.tcp_syn_retries=2 | |
net.ipv4.tcp_tw_recycle=1 | |
net.ipv4.tcp_tw_reuse=1 | |
net.ipv4.tcp_wmem=4096 65535 16777216 | |
vm.max_map_count=1048576 | |
vm.min_free_kbytes=65535 | |
vm.overcommit_memory=1 | |
vm.swappiness=0 | |
vm.vfs_cache_pressure=50 |
This file contains 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
* soft nproc 1048576 | |
* hard nproc 1048576 | |
* soft nofile 1048576 | |
* hard nofile 1048576 | |
* soft stack 1048576 | |
* hard stack 1048576 | |
* soft memlock unlimited | |
* hard memlock unlimited |
This file contains 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
# increase txqueuelen for 10G NICS | |
/sbin/ifconfig p5p1 txqueuelen 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before you moved this to peer 5, how did you load balance the HLS chunks so each segment always came from the same server. I tried to do a round robin and that failed miserably