Hello
I've got an E3-1240, 3.4Ghz quad core xeon with the AESNI instructionset.
I'm getting no more than 180mb/sec encryption with GELI, without a filesystem involved.
In this test I enable the geom_zero device, encrypt it, read from it and dump the encrypted data to /dev/null.
I also tried encrypting an SSD with ZFS on and got about the same speed as above.
For comparison sake, using DiskCryptor on the same machine in Windows I get up to 5.3 GIGABYTE / second in benchmarking tests using AES-XTS, and the absolute slowest speed is
I'm obviously missing something here... guessing that DiskCryptor is misrepresenting the encryption speed somewhat, but... looking around on Google I see 2.4gb/sec in TrueCrypt.
So... am I benchmarking the wrong way in FreeBSD? Any ideas on how to speed this up?
170mb/sec isn't going to cut it when split over 20 disks...
I've got an E3-1240, 3.4Ghz quad core xeon with the AESNI instructionset.
I'm getting no more than 180mb/sec encryption with GELI, without a filesystem involved.
In this test I enable the geom_zero device, encrypt it, read from it and dump the encrypted data to /dev/null.
Code:
# kldload aesni
# kldload geom_eli
# kldload geom_zero
# geli onetime -s 4096 gzero
# sysctl kern.geom.zero.clear=0
# geli list gzero.eli
Geom name: gzero.eli
State: ACTIVE
EncryptionAlgorithm: AES-XTS
KeyLength: 128
Crypto: hardware
Flags: ONETIME
KeysAllocated: 2
KeysTotal: 268435456
Providers:
1. Name: gzero.eli
Mediasize: 1152921504606846976 (1.0E)
Sectorsize: 4096
Mode: r0w0e0
Consumers:
1. Name: gzero
Mediasize: 1152921504606846976 (1.0E)
Sectorsize: 512
Mode: r1w1e1
# dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096
4096+0 records in
4096+0 records out
4294967296 bytes transferred in 24.186710 secs (177575508 bytes/sec)
I also tried encrypting an SSD with ZFS on and got about the same speed as above.
For comparison sake, using DiskCryptor on the same machine in Windows I get up to 5.3 GIGABYTE / second in benchmarking tests using AES-XTS, and the absolute slowest speed is
I'm obviously missing something here... guessing that DiskCryptor is misrepresenting the encryption speed somewhat, but... looking around on Google I see 2.4gb/sec in TrueCrypt.
So... am I benchmarking the wrong way in FreeBSD? Any ideas on how to speed this up?
170mb/sec isn't going to cut it when split over 20 disks...