kernel.shmmax = 18446744073709551615 kernel.shmall = 1152921504606846720 vm.dirty_ratio = 80 vm.dirty_background_ratio = 50 vm.overcommit_memory = 2 vm.overcommit_ratio = 100 vm.zone_reclaim_mode = 3 kernel.numa_balancing = 0 #let users use 'perf' kernel.perf_event_paranoid = -1 kernel.kptr_restrict = 0 #MELLANOX recommended settings # Disable the TCP timestamps option for better CPU utilization: net.ipv4.tcp_timestamps = 0 # Disable the TCP selective acks option for better CPU utilization: net.ipv4.tcp_sack = 0 # Increase the maximum length of processor input queues: net.core.netdev_max_backlog = 250000 # Increase the TCP maximum and default buffer sizes using setsockopt(): net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.core.rmem_default = 16777216 net.core.wmem_default = 16777216 net.core.optmem_max = 16777216 # Increase memory thresholds to prevent packet dropping: net.ipv4.tcp_mem = 16777216 16777216 16777216 # Increase Linux.s auto-tuning of TCP buffer limits. The minimum, default, and maximum number of bytes to use are: net.ipv4.tcp_rmem = 4096 262144 16777216 net.ipv4.tcp_wmem = 4096 262144 16777216 # Enable low latency mode for TCP: net.ipv4.tcp_low_latency = 1 # Add settings for Linpack kernel.sched_cfs_bandwidth_slice_us = 50000 kernel.sched_latency_ns = 240000000 kernel.sched_migration_cost_ns = 5000000 kernel.sched_min_granularity_ns = 10000000 kernel.sched_wakeup_granularity_ns = 150000000 fs.aio-max-nr = 1048576