From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 13 07:34:48 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F0D18E1 for ; Sat, 13 Sep 2014 07:34:48 +0000 (UTC) Received: from puchar.net (puchar.net [188.252.31.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C763A8E2 for ; Sat, 13 Sep 2014 07:34:47 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.14.9/8.14.9) with ESMTP id s8D7YaxC092461; Sat, 13 Sep 2014 09:34:36 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: puchar.net: Host puchar-wojtek.intra [10.0.224.6] claimed to be wojtek.dom Received: from wojtek.dom (localhost [127.0.0.1]) by wojtek.dom (8.14.9/8.14.9) with ESMTP id s8D7YabT018155; Sat, 13 Sep 2014 09:34:36 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.dom (8.14.9/8.14.9/Submit) with ESMTP id s8D7YZsg018152; Sat, 13 Sep 2014 09:34:35 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.dom: wojtek owned process doing -bs Date: Sat, 13 Sep 2014 09:34:35 +0200 (CEST) From: Wojciech Puchar X-X-Sender: wojtek@wojtek.dom To: John-Mark Gurney Subject: Re: openssl with aes-in or padlock In-Reply-To: <20140912004541.GQ82175@funkthat.com> Message-ID: References: <20140911180258.GN82175@funkthat.com> <20140912004541.GQ82175@funkthat.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (puchar.net [10.0.1.1]); Sat, 13 Sep 2014 09:34:36 +0200 (CEST) Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 07:34:48 -0000 >> MUCH faster with AES-NI. > > Well, AES-NI CBC may be faster w/ AES-NI, but it's not as fast as using > another mode... AES-XTS should be many times faster than CBC... Also, 30% maybe with geli. > above you compared two different modes... on CBC encrypt (the OpenSSL > test) and CBC decrypt (the geli test) so of course you're going to get > very different performances... > > You didn't tell me if you're using a new enough version of OpenSSL or > not.. What release are you using? iirc, 10.0-R was the first release OpenSSL 1.0.1e-freebsd 11 Feb 2013