--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-2.6: Swap on encrypted volume slows system to a crawl (not explicable by encryption overhead)
- From: SirJective <sirjective@gmail.com>
- Date: Tue, 31 May 2011 18:37:04 +0200
- Message-id: <20110531163704.2356.69804.reportbug@localhost>
Package: linux-2.6
Version: 2.6.38-2
Severity: important
I'm using swap space on an LVM volume on a LUKS-encrypted partition.
Swapping is ridiculously slow (< 1MB/s) whenever I swap to either the encrypted
swap partition, or some file inside an encrypted partition.
It is reasonably fast when swapping to a file on an unencrypted partition.
Normal writes (file copying, dd if=/dev/zero, etc) to the encrypted partition are
reasonably fast (~30MB/s), so the CPU overhead caused by encryption
cannot account for this.
[I posted a similar bug for 2.6.32 to the linux-image-*-686 package in squeeze, which
was probably a bad idea, so I'm posting this to the linux-2.6 source package,
where all the other bugs are posted.]
The real-world impact is that, for example, when I open a huge image in iceweasel
with other stuff already open in the background, the system virtually freezes
up for 15 minutes or more.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Version: 3.4.1-1~experimental.1+rm
Debian 6.0 Long Term Support has now ended, and the 'linux-2.6' source
package will no longer be updated. This bug is being closed on the
assumption that it does not affect the kernel versions in newer Debian
releases.
If you can still reproduce this bug in a newer release, please reopen
the bug report and reassign it to 'src:linux' and the affected version
of the package. You can find the package version for the running
kernel by running:
uname -v
or the versions of all installed kernel packages by running:
dpkg -l 'linux-image-[34]*' | grep ^.i
and looking at the third column.
I apologise that we weren't able to provide a specific resolution for
this bug.
Ben.
--
Ben Hutchings - Debian developer, member of Linux kernel and LTS teams
--- End Message ---