From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ggz5jkqZL33L for ; Mon, 23 Jul 2012 23:31:48 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 23 Jul 2012 23:31:47 +0200 (CEST) Message-ID: <500DC2B0.8060409@redhat.com> Date: Mon, 23 Jul 2012 23:31:28 +0200 From: Milan Broz MIME-Version: 1.0 References: <20120722190757.GB10089@merlins.org> <20120722202213.GA7306@fancy-poultry.org> <20120722190757.GB10089@merlins.org> <1342986452.26887.3.camel@scapa> <20120722203929.GB3925@merlins.org> <20120722214757.GA16793@tansi.org> <20120723062850.GA6931@merlins.org> <20120723081407.GA872@tansi.org> <20120723161242.GB27727@merlins.org> <500D86AC.7090100@redhat.com> <20120723175129.GA15867@merlins.org> In-Reply-To: <20120723175129.GA15867@merlins.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] aes-xts-plain with aes_x86_64 makes my SSD 5x slower than my encrypted HD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc MERLIN Cc: dm-crypt@saout.de, Yves-Alexis Perez On 07/23/2012 07:51 PM, Marc MERLIN wrote: > On Mon, Jul 23, 2012 at 07:15:24PM +0200, Milan Broz wrote: >>> Mmmh, I have one possible thing. I have a preempt kernel. Could that be it? >>> http://marc.merlins.org/tmp/config-3.4.4-amd64-preempt.txt >> >> Can you send me your kernel .config then? Preempt should not be problem. >> Which kernel version? which architecture? Any additional patches over >> mainline code? > > I just sent you my config, it was in the URL above :) > No patches, kernel 3.4.4 from kernel.org, see above. Ehm... sorry, I completely missed that. Thanks. > Really? > I used fdisk -H32 -S32 /dev/sda as recomended on > http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ Do not use -H32 -S32. It is crazy and obsolete way how to align it... Someone is wrong in the internet seems http://xkcd.com/386/ ;-) Disk driver should set topology parameters which fdisk uses. But for your case all is set to 512 bytes... Whatever, there was a bug in fdisk, fixed now thanks to your report :) https://github.com/karelzak/util-linux/commit/c0175e6185ac81843cbad33cbea75abd033f0e66 > Thanks for the other suggestions. Hopefully we'll nail this somehow :) Well, please try some default distro compiled kernel if you can reproduce it there. Milan