public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Owen Green <owenjinggreen@yahoo•com>
To: linuxppc-embedded@lists•linuxppc.org
Subject: memory management bug??
Date: Tue, 17 Dec 2002 04:44:16 -0800 (PST)	[thread overview]
Message-ID: <20021217124416.13690.qmail@web20108.mail.yahoo.com> (raw)
In-Reply-To: <IGEFJKJNHJDCBKALBJLLEECEFIAA.joakim.tjernlund@lumentis.se>

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

Hi all,

I was making some tests in my linux box and I just
realized that when the system goes to a "low memory
state" kswapd gets almost all the cpu, I've got this
from top (see attached file). But the worst I guess is
that I can't see to where my memory has gone, top
output and /proc/meminfo seems to be "hidding" some
...
I'm using kernel 2.4.4 from Denx, is there memory leak
in this kernel version? How can I reduce kswapd cpu
usage?

Thanks in advance,

Owen.

[-- Attachment #2: memory_problems_output.txt --]
[-- Type: text/plain, Size: 1305 bytes --]

 12:34am  up 34 min,  0 users,  load average: 1.37, 1.33, 0.89
9 processes: 7 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:   7.2% user,  92.8% system,   0.0% nice,   0.0% idle
Mem:     14712K total,    13696K used,     1016K free,     6144K buffers
Swap:        0K total,        0K used,        0K free,     4812K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
    3 root      16   0     0    0     0 RW   78.4  0.0  12:20 kswapd
  150 root      18   0   420  428   120 R    18.9  2.8   0:19 top
    5 root       9   0     0    0     0 SW    2.9  0.0   0:28 bdflush
    1 root       8   0   144  144     0 S     0.0  0.9   0:26 init
    2 root       9   0     0    0     0 SW    0.0  0.0   0:00 keventd
    4 root       9   0     0    0     0 SW    0.0  0.0   0:00 kreclaimd
    6 root       9   0     0    0     0 SW    0.0  0.0   0:01 kupdated
   21 root       9   0   212  212     0 S     0.0  1.4   0:11 sh
  106 root       9   0   224  224     0 S     0.0  1.5   0:00 xinetd

# ps
  PID  Uid     Stat Command
    1 root     S    init
    2 root     S    [keventd]
    3 root     R    [kswapd]
    4 root     S    [kreclaimd]
    5 root     S    [bdflush]
    6 root     S    [kupdated]
   21 root     S    -sh
  106 root     S    xinetd
  151 root     R    ps
#

  reply	other threads:[~2002-12-17 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021119161020.83422.qmail@web20104.mail.yahoo.com>
2002-11-19 16:48 ` Fast HDLC driver Joakim Tjernlund
2002-12-17 12:44   ` Owen Green [this message]
2002-11-19 16:55 ` Roland Dreier
     [not found]   ` <200211201439.45731.scop@digitel.com.br>
2002-11-20 17:41     ` Roland Dreier

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=20021217124416.13690.qmail@web20108.mail.yahoo.com \
    --to=owenjinggreen@yahoo$(echo .)com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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