Optimize IO governors for webserver
echo deadline > /sys/block/sda/queue/scheduler To activate it after booting: echo “echo deadline > /sys/block/sda/queue/scheduler” >> /etc/rc.local
echo deadline > /sys/block/sda/queue/scheduler To activate it after booting: echo “echo deadline > /sys/block/sda/queue/scheduler” >> /etc/rc.local
You should try to change the IO scheduler to deadline or noop, and test for a couple of days. The default CFQ scheduler is performing
time dd if=/dev/zero of=/shopcvs/tmp/test.img bs=1M count=2k conv=fdatasync 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB) copied, 2.71921 s, 790 MB/s real 0m2.840s user
# if you have EPEL in your yum repo: yum -y install systester-cli # else install from source: yum -y groupinstall ‘Development Tools’ yum -y
sudo yum install alacarte press super key and type alacarte. Choose icon Main Menu Press New Item Name: KeePass Command: mono /home/bvbmedia/keepass/KeePass.exe Comment: KeePass rules! Press
# stop iptables /etc/init.d/iptables stop # remove all rules iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F
Maximize throughput for rebuilding software RAID: One-time If you want to maximize performance for one time (till reboot) then run: echo 99999999 > /proc/sys/dev/raid/speed_limit_min echo
Boot new machine with CENTOS LiveCD. Creating swap, boot and root partition fdisk /dev/sda # create swap n p 1 enter +16G # create boot
dpkg-reconfigure keyboard-configuration Or do it manually: vi /etc/default/keyboard Add: XKBLAYOUT=”us,de” XKBVARIANT=”” XKBOPTIONS=”grp:alt_shift_toggle,grp_led:scroll”