All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Poor performane (idle cpu)
@ 2010-02-08  1:16 Jakob Sandgren
  2010-02-08  1:50 ` Arno Wagner
  2010-02-08 23:54 ` Jakob Sandgren
  0 siblings, 2 replies; 7+ messages in thread
From: Jakob Sandgren @ 2010-02-08  1:16 UTC (permalink / raw)
  To: dm-crypt

Hi,

I'm using dm-crypt for several mappings with a hardware raid backend. 
Using a raw read from the raid device (e.g sda) gives ~250MB/s

But when I read from an encrypted mapping, I just get ~70MB/s. That
should be fine if I at least have the kcryptd process using a core at
100%, but that is not the case. Three of my four cores is 99% idle and
one core is 50% idle (aprox.).

I have recently upgraded my hardware from an older quadcore system
(AMD) to a new Core I7 (860) and expected improved performance and
when I did not get that, then did I do some more investegation and
found out above. I have also read posts from others having the same
problems, but no explanation.

Anyone who has an explanation for this or a hint if one could
"tune" anything to get better performance? 

Output from "cryptsetup status":

/dev/mapper//dev/mapper/shared1 is active:
  cipher:  aes-cbc-essiv:sha256
  keysize: 128 bits
  device:  /dev/mapper/areca_0_1-shared1_raw
  offset:  1032 sectors
  size:    3145726968 sectors
  mode:    read/write


Best Regards,
Jakob


-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-09 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08  1:16 [dm-crypt] Poor performane (idle cpu) Jakob Sandgren
2010-02-08  1:50 ` Arno Wagner
2010-02-08 23:54 ` Jakob Sandgren
2010-02-09  0:28   ` Arno Wagner
2010-02-09 14:48     ` [dm-crypt] Poor performane (idle cpu) [SOLVED; problem with "pv"] Jakob Sandgren
2010-02-09 16:14       ` Arno Wagner
2010-02-09 16:16       ` M Thomas Frederiksen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.