Hi there,
I was on a 32bit system, hosting large major php/mysql cms and many static file size up to 10M, more than 2K concurrent connections with no any lag even at traffic peak, that was awesome
Now i've migrated to new server with more 4G RAM and better CPU, changes are RAM, CPU, RAID controller PCI and system arch and now im using cPanel
but its getting IO bottleneck and high iowait even at medium traffic
I guess odd raid controller, RocketRaid 174x which seems to be fakeraid caused this issue but i doubt in 2 things with LS
one is system arch that changed from previous case, now i've switched to 64bit and this is my 1st xperience with x86_64
i know 64bit system increases system abilities well such as big files spport but dont know about performances
is it possible that 64bit caused this lag problem?
another one is cpu cores, in previus configuration it was added listeners and VH in LSWS manually, assigned cores to listeners, but now i'm on cPanel and i dont find how to set cores for listeners, its loaded from httpd.conf automatically and i tought its using 1 core
here is mpstat in at a very low traffic
approximately core 0 has no iowait while core 1 has whole system's iowait
Any commen would be appreciated,
Thanks
I was on a 32bit system, hosting large major php/mysql cms and many static file size up to 10M, more than 2K concurrent connections with no any lag even at traffic peak, that was awesome
Now i've migrated to new server with more 4G RAM and better CPU, changes are RAM, CPU, RAID controller PCI and system arch and now im using cPanel
but its getting IO bottleneck and high iowait even at medium traffic
I guess odd raid controller, RocketRaid 174x which seems to be fakeraid caused this issue but i doubt in 2 things with LS
one is system arch that changed from previous case, now i've switched to 64bit and this is my 1st xperience with x86_64
i know 64bit system increases system abilities well such as big files spport but dont know about performances
is it possible that 64bit caused this lag problem?
another one is cpu cores, in previus configuration it was added listeners and VH in LSWS manually, assigned cores to listeners, but now i'm on cPanel and i dont find how to set cores for listeners, its loaded from httpd.conf automatically and i tought its using 1 core
here is mpstat in at a very low traffic
Code:
Linux 2.6.18-8.el5 (hdbox) 08/18/2008 _x86_64_
07:21:47 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:48 AM all 0.51 0.51 2.53 7.07 0.51 1.01 0.00 0.00 87.88
07:21:48 AM 0 0.00 1.02 0.00 0.00 0.00 0.00 0.00 0.00 98.98
07:21:48 AM 1 0.00 0.00 5.00 15.00 1.00 3.00 0.00 0.00 76.00
07:21:48 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:49 AM all 0.51 3.55 2.03 13.20 0.51 1.02 0.00 0.00 79.19
07:21:49 AM 0 1.01 1.01 1.01 2.02 0.00 0.00 0.00 0.00 94.95
07:21:49 AM 1 0.00 5.10 4.08 24.49 0.00 2.04 0.00 0.00 64.29
07:21:49 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:50 AM all 0.51 4.04 2.53 14.14 0.00 1.01 0.00 0.00 77.78
07:21:50 AM 0 1.00 0.00 1.00 3.00 0.00 0.00 0.00 0.00 95.00
07:21:50 AM 1 0.00 8.25 3.09 24.74 1.03 2.06 0.00 0.00 60.82
07:21:50 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:51 AM all 0.00 0.00 2.04 4.08 0.51 1.02 0.00 0.00 92.35
07:21:51 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:21:51 AM 1 1.01 0.00 4.04 9.09 0.00 2.02 0.00 0.00 83.84
07:21:51 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:52 AM all 0.00 0.00 2.02 11.62 0.00 1.01 0.00 0.00 85.35
07:21:52 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:21:52 AM 1 0.00 0.00 4.04 22.22 1.01 2.02 0.00 0.00 70.71
07:21:52 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:53 AM all 0.00 0.00 1.53 9.18 0.51 1.02 0.00 0.00 87.76
07:21:53 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:21:53 AM 1 0.00 0.00 4.04 19.19 1.01 2.02 0.00 0.00 73.74
07:21:53 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:54 AM all 0.51 1.52 2.02 9.09 0.51 1.01 0.00 0.00 85.35
07:21:54 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:21:54 AM 1 0.00 4.08 3.06 17.35 0.00 2.04 0.00 0.00 73.47
07:21:54 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:55 AM all 0.00 0.00 1.54 6.67 0.51 0.51 0.00 0.00 90.77
07:21:55 AM 0 0.00 0.00 0.00 5.10 0.00 0.00 0.00 0.00 94.90
07:21:55 AM 1 1.01 0.00 4.04 8.08 1.01 1.01 0.00 0.00 84.85
07:21:55 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:56 AM all 0.00 0.00 2.03 6.09 0.00 1.02 0.00 0.00 90.86
07:21:56 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:21:56 AM 1 0.00 0.00 4.00 13.00 1.00 2.00 0.00 0.00 80.00
07:21:56 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:57 AM all 3.00 6.00 4.50 8.00 0.50 1.00 0.00 0.00 77.00
07:21:57 AM 0 4.08 2.04 2.04 2.04 0.00 0.00 0.00 0.00 89.80
07:21:57 AM 1 1.04 9.38 6.25 13.54 0.00 2.08 0.00 0.00 67.71
07:21:57 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:58 AM all 1.53 6.63 3.06 10.20 0.00 1.02 0.00 0.00 77.55
07:21:58 AM 0 3.03 6.06 1.01 0.00 0.00 0.00 0.00 0.00 89.90
07:21:58 AM 1 0.00 8.00 6.00 20.00 1.00 2.00 0.00 0.00 63.00
07:21:58 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:21:59 AM all 2.53 8.59 4.04 3.54 0.51 1.01 0.00 0.00 79.80
07:21:59 AM 0 5.00 7.00 2.00 2.00 0.00 0.00 0.00 0.00 84.00
07:21:59 AM 1 1.00 10.00 6.00 6.00 0.00 2.00 0.00 0.00 75.00
07:21:59 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:22:00 AM all 7.04 8.54 5.53 8.54 0.00 1.01 0.00 0.00 69.35
07:22:00 AM 0 12.12 8.08 3.03 1.01 0.00 0.00 0.00 0.00 75.76
07:22:00 AM 1 1.03 8.25 8.25 16.49 0.00 2.06 0.00 0.00 63.92
07:22:00 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:22:01 AM all 0.00 0.00 2.55 9.69 0.00 0.51 0.00 0.00 87.24
07:22:01 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
07:22:01 AM 1 1.01 0.00 4.04 19.19 1.01 1.01 0.00 0.00 73.74
07:22:01 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:22:02 AM all 2.51 5.03 2.51 16.58 0.50 1.01 0.00 0.00 71.86
07:22:02 AM 0 4.00 9.00 2.00 0.00 0.00 0.00 0.00 0.00 85.00
07:22:02 AM 1 0.00 2.02 3.03 33.33 1.01 2.02 0.00 0.00 58.59
Any commen would be appreciated,
Thanks
Last edited: