lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110106.184302.193709839.davem@davemloft.net>
Date:	Thu, 06 Jan 2011 18:43:02 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	herbert@...dor.apana.org.au
Cc:	torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
	linux-crypto@...r.kernel.org
Subject: Re: Crypto Update for 2.6.38

From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 7 Jan 2011 11:14:59 +1100

> Anyway, here is a test program that does a set number (1024 * 1024)
> of 4096-byte (total 4GB) encryptions with libssl and kernel crypto.
> The result on my Core 2 (in a KVM VM FWIW) is:
> 
> lenny0:~# time ./test_crypto > /dev/null 
> 
> real    0m30.340s
> user    0m0.172s
> sys     0m30.166s
> lenny0:~# time ./test_crypto software > /dev/null 
> 
> real    0m34.555s
> user    0m34.550s
> sys     0m0.004s
> lenny0:~# 
> 
> I'm not claiming these numbers make any sense but this is just
> a ballpark figure.
> 
> Dave, can you run this program on your N2 and see what it shows?

Sure, here goes, BTW I had to change the buffer size to 8192 since
vmsplice requires page aligned operation (I was getting -EINVAL
otherwise):

davem@...amba:~$ time ./crypto_user_test >/dev/null

real		 0m46.586s
user		 0m3.280s
sys		 0m43.230s
davem@...amba:~$ time ./crypto_user_test software >/dev/null

real		 10m40.336s
user		 10m40.540s
sys		 0m0.000s
davem@...amba:~$   

What's that, something like a factor of 13 faster? :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ