blob: 787082f9bde68b01f55839f2a85f3c26376b2cff [file] [log] [blame]
ricolin2f1cfea2022-11-26 03:35:56 +08001---
2# .. vim: foldmarker=[[[,]]]:foldmethod=marker
3
4# .. Copyright (C) 2022 VEXXHOST, Inc.
5# .. SPDX-License-Identifier: Apache-2.0
6
7# Default variables
8# =================
9
10# .. contents:: Sections
11# :local:
12
13
14# .. envvar:: sysctls [[[
15#
16# List of ``sysctl`` parameters to set
17sysctls:
18 - name: net.ipv4.tcp_timestamps
19 value: 0
20 - name: net.ipv4.tcp_sack
21 value: 1
22 - name: net.core.netdev_max_backlog
23 value: 250000
24 - name: net.core.rmem_max
25 value: 4194304
26 - name: net.core.wmem_max
27 value: 4194304
28 - name: net.core.rmem_default
29 value: 4194304
30 - name: net.core.wmem_default
31 value: 4194304
32 - name: net.core.optmem_max
33 value: 4194304
34 - name: net.ipv4.tcp_rmem
35 value: 4096 87380 4194304
36 - name: net.ipv4.tcp_wmem
37 value: 4096 65536 4194304
38 - name: net.ipv4.tcp_low_latency
39 value: 1
40 - name: net.ipv4.tcp_adv_win_scale
41 value: 1
42 - name: net.ipv4.neigh.default.gc_thresh1
43 value: 128
44 - name: net.ipv4.neigh.default.gc_thresh2
45 value: 28872
46 - name: net.ipv4.neigh.default.gc_thresh3
47 value: 32768
48 - name: net.ipv6.neigh.default.gc_thresh1
49 value: 128
50 - name: net.ipv6.neigh.default.gc_thresh2
51 value: 28872
52 - name: net.ipv6.neigh.default.gc_thresh3
53 value: 32768
54 # ]]]