kcryptd using 100% IO load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi,
my setup is like this:
4 SATA disks are configured as a software RAID5, the complete RAID is encrypted using LUKS and inside this LUKS containers is one volume group with several LVs.
There's also one eSATA disk using LUKS but no RAID or LVM.
When writing to the eSATA disk everything works smoothly.
When reading from the RAID everything works smoothly.
But when writing larger amounts of data (e.g. an rsync running over a 100 MBit/s network link) to the RAID I see kcryptd going into uninterruptible sleep (D) state and consuming 100% CPU load (IO wait). If I don't stop the data the system crashes soon after, last overall system load displayed is about 8 (normal idle load is 0.2 on this system).
When I'm using GRML 2009.10 in the same system I can write with full speed to the RAID, tested from the eSATA disk.
I've tried renicing kblockd and kcryptd to 15 according to https:/
There's nothing in dmesg whatsoever.
$ uname -a
Linux sakura 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
$ cat /proc/version_
Ubuntu 2.6.31-
$ apt-cache policy linux
linux:
Installed: (none)
Candidate: 2.6.31.19.32
Version table:
2.6.31.19.32 0
500 http://
500 http://
2.6.31.14.27 0
500 http://
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
regards,
Bodo
tags: | added: kernel-series-unknown |
tags: | added: acpi-table-checksum |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: b73a1py79 |
The IO load happens at that time when the data is flushed from the page cache, from what I see this looks like the md layer won'T accept data as fast as the crypto layer tries to get rid of it.