- Subject: Re: disk encryption performance hit
- From: Marc Schwartz <marc_schwartz@xxxxxxxxxxx>
- Date: Fri, 16 May 2008 13:24:28 -0500
- Cancel-lock: sha1:LaDNYQhPWBJHgL7B5vvWeSwFr90=
- Reply-to: For users of Fedora <fedora-list@xxxxxxxxxx>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
Jeff Bastian <jbastian@xxxxxxxxxx> writes:
> What kind of performance hit should full disk encryption entail?
>
> I installed F9 yesterday under VMware Fusion 1.1.2 and enabled disk
> encryption. It was working fine until cron fired up makewhatis. At
> that point the system became so sluggish it was basically unusable.
> Mouse clicks would sometimes work, sometimes get ignored, and some key
> strokes would get ignored, others would get doubled (i.e., typing
> foo' might end up with 'ffo' on the screen).
>
> According to 'top', makewhatis was consuming the most CPU, but only
> about 4%, followed by kcryptd. However, the CPU was spending 85%+ on
> system tasks.
>
> I noticed it was taking a long time to run makewhatis, so I ran 'time
> /etc/cron.weekly/makewhatis.cron' to see just how long and got:
> real 34m44.606s
> user 3m18.520s
> sys 13m46.823s
>
> I switched back to my Fedora 8 virtual machine (same host) and
> repeated the test and got:
> real 7m1.667s
> user 2m45.410s
> sys 3m4.970s
>
>
> That's quite a performance hit for disk encryption... Is there
> something I can tune to speed this up? Or maybe I should just encrypt
> /home instead of the whole disk.
>
> FWIW, I have VMI enabled in VMware Fusion, and I'm booting with kernel
> command line args
> elevator=noop clocksource=vmi-timer
> on both systems.
>
> Jeff
I can't speak to your specific implementation, but in the past over
several versions of FC/F, when I have run performance comparisons with
hdparm, using dm-crypt/LUKS with 256 bit AES on a 7200 rpm HD, I have
seen about a 10-15% hit in throughput.
Your figures above suggest that something else is going on, perhaps
related to the virtualization overhead and I don't know enough about
that to comment in an authoritative manner.
HTH,
Marc Schwartz
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Older Fedora Users Mail]
[Home]
[Fedora News]
[Fedora Advisory Board]
[Fedora Security]
[Fedora Robotics]
[Fedora Maintainers]
[Fedora Infrastructure]
[Fedora Websites]
[Anaconda Devel]
[Fedora Devel Java]
[Fedora Legacy]
[Fedora Desktop]
[Fedora Fonts]
[iPod Nano]
[ATA RAID]
[Fedora Bible]
[Fedora Marketing]
[Fedora Management Tools]
[Fedora Mentors]
[Fedora Package Announce]
[Free Dating Site]
[Fedora Package Review]
[Fedora PHP Devel]
[Kickstart]
[Fedora Music]
[Fedora Packaging]
[Centos]
[Fedora SELinux]
[Fedora Legal]
[Fedora Kernel]
[Fedora QA]
[Fedora Triage]
[Fedora :OCaml]
[Coolkey]
[ET Management Tools]
[Yum Users]
[Tux]
[Big List of Linux Books]
[Yosemite News]
[Yosemite Photos]
[Linux Apps]
[Maemo Users]
[KDE Users]
[Fedora Tools]
[Fedora Art]
[Fedora Docs]
[Asterisk PBX]
[Fedora Sparc]
[Fedora Universal Network Connector]
[Fedora ARM]
[Fedora 8 and Red Hat Enterprise Linux Bible]