LNMP architecture is now very common, read Yan Zhang Blog, kernel, php-fpm,nginx,fastcgi tuning, with autobench stress test, access to PHP page, starting from 100 concurrent, add 50 each time until 1000 concurrency, pm= static,pm.max_children=128, machine 8G memory, CPU is L5520, measured to the results of PHP's strongest processing capacity of up to 360m/s, the following has been continuing in about 350, and the 700+ of the Yan Zhang of the difference has been one times, according to the truth, Machine performance than he wrote the article when the machine performance is much better, should be able to high 700+, at least can be approached is, back, put Pm.max_children to 200, measured the result is the same, the test process to see the Iostat
See iowait occupancy rate is very bottom, wsec/s also less than 1m,io there is no bottleneck, use top to view CPU utilization
found that the CPU usage is also very low, the load is also low, the CPU is not a bottleneck, look at memory free-m, found memory and 1G (8g Memory, PM Open 200 processes about 4g,mysql with InnoDB, About 2.5 memory), memory is sufficient, and later, when viewed with Iftop,
See the network card peak reached 90 m above, and always around 90M, will not exceed hundred m, also will not drop, at this time suspected is NIC problem, is hundred m network card, with command Ethtool eth0
From the above can be seen, gigabit network card, but only in the hundred trillion networks, here you can see some situation, in the Pm.max_children put 128 to 200, the processing power of PHP is not the same as the time, it should be the problem of this network card if connected in the gigabit switch inside, PHP's processing power should soar, but how much can be achieved, I do not have environmental testing, can not be measured.