Home »
FUDforum Development »
Bug Reports »
Problems under load?
Re: Problems under load? [message #4208 is a reply to message #4207] |
Thu, 18 July 2002 11:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma:
|
Senior Member Administrator Core Developer |
|
|
Thanks for the info:
I've used
httperf --server server --uri path_to_forum --num-conn 400 --rate RATE
to test the speed of the forum via a local lan (this way there is no penalty for network traffic. The lan itself is 100mbit and realistically can push about 10 megs per second.
The test was executed from 1Ghz celeron and the forum is running on a dual Celeron 500 System (66Mhz bus). The actual 'server' is pretty substandard machine as far as modern computers go, just about any system you can buy is 3-3.5 times more powerful.
Here is the result of my tests:
Request rate: 2.0 req/s (499.3 ms/req)
Request rate: 4.0 req/s (249.7 ms/req)
Request rate: 8.0 req/s (125.0 ms/req)
Request rate: 10.0 req/s (100.2 ms/req)
Request rate: 12.0 req/s (83.6 ms/req)
Request rate: 12.9 req/s (77.7 ms/req) (requested rate of 14)**
Request rate: 12.8 req/s (78.0 ms/req) (requested rate of 16)**
I was testing this on a thread view page, which is quite expensive. This is also a slightly unfair test since each request comes as a new anonymous users, so internally there is a small MySQL lock the forum has to do when creating a session for that user. If the incoming connection was a registered user or cookied anon user the process would have been much faster.
As you can see the sweet spot on my box is ~13 requests per seconds. Above that the ms/req begins to rise instead of dropping like before.
FUDforum Core Developer
|
|
|
Goto Forum:
Current Time: Tue Nov 26 23:54:01 GMT 2024
Total time taken to generate the page: 0.04316 seconds