From: "Ricardo Galli" <gallir@uib.es>
To: "Mark Hahn" <hahn@coffee.psychology.mcmaster.ca>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: 2.4.1 eats RAM or /proc/meminfo bug
Date: Sat, 3 Feb 2001 19:27:54 +0100 [thread overview]
Message-ID: <LOEGIBFACGNBNCDJMJMOGENHCDAA.gallir@uib.es> (raw)
In-Reply-To: <Pine.LNX.4.10.10102031133290.10077-100000@coffee.psychology.mcmaster.ca>
> you should give up thinking there's any real relation between 2.2
> and 2.4. yes, they're both Linux, but their behaviors are essentially
> unrelated.
>
> > total used free shared buffers
> cached
> > Mem: 255340 232444 22896 0 16988
> 93212
> > -/+ buffers/cache: 122244 133096
> > Swap: 208804 0 208804
>
> no swap in use, so there's no problem. except that 22MB is free/wasted.
Then, who is using those 122,244 KB of RAM than cannot be otherwise used for
buffers/cache?
Perhaps I am wrong and that number is the sum of procs memory plus
buffer/caches, but then it should have more free RAM than show in
free/meminfo. And altough cache and buffers are more or less stable, the
reported "used" memory" is still increasing.
What I understand is (no accounting for swap):
cache+buffers == active+inact_dirty+inact_clean.
userland mem == total - (kernel + cache + buffers)
but my reported numbers don't match. I am doing against the maths with the
current situation, and they still worse, buffers/cache have increased in
~4MB but free memory has decreased in ~14MB (with the same workload and
processes):
[gallir@m3d gallir]$ free
total used free shared buffers cached
Mem: 255340 246816 8524 0 4048 110736
-/+ buffers/cache: 132032 123308
Swap: 208804 0 208804
It's preferable to use all available RAM for buffers/cache, but this isn't
the case...
Sorry if I am wrong, I couldn't find more related docs about these changes.
--ricardo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next parent reply other threads:[~2001-02-03 18:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.10.10102031133290.10077-100000@coffee.psychology.mcmaster.ca>
2001-02-03 18:27 ` Ricardo Galli [this message]
2001-02-03 14:15 Ricardo Galli
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=LOEGIBFACGNBNCDJMJMOGENHCDAA.gallir@uib.es \
--to=gallir@uib.es \
--cc=hahn@coffee.psychology.mcmaster.ca \
--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®