System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Kernel Tune.....on SLES 9 SP3

Pawan_1
Frequent Advisor

Linux Kernel Tune.....on SLES 9 SP3

Hsve the following in Sysctl.conf file:
# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# enable ipV6 forwarding
#net.ipv6.conf.all.forwarding = 1
kernel.shmall = 2097152
kernel.shmmax = 8319508480
kernel.shmmni = 4096
kernel.msgmni = 2878
kernel.msgmnb = 65535
kernel.sem = 256 36352 100 142
fs.file-max = 200000
net.ipv4.ip_local_port_range = 1024 65000
vm.disable_cap_mlock = 1
#Improve File System Performance
vm.bdflush = 100 1200 128 512 500 6000 500 0 0
# Increase swap bandwidth system performacne
vm.kswapd = 1024 32 16
# Increased number of pages kernel reads in at once
vm.page-cluster = 16
# improve number of page tables keeps in a pre-processor cache
vm.pagetable_cache = 35 60
# increase TCP max buffer size
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
# don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
# recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500


When I run the command sysctl -p , am getting errors on some of the values:
/etc/ssh # sysctl -p
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
kernel.shmall = 2097152
kernel.shmmax = 8319508480
kernel.shmmni = 4096
kernel.msgmni = 2878
kernel.msgmnb = 65535
kernel.sem = 256 36352 100 142
fs.file-max = 200000
net.ipv4.ip_local_port_range = 1024 65000
vm.disable_cap_mlock = 1
error: "vm.bdflush" is an unknown key
error: "vm.kswapd" is an unknown key
vm.page-cluster = 16
error: "vm.pagetable_cache" is an unknown key
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
error: "net.ipv4.tcp_no_metrics_save" is an unknown key
net.core.netdev_max_backlog = 2500


How to get the value or rectify the same...
2 REPLIES
Vitaly Karasik_1
Honored Contributor

Re: Linux Kernel Tune.....on SLES 9 SP3

I afraid you use some outdated manual for kernel 2.4. It seems that these params are obsolete for kernel 2.6.

BTW, you can see al params with "sysctl -a".
Pawan_1
Frequent Advisor

Re: Linux Kernel Tune.....on SLES 9 SP3

Yes they are obsolete parms.