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 Bi2MZRPdYlZI for ; Thu, 28 Jul 2011 15:20:54 +0200 (CEST) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 28 Jul 2011 15:20:54 +0200 (CEST) Received: by yxm8 with SMTP id 8so1728584yxm.37 for ; Thu, 28 Jul 2011 06:20:52 -0700 (PDT) Message-ID: <4E316232.9090506@gmail.com> Date: Thu, 28 Jul 2011 09:20:50 -0400 From: =?ISO-8859-1?Q?Jorge_F=E1bregas?= MIME-Version: 1.0 References: <4E309CC0.6010706@gmail.com> <4E311257.1030109@redhat.com> In-Reply-To: <4E311257.1030109@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] LUKS & TrueCrypt - Speed Test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 07/28/2011 03:40 AM, Milan Broz wrote: > echo 3 > /proc/ss/cm/drop_caches > > does the same in more controlled way Hello Milan, Arraign I didn't know that one. Good to know! > Can you use something more recent? There were huge changes. > The same for user space. I always stay with the stock kernel (Fedora 14) so I don't have to take care of bug-fixes & security-updates for the kernel :) ...but I'll try to run a newer kernel If I do the test again. > BTW do you know that TC7 uses dm-crypt as backend? So with the same > mode and alignemnt you should get the same results > (except chained ciphers in TC). I had no idea it used dm-crypt! That's great. > Perhaps because you tested different modes... Use the same mode > in cryptsetup > > cryptstup luksFormat -c aes-xts-plain64 -s 512 ... > > I would really wonder if speed differs, TC7 uses dmsetup to configure > dm-crypt mapping on Linux :-) It uses user space (and FUSE) only for old > containers and some magic for hidden container. Great, I'll do that. I'll perform the tests again (everything equal: kernel, disk, data, empty buffers, rsync) but I'll use xts this time for LUKS. I'll report back. Thanks Milan! Jorge