Merge "SCTP socket buffer settings"
This commit is contained in:
commit
9518668f20
@ -14,6 +14,8 @@ export LOCAL_ETC_MODLOAD = etc/modules-load.d
|
||||
override_dh_install:
|
||||
install -d -m 755 $(ROOT)/$(LOCAL_ETC_SYSCTL)
|
||||
install -p -D -m 644 coredump-sysctl-debian.conf $(ROOT)/$(LOCAL_ETC_SYSCTL)/50-coredump.conf
|
||||
install -p -D -m 644 net-core-sysctl-debian.conf $(ROOT)/$(LOCAL_ETC_SYSCTL)/50-net-core.conf
|
||||
install -p -D -m 644 sctp-sysctl-debian.conf $(ROOT)/$(LOCAL_ETC_SYSCTL)/50-net-sctp.conf
|
||||
|
||||
install -d -m 755 $(ROOT)/$(LOCAL_ETC_COREDUMP)
|
||||
install -p -D -m 644 coredump.conf $(ROOT)/$(LOCAL_ETC_COREDUMP)/coredump.conf
|
||||
@ -21,5 +23,6 @@ override_dh_install:
|
||||
install -d -m 755 $(ROOT)/$(LOCAL_ETC_MODLOAD)
|
||||
install -p -D -m 644 modules-load-vfio.conf $(ROOT)/$(LOCAL_ETC_MODLOAD)/vfio.conf
|
||||
install -p -D -m 644 modules-load-intel-uncore-frequency.conf $(ROOT)/$(LOCAL_ETC_MODLOAD)/intel-uncore-frequency.conf
|
||||
install -p -D -m 644 modules-load-sctp.conf $(ROOT)/$(LOCAL_ETC_MODLOAD)/sctp.conf
|
||||
|
||||
dh_install
|
||||
|
@ -1,4 +1,7 @@
|
||||
etc/sysctl.d/50-coredump.conf
|
||||
etc/sysctl.d/50-net-sctp.conf
|
||||
etc/sysctl.d/50-net-core.conf
|
||||
etc/systemd/coredump.conf.d/coredump.conf
|
||||
etc/modules-load.d/vfio.conf
|
||||
etc/modules-load.d/sctp.conf
|
||||
etc/modules-load.d/intel-uncore-frequency.conf
|
||||
|
1
utilities/stx-extensions/files/modules-load-sctp.conf
Normal file
1
utilities/stx-extensions/files/modules-load-sctp.conf
Normal file
@ -0,0 +1 @@
|
||||
sctp
|
11
utilities/stx-extensions/files/net-core-sysctl-debian.conf
Normal file
11
utilities/stx-extensions/files/net-core-sysctl-debian.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# STX
|
||||
# Linux Network Tuning for better performance
|
||||
|
||||
# contains the maximum socket receive buffer size in bytes which a user may set
|
||||
# by using the SO_RCVBUF socket option.
|
||||
net.core.rmem_max=10485760
|
||||
|
||||
# contains the maximum socket send buffer size in bytes which a user may set by
|
||||
# using the SO_SNDBUF socket option.
|
||||
net.core.wmem_max=10485760
|
||||
|
17
utilities/stx-extensions/files/sctp-sysctl-debian.conf
Normal file
17
utilities/stx-extensions/files/sctp-sysctl-debian.conf
Normal file
@ -0,0 +1,17 @@
|
||||
# STX
|
||||
# See sctp(7) for Linux man page.
|
||||
# Values set to provide performance improvements for typical k8s application
|
||||
# workloads
|
||||
|
||||
# This controls the socket sendbuffer accounting policy. The default value is 0
|
||||
# and indicates that all the associations belonging to a socket share the same
|
||||
# send buffer space. When set to 1, each association will have its own send
|
||||
# buffer space.
|
||||
net.sctp.sndbuf_policy=1
|
||||
|
||||
|
||||
# This controls the socket receive buffer accounting policy. The default value
|
||||
# is 0 and indicates that all the associations belonging to a socket share the
|
||||
# same receive buffer space. When set to 1, each association will have its own
|
||||
# receive buffer space.
|
||||
net.sctp.rcvbuf_policy=1
|
Loading…
x
Reference in New Issue
Block a user