gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Size of Libgcrypt (and other libraries) and subsequent performance


From: Simon Josefsson
Subject: Re: Size of Libgcrypt (and other libraries) and subsequent performance
Date: Thu, 24 Apr 2008 12:30:33 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Simon Josefsson <address@hidden> writes:

>> address@hidden:~/Atemp/SSLExamples$ time ./gnutls/client
>> Finished
>>
>> real    0m0.294s
>> user    0m0.046s
>> sys     0m0.092s
>> address@hidden:~/Atemp/SSLExamples$ time ./openssl/client
>> FINISHED
>>
>> real    0m0.117s
>> user    0m0.004s
>> sys     0m0.004s
>
> Thanks for providing these test cases!  I'll see if I can reproduce your
> values, and if I can optimize anything.

Running wireshark reveals that gnutls sends each of the handshake
packets in separate TCP packets, but openssl combines them and sends
them in one TCP packet.  I'm not sure how much overhead this generates,
but since network traffic is involved, it may be significant.

Anyway, running callgrind on these binaries would be interesting... next
step.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]