From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 4 17:04:36 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 820F0106566C for ; Sat, 4 Feb 2012 17:04:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 101E98FC0C for ; Sat, 4 Feb 2012 17:04:35 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q14H4VRQ024120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Feb 2012 19:04:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q14H4Vuf045655; Sat, 4 Feb 2012 19:04:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q14H4VAj045654; Sat, 4 Feb 2012 19:04:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Feb 2012 19:04:31 +0200 From: Konstantin Belousov To: Dennis Glatting Message-ID: <20120204170431.GT3283@deviant.kiev.zoral.com.ua> References: <4F2CFFC3.30909@gurgelmail.com> <20120204124952.GK3283@deviant.kiev.zoral.com.ua> <7e0e01cc2b957c417a3f69232b33ebe0@antiszoc.hu> <1328372906.15339.98.camel@btw.pki2.com> <20120204163303.GR3283@deviant.kiev.zoral.com.ua> <1328373505.14163.8.camel@btw.pki2.com> <1328373948.14163.13.camel@btw.pki2.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xt4oM5y0t/70YhQj" Content-Disposition: inline In-Reply-To: <1328373948.14163.13.camel@btw.pki2.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org Subject: Re: aesni module with AMD CPUs? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 17:04:36 -0000 --xt4oM5y0t/70YhQj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2012 at 08:45:48AM -0800, Dennis Glatting wrote: > On Sat, 2012-02-04 at 08:38 -0800, Dennis Glatting wrote: > > On Sat, 2012-02-04 at 18:33 +0200, Konstantin Belousov wrote: > > > On Sat, Feb 04, 2012 at 08:28:26AM -0800, Dennis Glatting wrote: > > > > I am confused by the Bulldozer comment and what FreeeBSD 9.0 report= s. > > > >=20 > > > >=20 > > > >=20 > > > > #1: > > > >=20 > > > > CPU: AMD FX(tm)-8150 Eight-Core Processor (4017.99-MHz > > > > K8-class CPU) > > > > Origin =3D "AuthenticAMD" Id =3D 0x600f12 Family =3D 15 Model = =3D 1 > > > > Stepping =3D 2 > > > >=20 > > > > Features=3D0x178bfbff > > > >=20 > > > > Features2=3D0x1698220b > > > > -------------------------------------------------------------------= -----^^^^^ > > > > AMD Features=3D0x2e500800 > > > > AMD > > > > Features2=3D0x1c9bfff,> > > > >=20 > > > >=20 > > > > And > > > >=20 > > > >=20 > > > > #2: > > > >=20 > > > >=20 > > > > CPU: AMD Opteron(TM) Processor 6274 (2200.07-MHz > > > > K8-class CPU) > > > > Origin =3D "AuthenticAMD" Id =3D 0x600f12 Family =3D 15 Model = =3D 1 > > > > Stepping =3D 2 > > > >=20 > > > > Features=3D0x178bfbff > > > >=20 > > > > Features2=3D0x1698220b > > > > -------------------------------------------------------------------= -----^^^^^ > > > > AMD Features=3D0x2e500800 > > > > AMD > > > > Features2=3D0x1c9bfff,> > > > >=20 > > >=20 > > > So did you tried to kldload aesni(4) ? > >=20 > >=20 > > On the 8150: > >=20 > > bd3# cd /boot/kernel > > bd3# kldload aesni > > bd3# kldstat | grep aesni > > 8 1 0xffffffff81768000 1a2b aesni.ko > >=20 > > Any other test you want me to try? The 6274 system if busy but I'll try > > the load if you want. What is written into dmesg after the load ? Try to restart sshd and log into the system over ssh after aesni(4) and cryptodev(4) modules are loaded. > >=20 > > That system: > >=20 > > bd3# uname -a > > FreeBSD bd3 9.0-STABLE FreeBSD 9.0-STABLE #1: Sun Jan 29 20:27:12 PST > > 2012 root@bd3:/sys/amd64/compile/SMUNI amd64 > > bd3# > >=20 >=20 >=20 > Opps. I forgot some details related to the 8150 that might be of > interest since you are considering them. >=20 > I have four 8150 systems, three slightly over clocked to 4GHz, two > liquid cooled. Three are using the GigaByte GA-990FXA-UD7 MB and the > last a ASUS Crosshair V FORMULA. 16GB of memory in each. >=20 > The 6274 system has two 16-core CPUs with 32GB of memory, growing as > income allows. >=20 >=20 >=20 --xt4oM5y0t/70YhQj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk8tZR4ACgkQC3+MBN1Mb4jrcwCgljDE1pjNETdLWCbjCWOf/eMR LckAoNcmQ+ksp/slvGIGb5LCHU01pv62 =xysy -----END PGP SIGNATURE----- --xt4oM5y0t/70YhQj--