[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#628718: linux-2.6: Swap on encrypted volume slows system to a crawl (not explicable by encryption overhead)



On Tue, 2011-05-31 at 18:37 +0200, SirJective wrote:
> 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.

Please run 'top -b -d 1 -n 10' while this is happening and send the
output.

> [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.]

That should not be necessary; reportbug should assign the bug to
'linux-2.6' anyway.  What was the other bug number?

Also, is it correct that this bug is present in both the 'squeeze'
kernel (version 2.6.32-34squeeze1) and version 2.6.38-2?

Is it fixed in version 2.6.39-1 (currently in sid)?

> 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.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: