#1  
Old 1st May 2008, 22:58
Thunderbirdsei Thunderbirdsei is offline
Member
 
Join Date: Jan 2006
Posts: 54
Thanks: 0
Thanked 2 Times in 2 Posts
Default apc-php5-apache2-debian-etch

Alright, thanks for the howto. Did work like a charm. Afterwards I installed a Test-Joomla and run
Code:
ab -kc 2 -t 30 http://localhost/joomla/
The result was somewhat sobering and I'm not really sure whether it's a environment issue (virtualbox, 1GB RAM and 2GHZ assigned), but I get very low figures:

Quote:
Benchmarking localhost (be patient)
Finished 209 requests


Server Software: Apache/2.2.3
Server Hostname: localhost
Server Port: 80

Document Path: /joomla/
Document Length: 31812 bytes

Concurrency Level: 2
Time taken for tests: 30.109615 seconds
Complete requests: 209
Failed requests: 183
(Connect: 0, Length: 183, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 0
Total transferred: 6758557 bytes
HTML transferred: 6648307 bytes
Requests per second: 6.94 [#/sec] (mean)
Time per request: 288.130 [ms] (mean)
Time per request: 144.065 [ms] (mean, across all concurrent requests)

Transfer rate: 219.20 [Kbytes/sec] received
I learned that the failed requests (Length) are 'normal' due the dynamic generation of content and different size of the results, but just 6.94 requests per second? Without APC it's only 3 something, so APC does have an effect .

Is something wrong?
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2008, 01:53
Thunderbirdsei Thunderbirdsei is offline
Member
 
Join Date: Jan 2006
Posts: 54
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Ok, I installed Drupal and did the same test again, first without APC and then with APC:

Quote:
Benchmarking localhost (be patient).....done


Server Software: Apache
Server Hostname: localhost
Server Port: 80

Document Path: /drupal/?q=node/add/page
Document Length: 3598 bytes

Concurrency Level: 2
Time taken for tests: 0.527818 seconds
Complete requests: 30
Failed requests: 0
Write errors: 0
Non-2xx responses: 30
Keep-Alive requests: 0
Total transferred: 122460 bytes
HTML transferred: 107940 bytes
Requests per second: 56.84 [#/sec] (mean)
Time per request: 35.188 [ms] (mean)
Time per request: 17.594 [ms] (mean, across all concurrent requests)
Transfer rate: 225.46 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 24 34 9.9 31 65
Waiting: 24 34 9.7 31 64
Total: 24 34 9.9 31 65

Percentage of the requests served within a certain time (ms)
50% 31
66% 32
75% 32
80% 34
90% 52
95% 62
98% 65
99% 65
100% 65 (longest request)
Quote:
Benchmarking localhost (be patient).....done


Server Software: Apache
Server Hostname: localhost
Server Port: 80

Document Path: /drupal/?q=node/add/page
Document Length: 3598 bytes

Concurrency Level: 2
Time taken for tests: 0.143770 seconds
Complete requests: 30
Failed requests: 0
Write errors: 0
Non-2xx responses: 30
Keep-Alive requests: 0
Total transferred: 122460 bytes
HTML transferred: 107940 bytes
Requests per second: 208.67 [#/sec] (mean)
Time per request: 9.585 [ms] (mean)
Time per request: 4.792 [ms] (mean, across all concurrent requests)
Transfer rate: 827.71 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.3 0 9
Processing: 3 7 10.3 5 60
Waiting: 0 4 10.4 3 58
Total: 3 8 10.3 6 60

Percentage of the requests served within a certain time (ms)
50% 6
66% 8
75% 10
80% 11
90% 14
95% 14
98% 60
99% 60
100% 60 (longest request)
As you can see, there is a huge difference whether APC is enabled or not and it's tremendous faster than Joomla 1.5.

Can somebody confirm my results?
Reply With Quote
  #3  
Old 2nd May 2008, 16:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

I think you can also try to optimize Apache: http://www.howtoforge.com/configurin...um_performance
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Ruby On Rails With Apache2 On Debian Etch zakalwe HOWTO-Related Questions 3 23rd October 2007 13:30
Debian Etch (Debian 4.0) apache2 file needed Dekalb Installation/Configuration 3 2nd June 2007 00:40
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
Apache2 with PHP4 and PHP5 on Debian Sarge chazaq HOWTO-Related Questions 1 28th March 2006 20:42
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 05:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.