I have a bit of an obsession with optimization; this time I decided to document everything. Feel free to criticize and suggest
Still looking into...
PHP:
# Filesystem
vi /etc/fstab
(after "LABEL=/ ", change "defaults" after to "defaults,noatime,nodiratime,commit=120") #changing writeback locks system
# Shut off firewalls
service iptables save
service iptables stop
chkconfig iptables off
service ip6tables save
service ip6tables stop
chkconfig ip6tables off
vi /etc/selinux/config
(change "SELINUX=enforcing" to "SELINUX=disabled"; see 'using vi' below)
# Reduce logs
vi /etc/syslog.conf
(add dashes)
service syslog restart
# ... or shut them off completely?
service syslog stop
chkconfig syslog off
# Services I no want
service auditd stop
service cpuspeed stop
service cups stop
service gpm stop
service hidd stop
service irqbalance stop
service pand stop
service pcscd stop
service yum-updatesd off
service irda stop
service mcstrans stop
chkconfig auditd off
chkconfig cpuspeed off
chkconfig cups off
chkconfig gpm off
chkconfig hidd off
chkconfig irqbalance off
chkconfig pand off
chkconfig pcscd off
chkconfig yum-updatesd off
chkconfig irda off
chkconfig mcstrans off
# NFS
service nfslock stop
service rpcidmapd stop
service portmap stop
service nfs stop
service netfs stop
chkconfig nfslock off
chkconfig rpcidmapd off
chkconfig portmap off
chkconfig nfs off
chkconfig netfs off
PHP:
# minecraft boot string
~/jre1.7.0/bin/java -server -Xms12228M -Xmn3072M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -Xnoclassgc -XX:SurvivorRatio=16 -jar ~/minecraft/bukkit.jar nogui
# considering using canary over bukkit
Still looking into...
PHP:
# Hardcore network optimization
vi /etc/sysctl.conf
(need to increase tcp buffer memory; suggestions?)
# Re-compile kernel?
# Re-compile everything without taking forever?
# List of yum installed programs I don't need?