From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.southpole.se (mail.southpole.se [193.12.106.18]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 8 Feb 2010 02:16:55 +0100 (CET) Received: from assp.southpole.se (localhost [127.0.0.1]) by mail.southpole.se (Postfix) with SMTP id 0F433344026 for ; Mon, 8 Feb 2010 02:16:43 +0100 (CET) Date: Mon, 8 Feb 2010 02:16:54 +0100 From: Jakob Sandgren Message-ID: <20100208011654.GA4927@southpole.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [dm-crypt] Poor performane (idle cpu) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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 --