www.redhawk.org

Mar 25, 2017 at 07:32 AM
Home arrow Blog arrow Linux arrow :: Linux Desktop Tuning ::
:: Linux Desktop Tuning :: PDF Print E-mail
Written by W.R.Welty   
Jul 29, 2012 at 07:27 PM

This is the first in a set of tuning posts.  

 blank image

I am going to start posting tuning parameters for different systems configurations.  

This is for a Small memory < 4GB desktop.  Specifically a 3GB laptop.

Don't use for a server, will be really bad.  Obviously, there are network tuning parameters here and I presume NFS access/needs.  These parameters are well documented on the internet, the why of my parameters, is really my secret sauce.

At a later date, I will describe the why and how of these configurations, but for now, paly if you wish.  

Of course these drop in /etc/sysctl.conf.

net.ipv4.tcp_syncookies = 1
net.core.rmem_default = 262144
net.core.rmem_max = 16777216
net.core.wmem_default = 262144
net.core.wmem_max = 16777216
net.core.optmem_max = 1048576
net.core.somaxconn = 512
sunrpc.tcp_slot_table_entries = 128
net.ipv4.ipfrag_low_thresh = 262144
net.ipv4.ipfrag_high_thresh = 393216
net.ipv4.tcp_mem = 786432  1048576 16777216
net.ipv4.tcp_rmem = 8192 87380 16777216
net.ipv4.tcp_wmem = 8192 65536 16777216
net.ipv4.tcp_sack = 0net.ipv4.tcp_timestamps = 0

vm.page-cluster = 20
vm.min_free_kbytes = 200000
vm.swappiness = 0
vm.dirty_background_ratio = 1
vm.dirty_expire_centisecs = 1000
vm.dirty_ratio = 2
vm.dirty_writeback_centisecs = 250
vm.vfs_cache_pressure = 10000
vm.zone_reclaim_mode = 1
vm.laptop_mode = 0

Last Updated ( Jul 29, 2012 at 07:29 PM )
Next>