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 8iH5DPzyvO4I for ; Tue, 24 Jul 2012 16:58:21 +0200 (CEST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 24 Jul 2012 16:58:21 +0200 (CEST) Date: Tue, 24 Jul 2012 16:58:17 +0200 From: Heinz Diehl Message-ID: <20120724145817.GC21730@fancy-poultry.org> References: <20120722214757.GA16793@tansi.org> <20120723062850.GA6931@merlins.org> <20120723081407.GA872@tansi.org> <20120723161242.GB27727@merlins.org> <500D86AC.7090100@redhat.com> <20120723175129.GA15867@merlins.org> <500DC2B0.8060409@redhat.com> <20120724055722.GA15507@merlins.org> <500EA8FE.3010303@redhat.com> <20120724142753.GA21730@fancy-poultry.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120724142753.GA21730@fancy-poultry.org> 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: Milan Broz Cc: dm-crypt@saout.de On 24.07.2012, Heinz Diehl wrote: [....] And that's obviously not all. The problem occurs also with _unencrypted_ partitions/devices, here's the proof (/dev/sda1 is a 500M ext2 partition mounted on /boot; using the same Hitachi rotational drive as in my previous test): [root@wildsau /]# blockdev --setra 8192 /dev/sda1 [root@wildsau /]# hdparm -t /dev/sda1 Timing buffered disk reads: 236 MB in 3.00 seconds = 78.57 MB/sec [root@wildsau /]# blockdev --setra 0 /dev/sda1 [root@wildsau /]# hdparm -t /dev/sda1 Timing buffered disk reads: 26 MB in 3.05 seconds = 8.51 MB/sec [root@wildsau /]# blockdev --setra 0 /dev/sda1 [root@wildsau /]# hdparm --direct -t /dev/sda1 Timing O_DIRECT disk reads: 236 MB in 3.02 seconds = 78.09 MB/sec All this is on F17, with a vanilla 3.5 kernel from kernel.org (with just 3 own small patches wich do not touch code involved here).