DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Zidlicky <rz@linux-m68k.org>
To: Felix Blanke <felixblanke@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS - SSD trim
Date: Fri, 23 Apr 2010 00:20:49 +0200	[thread overview]
Message-ID: <20100422222049.GB15879@linux-m68k.org> (raw)
In-Reply-To: <20100422221237.477736d1@gmail.com>

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

  reply	other threads:[~2010-04-22 22:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 22:48 [dm-crypt] LUKS - SSD trim Felix Blanke
2010-04-21 23:00 ` Milan Broz
2010-04-21 23:03   ` Felix Blanke
2010-04-22  2:17     ` Arno Wagner
2010-04-22  8:42       ` mark
2010-04-22  9:37         ` Milan Broz
2010-04-22 20:12         ` Felix Blanke
2010-04-22 22:20           ` Richard Zidlicky [this message]
2010-04-22 22:22   ` Richard Zidlicky
2010-04-23  8:49     ` Milan Broz
2010-04-23 10:20       ` Mikko Rauhala
2010-04-23 11:13       ` Richard Zidlicky
2010-04-23 11:46         ` Milan Broz
2010-04-23 20:09           ` Richard Zidlicky
2010-04-23 20:45             ` Milan Broz
2010-04-23 22:59               ` Richard Zidlicky
2010-04-24 15:59                 ` Arno Wagner
2010-04-24 16:44                   ` Richard Zidlicky
2010-04-24 17:01                     ` Arno Wagner
2010-04-22  6:17 ` Heinz Diehl
2010-05-14  7:35 ` JG
  -- strict thread matches above, loose matches on Subject: below --
2010-05-27 13:14 Christoph Anton Mitterer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100422222049.GB15879@linux-m68k.org \
    --to=rz@linux-m68k.org \
    --cc=dm-crypt@saout.de \
    --cc=felixblanke@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox