Make It Faster: Improving MySQL Write Performance for Tungsten Cluster Slaves

Make It Faster: Improving MySQL Write Performance for Tungsten Cluster Slaves
![]() |
Make It Faster: Improving MySQL Write Performance for Tungsten Cluster Slaves
Add the following to either .htaccess or httpd.conf:
1 2 3 4 5 6 7 8 9 |
AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript |
I just found this neat trick to speed up Safari by reducing the ‘Render Before Display’ time: 1. Quit Safari. 2. Launch Terminal.app 3. Type in the line below and then press {enter}: defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.20 4. Quit Terminal and restart Safari
I found that after enabling extensions in Safari 5.1, my performance slowed down considerably. I was able to restore performance to normal by simply turning off all of the old, unused extensions. I did not have to delete them, just disabled each one. Also found an excellent post about Safari clean-up…
I wanted to be sure that my mac was using the WAN for all it was worth. I set the following in /etc/sysctl.conf: [code]kern.ipc.maxsockbuf=768000 net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=512000 net.inet.tcp.win_scale_factor=8[/code] These commands can be set in real time without a reboot. Simply call sysctl as root from the command prompt in Terminal.. For example: [code]# sysctl -w net.inet.tcp.win_scale_factor=8[/code] […]