Performance Tuning

Pagecache

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Memory_Usage_and_Page_Cache-Tuning_the_Page_Cache.html

Database Tuning


https://www.google.ca/search?q=pagecache+and+database&ie=utf-8&oe=utf-8&gws_rd=cr&ei=PsjLVJK2KIufyQTh74HIDQ#q=linux+pagecache+and+database

Slow Query Due to fragmentation

http://www.psce.com/blog/2012/07/09/data-fragmentation-problem-in-mysql-myisam/

mysql

1. timeout http://www.percona.com/blog/2007/07/08/mysql-net_write_timeout-vs-wait_timeout-and-protocol-notes/

uninstall vwmare workstation

vmware-installer -u vmware-workstation

ionice does not work with software raid

test ionice with dd and found out that it does nothing.

rsyslog omprog (run a shell script on a filtered message)

rsyslog.conf
 
$ModLoad omprog
$actionomprogbinary /opt/omprog.py
:msg, contains, "sometext"  :omprog:;RSYSLOG_TraditionalFileFormat
omprog.py
line = sys.stdin.readline()
if line:
    check(line)