Helo guys,
We have been reading a lot of nice comments about speed and performance with Nginx. We owne a small dedicated cPanel server with high hardware resources and poor traffic. What we want is to make server load dynamic sites faster, since we feel very slow serving of Joomla and wordPress websites. We are not experts, and never did something like this, configure gninx or so.
Server is a dedicated Proxmox node with i7 processor, 8GBs DDR3 RAM, an OpenVZ VPS is inside with all resources dedicated to this VPS where cPanel and Nginx is installed. VPS works very fast, this is the unibbench result:
(Tue Nov 16 13:59:26 CET 2010)
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 27332142.6 725.4
Double-Precision Whetstone 83.1 1935.6 232.9
Execl Throughput 188.3 13490.6 716.4
File Copy 1024 bufsize 2000 maxblocks 2672.0 508935.0 1904.7
File Copy 256 bufsize 500 maxblocks 1077.0 157012.0 1457.9
File Read 4096 bufsize 8000 maxblocks 15382.0 3064830.0 1992.5
Pipe-based Context Switching 15448.6 1281499.7 829.5
Pipe Throughput 111814.6 8511816.3 761.2
Process Creation 569.3 32323.9 567.8
Shell Scripts (8 concurrent) 44.8 2219.6 495.4
System Call Overhead 114433.5 14654005.3 1280.6
=========
FINAL SCORE 842.8
So we installed Nginx cPanel plugin (nginxcp.com) in to our dedicated server without any problem, Thhe point is that benchmark tests show same slow load times, and we don't know what's the problem. take a look at this benchmark performance tests (same after/before installing nginx):
root@server:~# ab -n 100 -c 5 http://server2/sugarcrm/ --> (sugarcrm)
Requests per second: 20.58 [#/sec] (mean)
root@server:~# ab -n 100 -c 5 http://server2/magento/ -> (magento)
Requests per second: 9.73 [#/sec] (mean)
root@server:~# ab -n 100 -c 5 http://server2/ (a small HTML with a simply image)
Requests per second: 2373.49 [#/sec] (mean)
root@server:~# ab -n 100 -c 5 http://server2/wordpress3/ (WordPress 3.0)
Requests per second: 8.42 [#/sec] (mean)
What's wrong? Can somebody tell us how to improove better performance in is this webserver ?
Thanks in advance :)