[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Right, I'm a bit hot headed now so bear with me: I've just shut down my laptop, which was applying Hardy's upgrades (152 IIRC), because as soon as it started to actually install the packages my desktop completely locked up. I put up with it for about *30 f** minutes* until I decided I actually needed to get some work done instead of watching the disk access led blinking while kcryptd did it's stuff. Come on guys! Come on! I replaced openSUSE 10.3 which also had luks encryption and was a whole lot more responsive with Hardy to give it a shot. Yeah, I know this is beta software, but we're talking about a freaking LTS. How did this get past QA? You're one day away from gold and using encrypted partitions on a 3yr old machine (which, let me remind you, won't be decommissioned for yet another year since computer hardware has an amortization period of 4 years), or apparently anything with a single core, completely breaks the desktop. So, again, how did this get past QA? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Celso Pinto wrote: Right, I'm a bit hot headed now so bear with me: I've just shut down my laptop, which was applying Hardy's upgrades (152 IIRC), because as soon as it started to actually install the packages my desktop completely locked up. I put up with it for about *30 f** minutes* until I decided I actually needed to get some work done instead of watching the disk access led blinking while kcryptd did it's stuff. Come on guys! Come on! I replaced openSUSE 10.3 which also had luks encryption and was a whole lot more responsive with Hardy to give it a shot. snip rant I feel your pain man. Seems like they focus on other things, and this is not a hot feature in the marketplace. To be fair though, isn't this a kernel issue? Maybe Novell do extra fixes in their kernels to get certain features working, whilst Canonical focuses on desktop stuff. Suppose that if we want a working dmcrypt, then we need to stick to Suse/Redhat. I swapped to CentOS5 on my server just because of this issue (not dmcrypt, as it sucks as bad there cause its an old kernel, but there is more focus on the server side than I think canonical does). --andrew -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
If this works in Redhat and SUSE, isn't it trivial to just take use the same kernel patches as they do? (I know nothing about it, so I assume that it isn't trivial. It was just a thought) Does anyone know if this works in Debian? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
according to the upstream bug tracker, this bug has been fixed in 2.6.24. Can someone who is affected by this bug confirm that it has been fixed by upgrading to hardy? ** Bug watch added: Linux Kernel Bug Tracker #8020 http://bugzilla.kernel.org/show_bug.cgi?id=8020 ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=8020 Importance: Unknown Status: Unknown -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I have upgraded to the Hardy beta, and I am running with a 2.6.24-12-generic kernel currently. The problem is _not_ fixed. I have dm-crypt with LUKS and ext3, and the problem is very easily felt. The whole system is very slow when doing anything on the disk. This is in total contrast to how the system worked before (no crypt on {dapper, edgy, gutsy}), but exactly like dm-crypt on gutsy. I hope this problem will get looked at, because it makes the computer dreadfully slow, and the only reason I'm still using dm-crypt is because I care about security. For common use it is far too slow. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Hi Christian, I know, maybe you have already spent a little time with issues like this, but could you try it again with a custom built 2.6.25-rc8 kernel? (Don't use an earlyer 2.6.25-rc version than -rc8; there were some bugs in the dm-specific code before) There were a lot of changes concerning dm-crypt since 2.6.24; this could be very interesting! For me it's a bit difficult to test the performance issue on my machine, but I've tested every kernel version. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Changed in: linux Status: Unknown = Fix Released -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Ulrich Lukas wrote: I already reported it on the Linux kernel Bugzilla. Have you tried the latest release-version of the Linux kernel? Please try it and compile 2.6.24-rc4 if you can. This bug is supposed to be fixed with that kernel version. I compiled 2.6.23.9 and this seems to have fixed the problem. disk transfers still take 100% CPU according to gnome-system-monitor (but kcryptd/0 takes 60% according to top), but disk activity is now fast and constant. Thanks for the tip! -- GnuPG Key ID: ECB18ABA Fingerprint: FDF3 91FC F5BC 1164 E217 315E 337E 219B ECB1 8ABA -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
-- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Hi, I already reported it on the Linux kernel Bugzilla. Have you tried the latest release-version of the Linux kernel? Please try it and compile 2.6.24-rc4 if you can. This bug is supposed to be fixed with that kernel version. Sadly, I own a dual-core-CPU now, and this makes a bit hard for me (non-programmer) to verify if the bug is actually fixed. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Please try it and compile 2.6.24-rc4 if you can. This bug is supposed to be fixed with that kernel version. Sounds great. But when can I expect this to be fixed in Ubuntu? Will the next release of Ubuntu use this kernel? Or will this fix be imported into Ubuntu, so that I can expect a kernel update in some time? Sadly, I own a dual-core-CPU now, and this makes a bit hard for me (non-programmer) to verify if the bug is actually fixed. I am just curious as to why you cannot verify this on a dual-core CPU? Does this but not affect dual-core CPUs? If not, can someone explain why it doesn't? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I am just curious as to why you cannot verify this on a dual-core CPU? It's just that I no longer have the hard hangs I had before, since I upgraded to the fast dual-core-CPU. I'm just a user, so I don't know if is because of the new CPU exactly, but it was a real issue for me then. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I have exactly the same problem on a newly installed Debian Etch system that was fully encrypted (except /boot) using the guided partitioner. I have an external WD MyBook 320GB 1394a disk that was unencrypted. Performance was fine to the 1394a disk (both read/write speeds as well as LAN transfer rates) until I encrypted it then I get exactly the same issues: LAN performance both read and write is almost exactly halved. 11MB to 6MB ethernet and 2.5MB to 1.5MB read wireless. Writes to 1394a the disk overload the CPU so that mouse pointer hangs every few seconds. Writes to 1394a disk don't write at a steady rate, but suspend (no CPU) then after a while continue. kjournal and kcryptd/0 are the 2 processes taking all the CPU, but when the write suspends, they drop to zero. Read rate is constant but rate is halved. Does not seem Ubuntu related or related to that particular kernel as Etch does not use same kernel as Feisty or Gutsy. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
as this does not seem Ubuntu related, I think its very unlikely Canonical will do anything with this bug. Probably better putting it on dmcrypt or kernel lists? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Maybe this bug should be renamed from Write load on DM-Crypt LUKS partition with reiserfs jams system to Write load on DM-Crypt LUKS partition jams system. I think that it is confirmed that this has nothing to do with reiserfs. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I can confirm this on current gutsy. This is very annoying, makes using encrypted partitions nearly impossible (core2duo and 500GB sata disk). With the dual-core processor the computer actually performs fine, the wait-time reported by top is 50% as only one core is being hogged, but the write performance to a dm-crypt encrypted ext3 partition is absolutely horrible (I didn't measure but the average speed seemed to be below 1MB/s). The problem has nothing to do with encryption overhead itself, the computer is idling most of the time without any cpu-load and writing to hd only occasionally. Writing to a plain unencrypted partition is going 50MB/s on the same disk. Interestingly, write performance is fine to the encrypted partition when there is some other writing going on to a plain ext3 partition at the same time. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Someone suggested to renice the kjournald process as a workaround. Is that really safe? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I can confirm this bug. I use LUKS with ext3 on Kubuntu Feisty. When I have moderate disk activity the system is almost unusable. I think this is a scheduling problem. Although extra computations are needed when using encrypted filesystems, these extra computations should not have such a high priority that it should be impossible to use the computer for audio, video, moving the mouse around, etc. I have a 1.8GHz Pentium M processor. That should be enough to handle the extra computations needed for the encryption while decoding ogg audio or playing video. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
doesn't seems to be a bug in dm-crypt. i deleted my encrypted partition and still have the problem that the system hangs sometimes, although not as bad as it has been with the encrypted partition. happens when the cpu-load is high and there is a lot of harddisk activity. Under windows xp i haven't expierienced that ... is there anyway to debug that issue? -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Link to kernel.org bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=8020 -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
Just upgrade to feisty and the bug is still there. The workaround i posted above helps a bit, but not 'as much' as in edgy. i.e. the mouse moves jumpy, audio hangs sometimes. Without the workaround the whole system stalls for 2 seconds maybe every 5 seconds ... i attached the output of dmesg lspci ... -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Attachment added: lspci http://librarian.launchpad.net/7124172/lspci -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://bugs.launchpad.net/bugs/82528 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I can confirm this on Feisty with a ext3 FS. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Changed in: linux-source-2.6.20 (Ubuntu) Status: Needs Info = Confirmed ** Changed in: linux-source-2.6.20 (Ubuntu) Importance: Undecided = Medium -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: Ubuntu Kernel Team = Ubuntu Kernel Team -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: (unassigned) = Ubuntu Kernel Team Status: Unconfirmed = Needs Info -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
I can confirm that bug. Happens also in edgy with an encrypted ext3 partition. a workaround is to renice the kjournald process i.e. renice -p `pgrep kjournald` -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
This issue seems to be that you are doing it on an encrypted filesystem. The kernel obviously has to perform a lot of IO intermixed with computational overhead to do this. I don't know if the performance problem is expected or not. It all depends on what encryption method you are using, etc. -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Attachment added: output of lspci http://librarian.launchpad.net/6020527/lspci.output.txt -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82528] Re: Write load on DM-Crypt LUKS partition with reiserfs jams system
** Attachment added: output of dmesg http://librarian.launchpad.net/6020510/dmesg.output.txt -- Write load on DM-Crypt LUKS partition with reiserfs jams system https://launchpad.net/bugs/82528 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs