Date: Sat, 04 Feb 2012 09:51:20 -0800 From: Dennis Glatting <freebsd@pki2.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-amd64@freebsd.org Subject: Re: aesni module with AMD CPUs? Message-ID: <1328377880.14163.22.camel@btw.pki2.com> In-Reply-To: <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> <20120204170431.GT3283@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2012-02-04 at 19:04 +0200, Konstantin Belousov wrote: > 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 reports. > > > > > > > > > > > > > > > > > > > > #1: > > > > > > > > > > CPU: AMD FX(tm)-8150 Eight-Core Processor (4017.99-MHz > > > > > K8-class CPU) > > > > > Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 > > > > > Stepping = 2 > > > > > > > > > > Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > > > > > > > > > > Features2=0x1698220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,AVX> > > > > > ------------------------------------------------------------------------^^^^^ > > > > > AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> > > > > > AMD > > > > > Features2=0x1c9bfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,<b23>,<b24>> > > > > > > > > > > > > > > > And > > > > > > > > > > > > > > > #2: > > > > > > > > > > > > > > > CPU: AMD Opteron(TM) Processor 6274 (2200.07-MHz > > > > > K8-class CPU) > > > > > Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 > > > > > Stepping = 2 > > > > > > > > > > Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > > > > > > > > > > Features2=0x1698220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,AVX> > > > > > ------------------------------------------------------------------------^^^^^ > > > > > AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> > > > > > AMD > > > > > Features2=0x1c9bfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,<b23>,<b24>> > > > > > > > > > > > > > So did you tried to kldload aesni(4) ? > > > > > > > > > On the 8150: > > > > > > bd3# cd /boot/kernel > > > bd3# kldload aesni > > > bd3# kldstat | grep aesni > > > 8 1 0xffffffff81768000 1a2b aesni.ko > > > > > > 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. > cryptosoft0: <software crypto> on motherboard aesni0: <AES-CBC,AES-XTS> on motherboard > > > > > > That system: > > > > > > 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# > > > > > > > > > Opps. I forgot some details related to the 8150 that might be of > > interest since you are considering them. > > > > 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. > > > > The 6274 system has two 16-core CPUs with 32GB of memory, growing as > > income allows. > > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1328377880.14163.22.camel>