You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use tsung to do some simple HTTP/HTTPS bench, 10k users each doing ~1req/s, around 30Gbit/s of traffic. When using HTTP, the tsung server uses around 20% of CPU, just switching to HTTPS, it uses 60/65% of CPU. Looking with perf top:
with ssl
without ssl
openssl doesn't seems to be consuming much CPU, most of it is in erlang.
My tsung server is running CentOS8, erlang 22.0.7-1.el8, tsung 1.7.0.
I've tried ssl_cache_null trick (https://gist.github.com/jj1bdx/0f273ba8f9d445a41e4807932c2543f7) but no changes.
As I'm setting up 10k connections then just use them, I was expecting to have small performance impact.
Now looking at erlang releases notes, I see erlang 21.2 & 21.3 bring ssl improvements, but I'm already using 22.0.
Hello tsung team and users
I'm trying to use tsung to do some simple HTTP/HTTPS bench, 10k users each doing ~1req/s, around 30Gbit/s of traffic. When using HTTP, the tsung server uses around 20% of CPU, just switching to HTTPS, it uses 60/65% of CPU. Looking with
perf top
:with ssl
without ssl
openssl doesn't seems to be consuming much CPU, most of it is in erlang.
My tsung server is running CentOS8, erlang 22.0.7-1.el8, tsung 1.7.0.
I've tried ssl_cache_null trick (https://gist.github.com/jj1bdx/0f273ba8f9d445a41e4807932c2543f7) but no changes.
As I'm setting up 10k connections then just use them, I was expecting to have small performance impact.
Now looking at erlang releases notes, I see erlang 21.2 & 21.3 bring ssl improvements, but I'm already using 22.0.
My questions:
As I'm an Erlang noob, any guidance on how to investigate this performance issue is welcome
Here my config:
Thanks
Etienne
The text was updated successfully, but these errors were encountered: