From owner-freebsd-current@FreeBSD.ORG Tue Mar 9 09:07:55 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890911065676 for ; Tue, 9 Mar 2010 09:07:55 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail2.rabson.org (mail2.rabson.org [83.222.226.140]) by mx1.freebsd.org (Postfix) with ESMTP id 394A28FC16 for ; Tue, 9 Mar 2010 09:07:55 +0000 (UTC) Received: from macpro.dyn.rabson.org (router.rabson.org [80.177.232.241]) by mail2.rabson.org (Postfix) with ESMTPSA id 1042236; Tue, 9 Mar 2010 09:07:53 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Doug Rabson In-Reply-To: <4B95920C.5000909@jrv.org> Date: Tue, 9 Mar 2010 09:07:52 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <89BC6265-4DB4-46A2-A01E-80FDA6E7377B@rabson.org> References: <4B934015.8000908@gmail.com> <4B934354.4030002@elischer.org> <20100307184422.7007747d.nork@FreeBSD.org> <4B93E96B.8090002@gmail.com> <20100309080951.b1a37510.nork@FreeBSD.org> <4B95920C.5000909@jrv.org> To: James R. Van Artsdalen X-Mailer: Apple Mail (2.1077) Cc: David Ehrmann , freebsd-current@FreeBSD.org, Norikatsu Shigemura , Julian Elischer Subject: Re: Core i5 AES acceleration 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: Tue, 09 Mar 2010 09:07:55 -0000 On 9 Mar 2010, at 00:10, James R. Van Artsdalen wrote: > Norikatsu Shigemura wrote: >> According to http://en.wikipedia.org/wiki/AES-NI , we can get >> specification document: http://software.intel.com/file/20457 . >>=20 >> I saw it, and consider that we can release under BSDL. Because >> of 'from specification'. >=20 > That document is short on details, such as the opcodes and machine > implementation details (flags, etc). >=20 > The XMM registers are used. That may be a problem for kernel code. >=20 > When last I looked openssl did not use /dev/crypt - it's not clear how > big the benefit would be from doing this if nothing that uses openssl = wins. >=20 > It might be more beneficial to FreeBSD to patch openssl to use > /dev/crypt. If it turns out to not be a significant win then that = might > hint that the AES opcodes won't be significant win in general either. The in-kernel kerberos code for NFS would also benefit since it uses the = crypto framework.