Difference between revisions of "K6 large tests"
Jump to navigation
Jump to search
(Created page with "# Network connections - https://k6.io/docs/testing-guides/running-large-tests/ - https://serverfault.com/questions/234534/is-it-dangerous-to-change-the-value-of-proc-sys-net...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
- https://k6.io/docs/testing-guides/running-large-tests/ | - https://k6.io/docs/testing-guides/running-large-tests/ | ||
- https://serverfault.com/questions/234534/is-it-dangerous-to-change-the-value-of-proc-sys-net-ipv4-tcp-tw-reuse | - https://serverfault.com/questions/234534/is-it-dangerous-to-change-the-value-of-proc-sys-net-ipv4-tcp-tw-reuse | ||
+ | |||
+ | ``` | ||
+ | sysctl -w net.ipv4.ip_local_port_range="1024 65535" | ||
+ | sysctl -w net.ipv4.tcp_tw_reuse=1 | ||
+ | sysctl -w net.ipv4.tcp_timestamps=1 | ||
+ | ulimit -n 250000 | ||
+ | ``` | ||
# Kubernetes | # Kubernetes | ||
- https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ | - https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ | ||
+ | - https://stackoverflow.com/questions/69880265/set-systctl-in-kubenetes-for-pod | ||
+ | - net.ipv4.tcp_tw_reuse is considered an "unsafe sysctl" |
Latest revision as of 20:16, 9 August 2023
Network connections
sysctl -w net.ipv4.ip_local_port_range="1024 65535" sysctl -w net.ipv4.tcp_tw_reuse=1 sysctl -w net.ipv4.tcp_timestamps=1 ulimit -n 250000
Kubernetes
- https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/
- https://stackoverflow.com/questions/69880265/set-systctl-in-kubenetes-for-pod
- net.ipv4.tcp_tw_reuse is considered an "unsafe sysctl"