From: "Nick Piggin" <s3293115@student.anu.edu.au>
To: "Linux-Kernel" <linux-kernel@vger.kernel.org>
Cc: "Nick Piggin" <s3293115@student.anu.edu.au>
Subject: kswapd using all cpu for long periods in 2.4.9-pre4
Date: Wed, 15 Aug 2001 19:05:08 +1000 [thread overview]
Message-ID: <000c01c12569$65581630$0200a8c0@W2K> (raw)
Hi,
Somewhere between 2.4.8 and 2.4.9-pre4 kswapd developed a problem. Actually
it looks like it is related to the changes in do_try_to_free_pages...
kswapd is using all cpu for long periods (100-200 seconds then 100-200
seconds break....) there is very little disk activity (heres a vmstat while
its happening)
0 0 1 18372 1872 1628 38540 1 0 4 2 343 127 1 96 3
0 0 1 18360 1992 1628 38416 0 0 0 3 282 120 0 100 0
0 0 1 18312 2188 1632 38244 1 0 31 6 376 147 1 89 10
0 0 1 18324 1908 1632 38252 0 0 0 3 411 130 0 99 0
0 0 1 18324 1996 1632 38260 0 0 1 1 175 115 0 100 0
0 0 1 18324 1852 1632 38336 17 0 36 8 150 163 0 100 0
0 0 1 18324 2028 1632 38336 0 0 0 8 107 119 0 100 0
kswapd task:
Trace; c0145328 <shrink_icache_memory+18/30>
Trace; c012b850 <do_try_to_free_pages+60/c0>
Trace; c012b90e <kswapd+5e/c0>
Trace; c0105000 <_stext+0/0>
Trace; c0105000 <_stext+0/0>
Trace; c01054d6 <kernel_thread+26/30>
Trace; c012b8b0 <kswapd+0/c0>
meminfo just before kswapd goes crazy:
Mem-info:
Free pages: 4616kB ( 0kB HighMem)
( Active: 6707, inactive_dirty: 4312, inactive_clean: 895, free: 1154 (256
512 2048) )
5*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB =
1036kB)
483*4kB 104*8kB 5*16kB 1*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB
0*2048kB = 3580kB)
= 0kB)
Swap cache: add 16566, delete 14047, find 17323/32269
Free swap: 110016kB
16368 pages of RAM
0 pages of HIGHMEM
689 reserved pages
10205 pages shared
2519 pages swap cached
0 pages in page table cache
Buffer memory: 1472kB
mem info during:
SysRq: Show Memory
Mem-info:
Free pages: 3744kB ( 0kB HighMem)
( Active: 6946, inactive_dirty: 4296, inactive_clean: 895, free: 936 (256
512 2048) )
5*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB =
1036kB)
263*4kB 105*8kB 5*16kB 1*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB
0*2048kB = 2708kB)
= 0kB)
Swap cache: add 16680, delete 14047, find 17408/32591
Free swap: 110016kB
16368 pages of RAM
0 pages of HIGHMEM
689 reserved pages
10453 pages shared
2633 pages swap cached
0 pages in page table cache
Buffer memory: 1480kB
next reply other threads:[~2001-08-15 9:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-15 9:05 Nick Piggin [this message]
2001-08-15 9:43 ` Linus Torvalds
2001-08-15 17:19 ` Linus Torvalds
2001-08-16 8:07 ` Nick Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000c01c12569$65581630$0200a8c0@W2K' \
--to=s3293115@student.anu.edu.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®