On Mar 9, 10:25 pm, “Alexey V.” [email protected]
wrote:
On 3/9/07, [email protected] [email protected] wrote:
What’s the point of a test that has so little basis in real world
usage?
Are we talking about “hello world”, or real world?
Good point, and a fair statement.
“hello world” isn’t real world, that’s true, but it isn’t quite a
fairy tale either, which
is a little closer to what I’d call a sessionless “hello world.”
Without a session creation, you might just as well have served a
static HTML page, which would have returned higher numbers yet.
True. And that was exactly what I wanted to establish with hello world test
- that it’s not much slower than serving static files.
Well, that’s a good testing and interesting in and of itself, but it’s
not really fair
to post the results of that test as an example of how his results were
a bit lower
than expected.
And, not much slower than serving static files? You should be getting
closer to
4 kreq/sec for static files, perhaps even faster on a local system.
Here’s a static test of a single Engine Y. slice, from another
slice, over
gigabit ethernet.
ey00-s00070 ~ # ab2 -n 5000 -c 4 http://www.engineyard.com/404.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $>
apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 10.0.128.71 (be patient)
Completed 500 requests
Completed 1000 requests
Completed 1500 requests
Completed 2000 requests
Completed 2500 requests
Completed 3000 requests
Completed 3500 requests
Completed 4000 requests
Completed 4500 requests
Finished 5000 requests
Server Software: nginx/0.4.13
Server Hostname: 10.0.128.71
Server Port: 80
Document Path: /404.html
Document Length: 619 bytes
Concurrency Level: 4
Time taken for tests: 1.179527 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 4150000 bytes
HTML transferred: 3095000 bytes
Requests per second: 4238.99 [#/sec] (mean)
Time per request: 0.944 [ms] (mean)
Time per request: 0.236 [ms] (mean, across all concurrent
requests)
Transfer rate: 3435.28 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 3
Processing: 0 0 1.0 0 32
Waiting: 0 0 1.0 0 31
Total: 0 0 1.1 0 32
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 1
95% 1
98% 1
99% 1
100% 32 (longest request)
–
– Tom M.