GPFS_Tuning_Kernel_Net: gpfs_tuning.sh

File gpfs_tuning.sh, 748 bytes (added by rock, 16 years ago)
Line 
1#!/bin/sh
2sysctl -w net.ipv4.conf.all.arp_filter=1
3sysctl -w net.ipv4.conf.all.rp_filter=1
4sysctl -w net.ipv4.tcp_max_syn_backlog=4096
5sysctl -w net.ipv4.ipfrag_low_thresh=262144
6sysctl -w net.ipv4.ipfrag_high_thresh=393216
7sysctl -w net.core.netdev_max_backlog=2000
8sysctl -w net.core.rmem_default=262144
9sysctl -w net.core.rmem_max=8388608
10sysctl -w net.core.wmem_default=262144
11sysctl -w net.core.wmem_max=8388608
12sysctl -w net.ipv4.ip_local_port_range="1024 65535"
13sysctl -w net.ipv4.ip_no_pmtu_disc=0
14sysctl -w net.ipv4.tcp_rmem="8192 262144 4194304"
15sysctl -w net.ipv4.tcp_sack=0
16sysctl -w net.ipv4.tcp_syncookies=0
17sysctl -w net.ipv4.tcp_timestamps=0
18sysctl -w net.ipv4.tcp_window_scaling=1
19sysctl -w net.ipv4.tcp_wmem="8192 262144 4194304"