Hello everyone,
I'm using disk encyption with an AMD A4-5000 cpu with aes support in hardware.
I noticed that the encryption under Win7 SP1 mit TrueCrypt 7.1a (using AES) is way faster than under N4F, so I do same research.
In FreeBSD 10 the aesni module has been improved to use pipelining.
Would be nice to see this update in on of the next releases.
http://forums.freebsd.org/viewtopic.php ... es#p245898
https://wiki.freebsd.org/WhatsNew/FreeBSD10 [see Improved AES-NI support]
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
[Suggestion] Improved AES-NI support
-
tron44
- Starter

- Posts: 34
- Joined: 18 Feb 2013 20:04
- Status: Offline
-
ex0r
- NewUser

- Posts: 1
- Joined: 17 Dec 2014 22:24
- Status: Offline
Re: [Suggestion] Improved AES-NI support
Hello!
I have the same problem and the same processor. Its a nice SOC for nas applications.
Without AES i reach nearly full gigabit speed (maximum speed equals max. hdd speed).
But with 128bit AES XTC and CBC only ca. 50MB/s read/write.
Specs:
Asrok QC5000-ITX/PH with AMD A4-5000 APU
8GB DDR3 1600Mhz Non ECC
Be quiet! System Power 7 300W
Update: FreeNas works fine! See: https://forums.freenas.org/index.php?th ... ost-161250
I have the same problem and the same processor. Its a nice SOC for nas applications.
Without AES i reach nearly full gigabit speed (maximum speed equals max. hdd speed).
But with 128bit AES XTC and CBC only ca. 50MB/s read/write.
Specs:
Asrok QC5000-ITX/PH with AMD A4-5000 APU
8GB DDR3 1600Mhz Non ECC
Be quiet! System Power 7 300W
Update: FreeNas works fine! See: https://forums.freenas.org/index.php?th ... ost-161250
-
noclaf
- experienced User

- Posts: 116
- Joined: 08 Dec 2013 12:37
- Status: Offline
Re: [Suggestion] Improved AES-NI support
Thumbs up for AES-NI support! Only 68MB/s write with G2020 due to 100% CPU load. I do have 3570T @home, but no point until AES-NI is supported.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: [Suggestion] Improved AES-NI support
Did you try to load aesni.ko?
Under 9.3.0.2, you can load it from CLI.
# kldload aesni
Under 9.3.0.2, you can load it from CLI.
# kldload aesni
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
tron44
- Starter

- Posts: 34
- Joined: 18 Feb 2013 20:04
- Status: Offline
Re: [Suggestion] Improved AES-NI support
I think that the aesni.ko is loaded.
dmesg ouput:
dmesg ouput:
Code: Select all
aesni0: <AES-CBC,AES-XTS> on motherboard
GEOM_ELI: Device ada0.eli created.
GEOM_ELI: Encryption: AES-CBC 128
GEOM_ELI: Crypto: hardware