Improving performance?
Quoted 1 line · Lasse Jensen
I havent tested my current setup this way, but my old setup, RAID first, then encryption worked fine.
RAID first, den ecryption works for me, too.
But testing the ecrypting drives seperately, then RAID approach failed. What good is fast performance if the RAID 5 does not work? :D
Quoted 24 lines
dmcrypt/luks is used on top of the raid. The performance of the i5 is not great, despite hardware aes. Should not be this numbers a bit higher than 158 MB/sec?
~/httptunnel-3.3/ hdparm -t --direct
/dev/md1
/dev/md1:
TimingO_DIRECTdisk reads: 936 MB in 3.00 seconds = 311.67 MB/sec~/httptunnel-3.3/ hdparm -t --direct
/dev/mapper/evol
/dev/mapper/evol:
TimingO_DIRECTdisk reads: 476 MB in 3.01 seconds = 158.30 MB/seccat
/proc/cpuinfo| grep -E (model name|aes)
model name : Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lmconstant_tscarch_perfmonpebs btsrep_goodxtopologynonstop_tscaperfmperf pni pclmulqdq dtes64 monitords_cplvmx smx est tm2 ssse3 cx16 xtpr pdcmsse4_1sse4_2popcnt aeslahf_lmida arat dtstpr_shadowvnmi flexpriority ept vpid
Quoted 2 lines
Well, it's still a lot better than my setup. Have you got any idea how much power your system uses idle and under load?
I am afraid I cannot unplug the server right now and I do not have an ampere meter lying around.
But I went for a 32nm dual-core-CPU, a small motherboard with lots of sata plugs and an efficient power supply, so I figured you can not get much better power consumption wise.
Forgot to mention, the above hdparam -t result is for cipher mode: xts-plain64 and AES-256.
Regards,
Markus Krainz
Quoted 8 lines · Markus Krainz
Quoted 2 lines · Lasse Jensen
I havent tested my current setup this way, but my old setup, RAID first, then encryption worked fine.
RAID first, den ecryption works for me, too.
But testing the ecrypting drives seperately, then RAID approach failed. What good is fast performance if the RAID 5 does not work? :D
I Have not tried encytion first, but I have several 3-way RAID1 with RAID first runnign without a problem for > 2 years now. (It is partition RAID1, only 3 disks involved.)
I would imagine that encryption-first is a bit of a risk until the kernel barriers have been cleaned up. BTW, I see significantly better behavior with 2.6.36. Hope they manage to clean this mess up by 2.6.37. The kernel used to be tunable to not slow to a crawl when writing large amounts of data onto slow devices. One of the ugly secrets up to 2.6.35.
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier
FYI guys, there is a patch that hasn't yet been accepted into the linux kernel --->
https://patchwork.kernel.org/patch/244031/
Quoted 3 lines · dave b
FYI guys, there is a patch that hasn't yet been accepted into the linux kernel --->
https://patchwork.kernel.org/patch/244031/
Yes, we know :-)
AS far as I've read, it has one minor flaw which must be fixed before it gets accepted and merged into the kernel. I have used it over some months now, with good improvement and zero problems.