From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 12 19:32:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42475106566B for ; Sat, 12 Jul 2008 19:32:24 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from nexus.in-nomine.org (dhammapada.xs4all.nl [82.95.168.248]) by mx1.freebsd.org (Postfix) with ESMTP id F24FD8FC17 for ; Sat, 12 Jul 2008 19:32:23 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from localhost (localhost.domini.in-nomine.org [127.0.0.1]) by nexus.in-nomine.org (Postfix) with ESMTP id E7AB2D821; Sat, 12 Jul 2008 21:32:22 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at in-nomine.org Received: from nexus.in-nomine.org ([127.0.0.1]) by localhost (nexus.domini.in-nomine.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tQGdf09Xgajj; Sat, 12 Jul 2008 21:32:21 +0200 (CEST) Received: by nexus.in-nomine.org (Postfix, from userid 1000) id DE2BED81C; Sat, 12 Jul 2008 21:32:21 +0200 (CEST) Date: Sat, 12 Jul 2008 21:32:21 +0200 From: Jeroen Ruigrok van der Werven To: tomrapier Message-ID: <20080712193221.GA27106@nexus.in-nomine.org> References: <20080712185109.42684B64134@gateway.mailvault.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080712185109.42684B64134@gateway.mailvault.com> Organisation: Ninth Circle Enterprises User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org, patfbsd@davenulle.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) - invalid engine "cryptodev" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2008 19:32:24 -0000 -On [20080712 21:28], tomrapier (tomrapier@mailvault.com) wrote: >I'm having trouble with the OpenSSL benchmark. It isn't able to load >cryptodev. Output attached. > >Any pointers? >$ kldstat >Id Refs Address Size Name > 1 6 0xc0400000 906578 kernel > 2 1 0xc2553000 3000 pflog.ko > 3 1 0xc2556000 33000 pf.ko > 4 1 0xc2e07000 5000 glxsb.ko > 5 1 0xc2e0c000 23000 crypto.ko > 6 1 0xc2e2f000 a000 zlib.ko How about: kldload cryptodev? [21:30] [asmodai@nexus] (0) {0} % sudo kldload cryptodev Password: (~) [21:31] [asmodai@nexus] (0) {0} % openssl speed -engine cryptodev -elapsed -evp aes-128-cbc aes-128-cbc engine "cryptodev" set. You have chosen to measure elapsed time instead of user CPU time. To get the most accurate results, try to run this program when this computer is idle. Doing aes-128 cbc for 3s on 16 size blocks: 7539390 aes-128 cbc's in 3.00s -- Jeroen Ruigrok van der Werven / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Yet each man kills the thing he loves...