Forked from cdgraff/etc.sysctl.d.20-streaming-tuning.conf
Created
February 1, 2024 15:32
-
-
Save ogmkp/ae18dc5a40776223b82ab3b93e5fb1e4 to your computer and use it in GitHub Desktop.
sysctl conf setting for Ubuntu 14.04.1
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
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment