From owner-freebsd-current@FreeBSD.ORG Fri Aug 12 18:11:59 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35B7B16A41F; Fri, 12 Aug 2005 18:11:59 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C4C43D45; Fri, 12 Aug 2005 18:11:58 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j7CIAwD7043547; Fri, 12 Aug 2005 14:10:58 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.3/8.13.3) with ESMTP id j7CIBvud026382; Fri, 12 Aug 2005 14:11:57 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j7CIBuSA041645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Aug 2005 14:11:56 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20050812140558.07b1d738@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 12 Aug 2005 14:11:50 -0400 To: Pawel Jakub Dawidek , FreeBSD-current From: Mike Tancsa In-Reply-To: <20050812135624.GG25162@garage.freebsd.pl> References: <20050812134511.GE25162@garage.freebsd.pl> <20050812135624.GG25162@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.26 Cc: Subject: Re: VIA/ACE PadLock integration with crypto(9). X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 18:11:59 -0000 At 09:56 AM 12/08/2005, Pawel Jakub Dawidek wrote: >Whoa! This is nice: > > # geli onetime -s 32768 gzero > # dd if=/dev/gzero.eli of=/dev/null bs=32k count=20000 > 655360000 bytes transferred in 6.101517 secs (107409355 bytes/sec) Its pretty darn good speed wise to a normal drive on my one VIA box with AES 128. First is just a normal UFS mount, second is software crypto, 3rd is with padlock.ko loaded. Only ~ 30% performance penalty. 102400000 bytes transferred in 3.174018 secs (32261948 bytes/sec) R 102400000 bytes transferred in 3.095546 secs (33079786 bytes/sec) W 102400000 bytes transferred in 13.073072 secs (7832895 bytes/sec) R 102400000 bytes transferred in 14.170376 secs (7226343 bytes/sec) W 102400000 bytes transferred in 5.107234 secs (20049992 bytes/sec) R 102400000 bytes transferred in 4.585821 secs (22329699 bytes/sec) W Thats plenty good enough to saturate a 100Mb link. CPU: VIA C3 Nehemiah+RNG+ACE (1199.79-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x698 Stepping = 8 Features=0x381b83f real memory = 251592704 (239 MB) avail memory = 236720128 (225 MB) FreeBSD via-releng5.sentex.ca 7.0-CURRENT FreeBSD 7.0-CURRENT #1 ---Mike