From owner-cvs-all@FreeBSD.ORG Tue Sep 7 19:02:02 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 438B216A4CE; Tue, 7 Sep 2004 19:02:02 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF9D543D31; Tue, 7 Sep 2004 19:02:01 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from melfina.ninth-nine.com ([IPv6:2002:d312:f91e::1]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i87J20xD096088; Wed, 8 Sep 2004 04:02:00 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Wed, 8 Sep 2004 04:02:00 +0900 From: Norikatsu Shigemura To: Sam Leffler Message-Id: <20040908040200.2d4ff128.nork@FreeBSD.org> In-Reply-To: <200409071835.i87IZ0Cr038021@repoman.freebsd.org> References: <200409071835.i87IZ0Cr038021@repoman.freebsd.org> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.4; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.5.6 (sakura.ninth-nine.com [IPv6:2002:db7f:4a79::1]); Wed, 08 Sep 2004 04:02:00 +0900 (JST) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/crypto Makefile cryptotest.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 19:02:02 -0000 On Tue, 7 Sep 2004 18:35:00 +0000 (UTC) Sam Leffler wrote: > sam 2004-09-07 18:35:00 UTC > FreeBSD src repository > Modified files: > tools/tools/crypto Makefile > Added files: > tools/tools/crypto cryptotest.c > Log: > new version of cryptotest (w/ only code from me) > Reviewed by: imp That's cool!! In my environment(vpn1401 - Hifn7955) $ ./cryptotest -z 1000 0.118 sec, 2000 des crypts, 8 bytes, 135357 byte/sec, 1.0 Mb/sec 0.119 sec, 2000 des crypts, 16 bytes, 268912 byte/sec, 2.1 Mb/sec (snip) 0.132 sec, 2000 aes crypts, 256 bytes, 3867625 byte/sec, 29.5 Mb/sec 0.150 sec, 2000 aes crypts, 512 bytes, 6839936 byte/sec, 52.2 Mb/sec 0.183 sec, 2000 aes crypts, 1024 bytes, 11201601 byte/sec, 85.5 Mb/sec 0.244 sec, 2000 aes crypts, 2048 bytes, 16809068 byte/sec, 128.2 Mb/sec 0.381 sec, 2000 aes crypts, 4096 bytes, 21529453 byte/sec, 164.3 Mb/sec 0.706 sec, 2000 aes crypts, 8192 bytes, 23215085 byte/sec, 177.1 Mb/sec (snip) > Revision Changes Path > 1.8 +1 -1 src/tools/tools/crypto/Makefile > 1.6 +582 -0 src/tools/tools/crypto/cryptotest.c (new) BTW, in 62 lines: * sha512 512--bit sha2 hmac ~~ Is ok? in 81 lines. What do you confirm these algorithm? * Expect ~400 Mb/s for a Broadcom 582x for 8K buffers on a reasonable CPU * (64-bit PCI helps). Hifn 7811 parts top out at ~110 Mb/s. I'm interested in.