From: Pete Zaitcev <zaitcev@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Pete Zaitcev <zaitcev@redhat.com>
Subject: 2.5 uses 4 times more page tables
Date: Sun, 6 Apr 2003 03:24:22 -0400 [thread overview]
Message-ID: <20030406032422.A7165@devserv.devel.redhat.com> (raw)
Guys,
I observed a strange phenomemum. On a certain kind of sparc(32),
the amount of page tables is accounted, and 2.5.66 seems to use
about 4 times more page tables than 2.4.20.
I am talking about these kinds of numbers. On a 28MB box,
an idle 2.4 used about 57600 bytes of pagetables, which equals
to 14400 PTEs, or about enough to map 50 MB of RAM. Obviously,
there were partially filled tables, and also processes mapped
some shared memory with non-shared page tables.
On 2.5, the same system uses 273664 bytes of page tables.
If they weren't shared, and were completely used (and not
full of invalid PTEs, for instance), they would map 267MB of RAM.
Sounds kinda wasteful, for a 32MB box.
Truth to be told, I would not worry about a mere 270K of pagetables,
but the sparc port as it is uses so-called "nocache" memory,
which is preallocated on boot. OK, I know it's broken. Blame
Anton. I plan to fix it some time in the future. But currently,
my box runs out of nocache and panics. Developer's itch, you see...
So, does anyone have a handy patch or tool or something, which
prints page table statistics? Does anyone have ready numbers
on other architectures? I would appreciate other insights, too.
Thanks,
-- Pete
reply other threads:[~2003-04-06 7:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030406032422.A7165@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--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