aesni module with AMD CPUs?

Konstantin Belousov kostikbel at gmail.com
Sat Feb 4 17:04:36 UTC 2012


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.

> > 
> > That system:
> > 
> > bd3# uname -a
> > FreeBSD bd3 9.0-STABLE FreeBSD 9.0-STABLE #1: Sun Jan 29 20:27:12 PST
> > 2012     root at 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.
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20120204/402e76f8/attachment.pgp


More information about the freebsd-amd64 mailing list