linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused
@ 2012-11-25 15:03 Dimitrios Apostolou
  2012-12-02 12:44 ` Dimitrios Apostolou
  0 siblings, 1 reply; 18+ messages in thread
From: Dimitrios Apostolou @ 2012-11-25 15:03 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

Hello list,

on an old PIII-500MHz laptop, 128MB RAM, kernel 3.6.6, I started a
backup process (tar|xz -4, nice'd and ionice'd -c3) from ext4 on local
ATA disk to ext3 on external USB disk (USB-2.0 port on PCMCIA card).
Even though earlier system load was minimal, free memory was plenty, the
system now is unresponsive and is thrashing the disk, but the swapfile
is rarely touched.

I managed to get some information by renicing a root console to -20, but
even then each keypress showed with a minimum 10s delay! In the attached
file you can see the dmesg output, SysRq+{W,T}, ps, vmstat, slabs,
meminfo.

I think I'm seeing paging of executable pages because ext4_inode_cache
is aggressively using all memory, evicting other pages. However under no
condition should realtime processes be unresponsive. What do you think?
Please note that I've set vm.swappiness to 0 and gradually increased
vm.vfs_cache_pressure to 1000000, but see no difference.


Thanks in advance,
Dimitris


P.S. Please CC me in all replies



[-- Attachment #2: HANG.log.gz --]
[-- Type: application/x-gzip, Size: 34880 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <1353851735.22969.18.camel@soupermouf>]

end of thread, other threads:[~2012-12-07 15:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-25 15:03 backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused Dimitrios Apostolou
2012-12-02 12:44 ` Dimitrios Apostolou
2012-12-02 22:50   ` Roland Eggner
2012-12-02 23:56     ` Dimitrios Apostolou
2012-12-03 17:43       ` Theodore Ts'o
2012-12-03 18:47         ` Eric Paris
2012-12-03 19:35           ` Dimitrios Apostolou
2012-12-03 20:00             ` Dimitrios Apostolou
2012-12-03 18:03       ` Roland Eggner
2012-12-03 19:25         ` Dimitrios Apostolou
     [not found] <1353851735.22969.18.camel@soupermouf>
2012-11-25 19:30 ` Dimitrios Apostolou
2012-11-25 22:59   ` Roland Eggner
2012-11-25 23:56     ` Alan Cox
2012-11-26  3:11       ` Roland Eggner
2012-12-06 14:20   ` Jan Kara
2012-12-06 15:15     ` Dimitrios Apostolou
2012-12-06 16:43       ` Jan Kara
2012-12-07 15:26         ` Dimitrios Apostolou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).