Файловый менеджер - Редактировать - /lib/tuned/o2switch/tuned.conf
Назад
# # tuned configuration # [main] summary=o2switch hosting Servers [variables] thunderx_cpuinfo_regex=CPU part\s+:\s+(0x0?516)|(0x0?af)|(0x0?a[0-3])|(0x0?b8)\b amd_cpuinfo_regex=model name\s+:.*\bAMD\b [cpu] governor=performance energy_perf_bias=performance max_perf_pct=100 no_turbo=0 # Marvell ThunderX [vm.thunderx] type=vm uname_regex=aarch64 cpuinfo_regex=${thunderx_cpuinfo_regex} transparent_hugepages=never # The alternation of CPU bound load and disk IO operations of postgresql # db server suggest CPU to go into powersave mode. # # Explicitly disable deep c-states to reduce latency on OLTP workloads. #force_latency=1 [vm] transparent_hugepages=never [sysctl] kernel.sched_min_granularity_ns = 10000000 kernel.sched_wakeup_granularity_ns = 15000000 vm.dirty_ratio = 6 vm.dirty_background_ratio = 3 vm.vfs_cache_pressure = 200 vm.swappiness = 5 net.nf_conntrack_max=524288 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_synack_retries = 2 net.ipv4.tcp_slow_start_after_idle = 0 net.ipv4.tcp_rfc1337 = 1 net.ipv4.tcp_base_mss = 1024 net.ipv4.tcp_max_tw_buckets = 1048576 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_timestamps = 1 net.core.somaxconn = 65530 net.core.optmem_max = 81920 # Increase kernel buffer size maximums. Currently this seems only necessary at 40Gb speeds. # # The buffer tuning values below do not account for any potential hugepage allocation. # Ensure that you do not oversubscribe system memory. #net.ipv4.tcp_rmem="4096 87380 16777216" #net.ipv4.tcp_wmem="4096 16384 16777216" ## # Busy polling helps reduce latency in the network receive path # by allowing socket layer code to poll the receive queue of a # network device, and disabling network interrupts. # busy_read value greater than 0 enables busy polling. Recommended # net.core.busy_read value is 50. # busy_poll value greater than 0 enables polling globally. # Recommended net.core.busy_poll value is 50 net.core.busy_read=50 net.core.busy_poll=50 # TCP fast open reduces network latency by enabling data exchange # during the sender's initial TCP SYN. The value 3 enables fast open # on client and server connections. net.ipv4.tcp_fastopen=3 #### vm.zone_reclaim_mode=0 vm.force_scan_thresh=100 ## from Volkov kernel.pid_max=4194303 kernel.perf_event_max_sample_rate=100000 kernel.numa_balancing=0 [scheduler] sched_min_granularity_ns = 10000000 sched_wakeup_granularity_ns = 15000000 [disk-vm] type=disk devices = vd* elevator = mq-deadline [disk-sas] type=disk devices = sd* elevator = mq-deadline [disk-nvme] type=disk devices = nvme* elevator = none readahead = 0 # Marvell ThunderX [sysctl.thunderx] type=sysctl uname_regex=aarch64 cpuinfo_regex=${thunderx_cpuinfo_regex} kernel.numa_balancing=0 # AMD [scheduler.amd] type=scheduler uname_regex=x86_64 cpuinfo_regex=${amd_cpuinfo_regex} sched_migration_cost_ns=5000000
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка