[systemd-devel] Early review request: socket activation bridge

David Strauss david at davidstrauss.net
Mon Oct 14 11:55:34 PDT 2013


Slightly better performance now with per-connection buffers.

[root at olympian systemd]# ab -n1000 -c10 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        nginx/1.4.2
Server Hostname:        localhost
Server Port:            8080

Document Path:          /
Document Length:        3700 bytes

Concurrency Level:      10
Time taken for tests:   0.164 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      3933000 bytes
HTML transferred:       3700000 bytes
Requests per second:    6093.21 [#/sec] (mean)
Time per request:       1.641 [ms] (mean)
Time per request:       0.164 [ms] (mean, across all concurrent requests)
Transfer rate:          23402.94 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.3      0       2
Processing:     0    1   0.3      1       4
Waiting:        0    1   0.2      1       2
Total:          1    2   0.3      1       4
ERROR: The median and mean for the total time are more than twice the standard
       deviation apart. These results are NOT reliable.

Percentage of the requests served within a certain time (ms)
  50%      1
  66%      2
  75%      2
  80%      2
  90%      2
  95%      2
  98%      3
  99%      3
 100%      4 (longest request)


More information about the systemd-devel mailing list