ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since f53afafb was
cf535f4,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Added script to run before experiments.
|
-
Property mode set to
100755
|
File size:
979 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | [ $(id -u) -ne 0 ] && exec sudo $0 $* |
---|
3 | |
---|
4 | #======================================== |
---|
5 | echo "Sysctl Calls" |
---|
6 | sysctl -w net.core.somaxconn=1048576 |
---|
7 | sysctl -w net.ipv4.tcp_max_syn_backlog=262144 |
---|
8 | sysctl -w net.ipv4.tcp_tw_reuse=1 |
---|
9 | sysctl -w net.ipv4.ip_local_port_range="1024 65535" |
---|
10 | sysctl -w vm.max_map_count=2097152 |
---|
11 | cpupower frequency-set -g performance |
---|
12 | |
---|
13 | # sysctl net.core.somaxconn |
---|
14 | # sysctl net.ipv4.tcp_max_syn_backlog |
---|
15 | # sysctl net.ipv4.tcp_tw_reuse |
---|
16 | # sysctl net.ipv4.ip_local_port_range |
---|
17 | # sysctl vm.max_map_count |
---|
18 | |
---|
19 | #======================================== |
---|
20 | echo "Check what we can debug/trace" |
---|
21 | |
---|
22 | echo "/proc/sys/kernel/yama/ptrace_scope" |
---|
23 | cat /proc/sys/kernel/yama/ptrace_scope |
---|
24 | echo "/proc/sys/kernel/kptr_restrict" |
---|
25 | cat /proc/sys/kernel/kptr_restrict |
---|
26 | echo "/proc/sys/kernel/nmi_watchdog" |
---|
27 | cat /proc/sys/kernel/nmi_watchdog |
---|
28 | echo "/proc/sys/kernel/perf_event_paranoid" |
---|
29 | cat /proc/sys/kernel/perf_event_paranoid |
---|
30 | |
---|
31 | #======================================== |
---|
32 | echo "User Limits" |
---|
33 | ulimit -a |
---|
Note: See
TracBrowser
for help on using the repository browser.