hi all, Sorry to bother you again, I find pictures cannt show clearly, so
copy statistics below. thanks again.
I find a performace decreasing when I update centos5.4 to centos7.1 and
the same time nginx-1.2.7 to nginx-1.8.0. Exacted statistics as
below:Tasks: 177 total, 3 running, 173 sleeping, 0 stopped, 1 zombieCpu0
: 3.7%us, 3.3%sy, 0.0%ni, 92.4%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stCpu1 :
4.7%us, 3.7%sy, 0.0%ni, 91.0%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stCpu2 :
3.6%us, 3.0%sy, 0.0%ni, 92.7%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stCpu3 :
4.0%us, 3.0%sy, 0.0%ni, 92.7%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%stCpu4 :
3.7%us, 3.0%sy, 0.0%ni, 93.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%stCpu5 :
3.3%us, 2.6%sy, 0.0%ni, 93.4%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stCpu6 :
3.3%us, 3.3%sy, 0.0%ni, 93.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%stCpu7 :
4.0%us, 2.7%sy, 0.0%ni, 92.7%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stCpu8 :
4.0%us, 2.7%sy, 0.0%ni, 93.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%stCpu9 :
4.0%us, 3.7%sy, 0.0%ni, 91.3%id, 0.7%wa, 0.0%hi, 0.3%si, 0.0%stCpu10 :
2.7%us, 2.0%sy, 0.0%ni, 82.4%id, 0.0%wa, 0.7%hi, 12.3%si, 0.0%stCpu11 :
2.3%us, 2.3%sy, 0.0%ni, 64.7%id, 0.0%wa, 1.0%hi, 29.7%si, 0.0%stMem:
12273740k total, 9946612k used, 2327128k free, 5475768k buffersSwap:
8385920k total, 0k used, 8385920k free, 2030764k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND26770
nobody 15 0 91076 32m 1196 S 9.0 0.3 997:15.34 proxy-nginx26769 nobody
15 0 91936 33m 1196 S 7.7 0.3 1043:52 proxy-nginx26778 nobody 15
0 91560 33m 1196 R 7.7 0.3 921:28.59 proxy-nginx26772 nobody 15 0 92164
33m 1196 S 7.3 0.3 920:47.31 proxy-nginx26773 nobody 15 0 91808 33m
1200 S 7.3 0.3 930:41.83 proxy-nginx26776 nobody 15 0 92332 33m 1196 S
7.3 0.3 934:57.61 proxy-nginx26777 nobody 15 0 92504 33m 1196 S 7.3
0.3 926:08.37 proxy-nginx26771 nobody 16 0 92176 33m 1196 S 7.0 0.3
955:29.21 proxy-nginx26775 nobody 15 0 91688 33m 1200 R 7.0 0.3
939:46.60 proxy-nginx26774 nobody 15 0 92044 33m 1196 S 6.3 0.3
842:52.49 proxy-nginx26780 nobody 15 0 90772 32m 1200 S 6.0 0.3
696:50.17 proxy-nginx26779 nobody 15 0 90380 31m 1196 S 5.7 0.3
832:16.64 proxy-nginx centos5.4 + nginx-1.2.7
Tasks: 276 total, 6 running, 268 sleeping, 2 stopped, 0 zombie%Cpu0 :
8.2 us, 8.9 sy, 0.0 ni, 73.4 id, 0.3 wa, 0.0 hi, 9.2 si, 0.0 st%Cpu1 :
7.9 us, 7.6 sy, 0.0 ni, 75.2 id, 0.0 wa, 0.0 hi, 9.3 si, 0.0 st%Cpu2 :
6.7 us, 8.1 sy, 0.0 ni, 77.4 id, 0.0 wa, 0.0 hi, 7.8 si, 0.0 st%Cpu3 :
7.4 us, 8.0 sy, 0.0 ni, 79.6 id, 0.0 wa, 0.0 hi, 5.0 si, 0.0 st%Cpu4 :
6.4 us, 7.1 sy, 0.0 ni, 78.8 id, 0.0 wa, 0.0 hi, 7.8 si, 0.0 st%Cpu5 :
7.0 us, 7.3 sy, 0.0 ni, 78.4 id, 0.0 wa, 0.0 hi, 7.3 si, 0.0 st%Cpu6 :
27.3 us, 8.7 sy, 0.0 ni, 59.3 id, 0.0 wa, 0.0 hi, 4.7 si, 0.0 st%Cpu7 :
8.3 us, 8.0 sy, 0.0 ni, 75.1 id, 0.0 wa, 0.0 hi, 8.7 si, 0.0 st%Cpu8 :
6.9 us, 8.6 sy, 0.0 ni, 78.7 id, 0.0 wa, 0.0 hi, 5.8 si, 0.0 st%Cpu9 :
15.4 us, 8.6 sy, 0.0 ni, 69.2 id, 0.0 wa, 0.0 hi, 6.8 si, 0.0 st%Cpu10 :
23.9 us, 8.8 sy, 0.0 ni, 64.0 id, 0.0 wa, 0.0 hi, 3.4 si, 0.0 st%Cpu11 :
40.5 us, 9.1 sy, 0.0 ni, 41.2 id, 0.0 wa, 0.0 hi, 9.1 si, 0.0 stKiB Mem :
12126740 total, 159380 free, 607028 used, 11360332 buff/cacheKiB Swap:
8388604 total, 8388604 free, 0 used. 10895304 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6876 root 20 0 4604 864 496 R 85.4 0.0 0:52.28 gzip12806
nobody 20 0 61508 35056 1272 R 18.3 0.3 282:22.99 nginx12810 nobody
20 0 61044 34596 1272 S 17.6 0.3 292:06.85 nginx12799 nobody 20
0 60768 34240 1272 R 16.9 0.3 275:36.83 nginx12801 nobody 20 0
60764 34204 1272 S 15.6 0.3 277:38.95 nginx12802 nobody 20 0 61468
34964 1272 S 15.3 0.3 226:20.06 nginx12800 nobody 20 0 60716 34268
1272 R 14.6 0.3 276:13.54 nginx12805 nobody 20 0 61424 34976 1272
S 14.6 0.3 241:46.36 nginx12807 nobody 20 0 61128 34680 1272 S
14.6 0.3 245:35.70 nginx12808 nobody 20 0 60640 34096 1272 R 14.6
0.3 255:17.38 nginx12809 nobody 20 0 60716 34268 1272 S 14.6 0.3
244:02.67 nginx12803 nobody 20 0 61396 34908 1272 S 14.3 0.3
284:18.39 nginx12804 nobody 20 0 60568 34120 1272 S 14.0 0.3
282:03.64 nginx centos7.1 + nginx-1.8.0
From the statistics, we can see that updated environment cpu-load average is
almostly doubled previous environment. Of course the sysctl.conf and
nginx-conf are not changed after updating environment. It confused me and I
dont know why. Anybody meet the problem? Please give me a help, thanks.
-----Regards,Xiaokai
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx