From: Joanna Rutkowska <joanna@invisiblethingslab.com>
To: xen-devel@lists.xensource.com
Subject: Re: AES Encryption information
Date: Wed, 07 Jul 2010 13:28:47 +0200 [thread overview]
Message-ID: <4C3464EF.9080105@invisiblethingslab.com> (raw)
In-Reply-To: <4C337B5E.6050104@goop.org>
[-- Attachment #1.1: Type: text/plain, Size: 1458 bytes --]
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 #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2010-07-07 11:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 18:13 AES Encryption information ReehanAhmedKhan I L
2010-07-06 18:52 ` Jeremy Fitzhardinge
2010-07-07 11:28 ` Joanna Rutkowska [this message]
2010-07-07 16:42 ` Jeremy Fitzhardinge
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=4C3464EF.9080105@invisiblethingslab.com \
--to=joanna@invisiblethingslab.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.