A bit of benchmarking ...

Andreas Schneider asn at samba.org
Wed Feb 27 14:50:45 UTC 2019


Hello,

as you might have noticed from my commits, I'm working on migrating Samba to 
GnuTLS. I've already done some work and there is still a lot ahead, but as 
I've migrated SMB3 encryption the last days I've did a bit of benchmarking ...

https://hackmd.io/s/S1bJnG4IN#

callgrind output as requested by metze is here:

https://xor.cryptomilk.org/samba/crypto/

The numbers for gnutls could be a bit better, I need to malloc buffers and 
memcpy vectors into them.

Lately they added a gnutls_aead_cipher_encryptv() so we could pass in the 
vector directly. However they don't work inplace and there is no decryptv 
function. So I've opened bugs so we get better APIs.

https://gitlab.com/gnutls/gnutls/issues/717
https://gitlab.com/gnutls/gnutls/issues/718
https://gitlab.com/gnutls/gnutls/issues/719


Best regards,


	Andreas

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list