On 5/27/23 14:56, Shawn Heisey wrote:
Yup.  It was using keepalive.  I turned keepalive off and repeated the tests.

I did the tests again with 200 threads. The system running the tests has 12 hyperthreaded cores, so this definitely pushes its capabilities.

The system running haproxy has 24 hyperthreaded cores. There is no thread or process info in haproxy.cfg.

200 threads takes so long to run that I didn't do multiple runs per branch. Any inconsistencies created by the fact that haproxy has just been restarted will hopefully be leveled out due to how long the run takes.

The request times for 200 threads vs. 24 threads shows that the speed went down. I think I have definitely saturated the test system, and hopefully also the haproxy server. Still no smoking gun showing the lock problems in 3.0. I had hoped that would be apparent.

1.1.1t:
15:52:18.666 [main] INFO  o.e.t.h.MainSSLTest Count 200000 56.82/s
15:52:18.668 [main] INFO  o.e.t.h.MainSSLTest 10th % 31 ms
15:52:18.668 [main] INFO  o.e.t.h.MainSSLTest 25th % 47 ms
15:52:18.668 [main] INFO  o.e.t.h.MainSSLTest Median 994 ms
15:52:18.669 [main] INFO  o.e.t.h.MainSSLTest 75th % 4953 ms
15:52:18.669 [main] INFO  o.e.t.h.MainSSLTest 95th % 14205 ms
15:52:18.669 [main] INFO  o.e.t.h.MainSSLTest 99th % 23581 ms
15:52:18.669 [main] INFO  o.e.t.h.MainSSLTest 99.9 % 37396 ms

3.0.8:
16:59:03.645 [main] INFO  o.e.t.h.MainSSLTest Count 200000 58.34/s
16:59:03.647 [main] INFO  o.e.t.h.MainSSLTest 10th % 30 ms
16:59:03.648 [main] INFO  o.e.t.h.MainSSLTest 25th % 35 ms
16:59:03.648 [main] INFO  o.e.t.h.MainSSLTest Median 368 ms
16:59:03.648 [main] INFO  o.e.t.h.MainSSLTest 75th % 4606 ms
16:59:03.648 [main] INFO  o.e.t.h.MainSSLTest 95th % 14840 ms
16:59:03.649 [main] INFO  o.e.t.h.MainSSLTest 99th % 25561 ms
16:59:03.649 [main] INFO  o.e.t.h.MainSSLTest 99.9 % 40826 ms

3.1.1+locks:
18:01:04.198 [main] INFO  o.e.t.h.MainSSLTest Count 200000 56.69/s
18:01:04.198 [main] INFO  o.e.t.h.MainSSLTest 10th % 31 ms
18:01:04.198 [main] INFO  o.e.t.h.MainSSLTest 25th % 39 ms
18:01:04.199 [main] INFO  o.e.t.h.MainSSLTest Median 455 ms
18:01:04.199 [main] INFO  o.e.t.h.MainSSLTest 75th % 4759 ms
18:01:04.199 [main] INFO  o.e.t.h.MainSSLTest 95th % 15071 ms
18:01:04.199 [main] INFO  o.e.t.h.MainSSLTest 99th % 25729 ms
18:01:04.200 [main] INFO  o.e.t.h.MainSSLTest 99.9 % 41308 ms

Reply via email to