Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-22 Thread Alexander Krause
Dear J.R. the reason is a patch of the gentoo-patchset. Even the vanilla-sources-2.29.3 work nicely. I created a bugreport at gentoo.org: http://bugs.gentoo.org/show_bug.cgi?id=270805 Thanks again for your time. Cheers Alex -- Alexander Krause Amtmann-Kästner-Platz 11 99091 Erfurt Mail

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-22 Thread sfjro
Alexander Krause: the reason is a patch of the gentoo-patchset. Even the vanilla-sources-2.29.3 work nicely. I created a bugreport at gentoo.org: http://bugs.gentoo.org/show_bug.cgi?id=3D270805 Thanks again for your time. No problem. Glad to find the cause other than aufs. :-) J.

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-20 Thread Alexander Krause
Dear J.R., Let's focus ext3/4. Bad case is kernel-genkernel-x86-2.6.28-tuxonice-r1. Then what is your good kernel version? And where can I get gentoo kernel source files? i compiled the aufs2-2.6 tree this morning, that is linux-2.6.30-rc5 and tested my problem. Well... and it works ;-)

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-19 Thread Michael S. Zick
On Tue May 19 2009, Alexander Krause wrote: Hi, Alexander Krause: What I menat is something like this. # mkdir /mnt/aufs/overlay # mount /dev/sdb2 /mnt/aufs/overlay # while true; do find /mnt/aufs/overlay/ -ls /dev/null; done # seq 100 | while read i; do yes | dd

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-19 Thread Alexander Krause
Hi, Try something with a big executable memory footprint (which kde4 has) - - There is an on-going discussion on LKML about how/why under some conditions executable pages of memory are getting evicted from the page cache while they are still in use (which just causes them to be re-loaded).

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-19 Thread sfjro
Alexander Krause: Btw, I'm very sory for the wrong info J.R. i testet my old system with aufs= 1=20 (aufs 20090126) on 2.6.28 and it does the same stuff with pdflush. So your bad case is, - linux-2.6.28 and 29 - last aufs1 and latest aufs2 - kde3.5 and kde4 - ext3 and ext4 Can you clarify

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-19 Thread Alexander Krause
Hi, === Bad case === == linux-2.6.28 and 29 == * kernel-genkernel-x86-2.6.29-gentoo-r1 (current one with aufs 2- standalone.tree-29-20090511) but i got this problem since months with the first versions of aufs2 and even 2.6.28 . * kernel-genkernel-x86-2.6.28-tuxonice-r1 (aufs 20090126,

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-18 Thread sfjro
Hello Alexander, Alexander Krause: mount /dev/sda1 /boot #create aufs branch mount -t tmpfs tmpfs /aufs_dynamic mount -t aufs -o br:/aufs_dynamic/=3Drw none /aufs_vertex #add overlay partition mkdir -p /aufs_vertex/mnt/aufs/overlay mount /dev/sda2 /aufs_vertex/mnt/aufs/overlay -o rw

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-18 Thread Alexander Krause
Hi J.R. thanks for your fast response. So you have 3 branches in your /aufs_vertex. - /aufs_dynamic, rw, tmpfs - /aufs_vertex/mnt/aufs/overlay, rw, ?? It's an EXT4 . - /aufs_vertex/mnt/aufs/images/10-desktop.squash, rr, squashfs If you can, please try again without

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-18 Thread Alexander Krause
Correct. FS for /mnt/aufs/overlay was ext4 for both cases. I try an ext3 overlay now, just to make sure. Same problem with ext3. -- Alexander Krause Amtmann-Kästner-Platz 11 99091 Erfurt Mail alexander.kra...@ed-solutions.de Tel. +49 (361) 2156472 Mob. +49 (179) 4725826

Re: pdflush produces 99% CPU usage with aufs2 on some conditions

2009-05-18 Thread sfjro
Hi, Alexander Krause: If you can, please try again without /aufs_vertex/mnt/aufs/overlay, eg. /aufs_vertex =3D /aufs_dynamic(rw,tmpfs) + /.../10-desktop.squash(rr,squashfs) Did that and everything works perfect. So the problem comes with the overla= y. And run several commands and