From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f209.google.com (mail-bw0-f209.google.com [209.85.218.209]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 23 Apr 2010 00:18:10 +0200 (CEST) Received: by bwz1 with SMTP id 1so8733230bwz.22 for ; Thu, 22 Apr 2010 15:18:10 -0700 (PDT) Sender: Richard Zidlicky Date: Fri, 23 Apr 2010 00:20:49 +0200 From: Richard Zidlicky Message-ID: <20100422222049.GB15879@linux-m68k.org> References: <20100422004842.5eb40c0a@gmail.com> <4BCF8371.60306@redhat.com> <20100422010328.05990873@gmail.com> <20100422021752.GA7060@tansi.org> <4BD00C01.7050603@aktivix.org> <20100422221237.477736d1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100422221237.477736d1@gmail.com> Subject: Re: [dm-crypt] LUKS - SSD trim List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Felix Blanke Cc: dm-crypt@saout.de On Thu, Apr 22, 2010 at 10:12:37PM +0200, Felix Blanke wrote: > scooter ~ # hdparm -tT /dev/sdb3 > > /dev/sdb3: > Timing cached reads: 18686 MB in 2.00 seconds = 9354.32 MB/sec > Timing buffered disk reads: 758 MB in 3.00 seconds = 252.61 MB/sec > > scooter ~ # hdparm -tT /dev/mapper/ssd > > /dev/mapper/ssd: > Timing cached reads: 17432 MB in 2.00 seconds = 8725.18 MB/sec > Timing buffered disk reads: 158 MB in 3.02 seconds = 52.36 MB/sec > > > The first value is perfect, then second one really sucks. > Obv. /dev/mapper/ssd is the decrypted /dev/sdb3 > > Any idea about that? dm-crypt is slow - and when it is read I don't think alignment will do any difference. loop-AES might be faster. Richard