Linux tuning:
The purpose of tuning is to make the system more efficient and to maximize the balance of system resource usage.
Resources:
http://os.51cto.com/art/201303/385726.htm (Tuning those things)
http://www.111cn.net/sys/linux/58433.htm (io/System/Memory performance tuning)
https://hong.im/2013/04/20/linux-tcp-tuning/ (High-traffic large concurrent Linux TCP performance tuning)
http://wenku.baidu.com/view/0985c9dba0116c1749ae.html (Summary of library--linux Performance tuning methods)
https://my.oschina.net/sharelinux/blog?catalog=289503 (on Linux Performance Tuning series)
http://colobu.com/2014/09/18/linux-tcpip/tuning (TCP/IP protocol stack)
https://blog.linuxeye.com/379.html (MySQL tuning)
http://www.tuicool.com/articles/RbUNn2 (nginx+php-fpm high concurrency parameter configuration and Linux kernel parameter optimization)
http://blog.csdn.net/wangsg2014/article/details/38804873 (nginx parameter optimization)
http://os.51cto.com/art/201003/192112.htm (Apache parameter optimization)
http://www.phpboy.net/apache/488.html (Apache parameter optimization)
http://www.360doc.com/relevant/178008993_more.shtml (Apache parameter Optimization document library)
http://www.cnblogs.com/R-zqiang/archive/2012/06/12/2545768.html (php.ini parameter optimization)
http://www.cnblogs.com/ggjucheng/archive/2013/04/16/3024731.html (Tomcat tuning)
http://www.php-oa.com/2008/02/03/squidyouhua.html (squid tuning)
http://www.neters.cn/archives/548.html (Squid optimization guide)
http://handao.blog.techweb.com.cn/archives/134.html (Squid optimization-related kernel parameter adjustment)
"Hardware Aspects"
1. CPU
2, memory (increase memory)
3, storage (using RAID, using SSD)
4, network card (using Gigabit network card, or dual-nic binding)
"System aspects"
1, kernel parameter optimization (network-related, memory-related, buffer cache related)
2, file system aspects (partition tuning, format according to the storage file characteristics, specify the appropriate block size, noatime, log isolation, soft raid, effective use of/DEV/SHM, turn off unnecessary services)
3. CPU optimization (process binding, interrupt binding)
NUMA architecture CPU: http://blog.csdn.net/jollyjumper/article/details/17168175
Taskset bind the process and CPU: http://blog.csdn.net/ttyttytty12/article/details/11726569
"Application Aspects"
1, Nginx, Apache, PHP-FPM, MySQL, tomcat, squid and other applications, can be adjusted by adjusting the parameters to obtain performance optimization.
2, web optimization, such as the user request can be merged (JS, CSS merge), using CDN to speed up static page access speed, the picture document compression
Reduce bandwidth transmission.
3, optimize the website program
"Architectural aspects"
1. Use simple and stable architecture scheme
2, multi-use cache (Squid,varnish,memcache,nosql Related: REDIS,MONGODB)
This article from the "Linux" blog, reproduced please contact the author!
Linux system tuning