public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "kcn" <kcn@263.net>
To: <linux-kernel@vger.kernel.org>
Subject: kernel freeze
Date: Tue, 5 Nov 2002 14:18:21 +0800	[thread overview]
Message-ID: <002c01c28493$2b489070$31036fa6@zhoulin> (raw)

  After I reported a kernel freeze in this mail list("2.4.18 freeze on
4G memory."),
I try 2.4.19 & 2.4.19+rmap14a patch, all of those have been frozen.
I try to enable kernel profiling to detect what is the problem and found

the function _text_lock_vmscan make the cpu busy. Any comment?
The result below:
  Normal state:
# uptime
12:20pm  up  2:00,  6 users,  load average: 8.18, 10.13, 8.28
# vmstat 2 2
   procs                      memory    swap          io     system
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us
sy  id
 1  0  4      0 182988 408272 1919636   0   0    89   164  853   499  11
9  79
 0  1  0      0 184288 408516 1919840   0   0   332    12 4869  2587  20
30  50
# readprofile | sort -g
   ...
    36 _text_lock_vmscan                          0.2727
   ...
  4666 _text_lock_read_write                     95.2245
  5027 _text_lock_namei                           2.8465
  5113 ip_packet_match                           13.8940
  6124 _text_lock_inode                          12.6529
  6342 prune_icache                              11.3250
  7549 shrink_cache                               8.1347
 10010 __constant_memcpy                         36.8015
 11099 _text_lock_swap                          194.7193
1242957 default_idle                             15536.9625
1414706 total                                      1.0008
 after freeze:
#uptime
12:44pm  up  2:25,  6 users,  load average: 292.05, 528.62, 117.95
#vmstat 2 2
   procs                      memory    swap          io     system
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us
sy  id
 9 207  4      0 565776 337108 1948476   0   0    77   144  751   433
10  22  68
 3 239  1      0 548152 337312 1949624   0   0   718  3666 2256  2789
34  38  27
# readprofile | sort -g
  ...
21999 _text_lock_swap                          385.9474
 84239 prune_icache                             150.4268
101555 _text_lock_inode                         209.8244
122285 shrink_cache                             131.7726
173019 _text_lock_vmscan                        1310.7500
1311668 default_idle                             16395.8500
1992753 total                                      1.4098





             reply	other threads:[~2002-11-05  6:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  6:18 kcn [this message]
2002-11-05  6:49 ` kernel freeze Martin J. Bligh
2002-11-05  7:25   ` kcn
2002-11-05  7:50     ` Martin J. Bligh
  -- strict thread matches above, loose matches on Subject: below --
2014-03-29 13:03 Joël Krähemann
2001-09-27 22:28 Kernel Freeze Luca Adesso
2001-09-27 22:47 ` Nicholas Knight

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='002c01c28493$2b489070$31036fa6@zhoulin' \
    --to=kcn@263.net \
    --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