From owner-freebsd-current@FreeBSD.ORG Tue May 20 02:52:08 2003 Return-Path: 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 A82FF37B401 for ; Tue, 20 May 2003 02:52:08 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A788E43FA3 for ; Tue, 20 May 2003 02:52:07 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4K9q3C2031415; Tue, 20 May 2003 11:52:03 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Heiko Schaefer From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 20 May 2003 11:08:07 +0200." <20030520105030.U60060@daneel.foundation.hs> Date: Tue, 20 May 2003 11:52:03 +0200 Message-ID: <31414.1053424323@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: gbde performance question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 20 May 2003 09:52:08 -0000 In message <20030520105030.U60060@daneel.foundation.hs>, Heiko Schaefer writes: >i figure this is the amount of cpu time that is used by raw number >crunching (and for example does not include disk-io or anything of that >sort). that would mean that ~1/3 of my cpu can do ~8 MB/s of gbde's >crypto. if so, i could estimate that gbde can theoretically process >roughly 25MB/s on this athlon 1800+. > >that looks like an rather low number to me. sites such as > >http://www.tcs.hut.fi/~helger/aes/rijndael.html > >suggest that on a cpu of that speed, memory bandwidth should be the >limiting factor when using AES/Rijndael. > >am i overlooking something ?! Make sure you use as large as possible a sectorisize on your GBDE devices, you set this with "gbde init /dev/bla -i", this does affect your performance a fair bit. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.