Hi!

I mean that most of software which utilizes encryption relies on OpenSSL library. It looks that current version of OpenSSL in FreeBSD cannot use aesni as hardware accelerator, so all that software cannot benefit from using aesni.

On the other hand there is stuff like ipsec and geli which relies on crypto(9) framework. This may use aesni accelerator. Unfortunately the machine with Bulldozer that I have use neither of them so I cannot tell how significant improvement is.


On 03/10/2012 07:36 PM, 图潘 wrote:
What patches are you talking about? There is an official aesni driver
http://www.freebsd.org/cgi/man.cgi?query=aesni&sektion=4&manpath=FreeBSD+8.2-RELEASE
And it does work for intel.
Sorry I didnt quite understand you fully. Do you mean it does not work
in general?


On Sat, Mar 10, 2012 at 9:28 AM, Oleg Baranov<[email protected]>  wrote:
Hi!

aesni(4) driver detects the module on Bulldozer fine.
I was happy to see it first but then I found out that openssl that goes as
part of FreeBSD distribution lacks AESNI engine module.
There are some patches for bringing aesni into FreeBSD mentioned on forums
but this in not a production-system-running approach for me.
So the answer is YES - it exists, but right then NO - it does not work.



CPU: AMD FX(tm)-8120 Eight-Core Processor            (3110.48-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>>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16460046336 (15697 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table:<ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 8 core(s)
  cpu0 (BSP): APIC ID: 16
  cpu1 (AP): APIC ID: 17
  cpu2 (AP): APIC ID: 18
  cpu3 (AP): APIC ID: 19
  cpu4 (AP): APIC ID: 20
  cpu5 (AP): APIC ID: 21
  cpu6 (AP): APIC ID: 22
  cpu7 (AP): APIC ID: 23
ACPI Warning: Optional field Pm2ControlBlock has zero address or length:
0x0000000000000000/0x1 (20110527/tbfadt-586)
ioapic0<Version 2.1>  irqs 0-23 on motherboard
ioapic1<Version 2.1>  irqs 24-55 on motherboard
kbd1 at kbdmux0
cryptosoft0:<software crypto>  on motherboard
aesni0:<AES-CBC,AES-XTS>  on motherboard





On 03/10/2012 12:40 AM, 潘图 wrote:
Still no info on this?
I am also about to buy a bulldozer, but I need to know if the aesni driver
supports the bulldozer.
Please anyone already using it?


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "[email protected]"

Reply via email to