memcached -d -p 11211 -u nobody -m 1024 -c 128000 -P /var/run/memcached/memcached.pid -r -t 8 -v
(ya, i know about 128K :) )
multiconnection performance is a bit better in .21. See below. I am still going to build .24 (i see big improvement there by release notes, but as i understand mostly for multi connection case due removing global lock)
.13:
[dsam...@dsamoylov.dev twemperf (master)]$ src/mcperf --linger=0 --call-rate=0 --num-calls=100 --conn-rate=0 --num-conns=1000 --sizes=d1
Total: connections 1000 requests 100000 responses 100000 test-duration 12.138 s
Connection rate: 82.4 conn/s (12.1 ms/conn <= 1 concurrent connections)
Connection time [ms]: avg 12.1 min 5.9 max 108.5 stddev 7.06
Connect time [ms]: avg 0.0 min 0.0 max 0.2 stddev 0.01
Request rate: 8238.5 req/s (0.1 ms/req)
Request size [B]: avg 28.0 min 28.0 max 28.0 stddev 0.00
Response rate: 8238.5 rsp/s (0.1 ms/rsp)
Response size [B]: avg 8.0 min 8.0 max 8.0 stddev 0.00
Response time [ms]: avg 0.1 min 0.0 max 23.8 stddev 0.00
Response time [ms]: p25 1.0 p50 1.0 p75 1.0
Response time [ms]: p95 1.0 p99 1.0 p999 5.0
Response type: stored 100000 not_stored 0 exists 0 not_found 0
Response type: num 0 deleted 0 end 0 value 0
Response type: error 0 client_error 0 server_error 0
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 ftab-full 0 addrunavail 0 other 0
CPU time [s]: user 2.73 system 6.62 (user 22.5% system 54.5% total 77.0%)
Net I/O: bytes 3.4 MB rate 289.6 KB/s (2.4*10^6 bps)