From: "Borzenkov, Andrey" <andrey.borzenkov@ts.fujitsu.com>
To: Avi Kivity <avi@redhat.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: Extermeley large PageTables over 500G on kernel 2.6.32.49 (SLES11 SP1)
Date: Fri, 13 Jan 2012 06:20:23 +0100 [thread overview]
Message-ID: <CB1B361E45A85849902B25342E88900501CFDCE5C966@ABGEX70E.FSC.NET> (raw)
In-Reply-To: <4F0D71F0.4030203@redhat.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1187 bytes --]
> -----Original Message-----
> From: Avi Kivity [mailto:avi@redhat.com]
> Sent: Wednesday, January 11, 2012 3:27 PM
> To: Borzenkov, Andrey
> Cc: Eric Dumazet; linux-kernel@vger.kernel.org
> Subject: Re: Extermeley large PageTables over 500G on kernel 2.6.32.49
> (SLES11 SP1)
>
> On 01/11/2012 12:52 PM, Borzenkov, Andrey wrote:
> > > If not, its normal to eat so much memory for page tables
> > >
> > > grep VmPTE /proc/*/status
> > >
> > >
> >
> > Forgive my ignorance. I thought that
> >
> > 1. PTE is 8 bytes per page, which is 4K which gives 2K per 1M of memory
> > 2. All processes sharing the same shared memory share the same page
> table
> >
> > So page table for Oracle SGA 500G would be around 1G and shared by all
> Oracle clients. Is my assumption incorrect?
> >
>
> The second assumption is incorrect. So fully populated the 2000
> processes would consume 2T; they just haven't accessed all the SGA yet.
>
Does kernel ever free allocated page tables, or once allocated they stick for the process lifetime?
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2012-01-13 5:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 10:18 Borzenkov, Andrey
2012-01-11 10:36 ` Eric Dumazet
2012-01-11 10:52 ` Borzenkov, Andrey
2012-01-11 11:19 ` Eric Dumazet
2012-01-11 11:23 ` Borzenkov, Andrey
2012-01-11 11:26 ` Avi Kivity
2012-01-13 5:20 ` Borzenkov, Andrey [this message]
2012-01-16 15:43 ` Avi Kivity
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=CB1B361E45A85849902B25342E88900501CFDCE5C966@ABGEX70E.FSC.NET \
--to=andrey.borzenkov@ts.fujitsu.com \
--cc=avi@redhat.com \
--cc=eric.dumazet@gmail.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
all inboxes | Powered by JetHome®