[erlang-questions] enif_consume_timeslice performances
Max Lapshin
max.lapshin@REDACTED
Sat Jan 14 14:00:35 CET 2017
What do you call a "performance"?
Do you measure throughput on thousands of simultaneous connections? Or you
measure throughput on 2-3 simultaneous connections?
How do you simulate network drops?
On Thu, Jan 12, 2017 at 11:30 PM, Caragea Silviu <silviu.cpp@REDACTED>
wrote:
> Hello,
>
> I'm working on a TLS/DTLS library in top of BoringSSL/OpenSSL and gen_tcp.
> My goal is to have a interface compatible as much as I can with erlang ssl
> module.
>
> Project is located here: https://github.com/silviucpp/erltls and overall
> so far I have better performances results than ssl module. around 33 % on
> OSX and 18 % on ubuntu when using ssl as client for sending the requests
> (when using erltls as client boost is even more for example on mac around
> 60 %)
>
> To measure the performances I'm using : https://github.com/silviucpp/
> tls_bench
>
> During testing I observed that when using enif_consume_timeslice I have a
> drop off in performances for around 15 %. It's calling this method too
> heavy ? or the processes are suspended/resumed to many times and this
> affects the results?
>
> Silviu
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170114/93d86f8a/attachment.htm>
More information about the erlang-questions
mailing list