WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] AES Encryption information

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] AES Encryption information
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Jul 2010 13:28:47 +0200
Delivery-date: Wed, 07 Jul 2010 04:29:19 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=UzlkkWMWlGPK4CNMMiral6ycLXk=; b=eotr6t9m7sFyai0M4ZQ8q/cCwAQKjcGfDaVb0Cjru0R3XBgRL8C9zpJ0guD7YYZlXqRoCBPDG9nXDqmMZYhhOmAmwWZaX36QQwasTOXjq/LQHvYuQVeZ2zNmxHsWmaR0D9wmTDLOTRO3ozm1g4IRMcdRGz90iAGZ2MF2FiMQ+No=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C337B5E.6050104@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinzOwDuzpUgvD6-jYdJhNpWbz5U69KxelX7rny-@xxxxxxxxxxxxxx> <4C337B5E.6050104@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
On 07/06/10 20:52, Jeremy Fitzhardinge wrote:
> On 07/06/2010 11:13 AM, ReehanAhmedKhan I L wrote:
>> On creating a fully encrypted para-virtualised Xen guest system, is
>> all the data stored on the hard-disk fully encrypted?  If so when is
>> the encryption done.
>> The shared memory is used to communicate between dom0 and domU.  Is
>> the encryption done before data is put in the shared memory?
>> Does not the whole encryption procedure slow down the system?
> 
> Xen has no specific support for encrypting disk data.  You can use
> whatever mechanisms the dom0 and/or domU kernels support.  If you're
> using Linux, for example, you can configure your setup to encrypt within
> the domU so that the dom0 domain only ever sees encrypted data, or you
> can encrypt in dom0.
> 
> The performance effects really depend on your workload and system, but
> my laptop with an encrypted ssd has used 19min 35s for disk encryption
> over the last 13 days of uptime.
> 

I know this is really off-topic, but I'm curious whether you have a Core
i5/i7 processor with an AESNI instruction, and if you have, if you got
the aesni-intel module to work properly with your kernel?

I noticed that using LUKS with a very fast SSD, that normally could have
a read throughput of around 200MB/s, significantly limits the
performance down to around 80-100 MB/s, with the bottleneck being the
kcryptd process easting 100% CPU (core).

joanna.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>