Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Large pages

Received: by 10.68.138.14 with SMTP id qm14mr9230417pbb.5.1352827417975;
        Tue, 13 Nov 2012 09:23:37 -0800 (PST)
MIME-Version: 1.0
Path: 6ni78707pbd.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 13 Nov 2012 11:23:37 -0600
From: "Jonathan Lewis" <jonat...@jlcomp.demon.co.uk>
Newsgroups: comp.databases.oracle.server
References: <k7nift$rc3$2@solani.org><k6mdnUJ8sKBzgD3NnZ2dnUVZ8gWdnZ2d@bt.com> <k7pfjq$ruc$1@solani.org><10f49835-b336-4d9a-ba93-5e927761a030@q5g2000pbk.googlegroups.com><SP-dnT2X5t05uz_NnZ2dnUVZ8tadnZ2d@bt.com> <k7t91l$l4e$1@solani.org>
Subject: Re: Large pages
Date: Tue, 13 Nov 2012 17:24:32 -0000
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Message-ID: <FJidnUkBiMWEHz_NnZ2dnUVZ8oidnZ2d@bt.com>
Lines: 60
X-Usenet-Provider: http://www.giganews.com
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-0HEBTPJEVekBwLE/3KJfhDf97IpGA3NVzO5w4QI9+A1wYiBm1EBd0sUGKCC278IebxbxnBpv3Ok7fCw!WImUnJzJjg7A8Q1dywysOvrlNJw59ABCJV69Y3vF7DXl9BzbK6tHgtHwTQ0K6MeX725I69uFw1I+
X-Complaints-To: abuse@btinternet.com
X-DMCA-Complaints-To: ab...@btinternet.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3257
X-Received-Bytes: 3502


"Mladen Gogala" <gogala.mla...@gmail.com> wrote in message 
news:k7t91l$l4e$1@solani.org...
| On Tue, 13 Nov 2012 10:53:26 +0000, Jonathan Lewis wrote:
|
| > I can't work out from your statement exactly which bit of what I've 
said
| > is not correct. Could you please clarify.
|
| Jonathan, the part that is not correct is about every process on Unix
| having its own page table. Page tables for shared memory are also shared.
| There is one per segment, not one per process.
|
|
|
| -- 
| http://mgogala.byethost5.com



Mladen,

The reason that I referenced Christo's video and notes is that he has 
results that agree with my comment and contradict yours. From the text:
<quote:>
As discussed earlier, each process has a page table. This page table is 
private for the process and cannot be shared. (Solaris is different in this 
respect.)

In Oracle, there is usually a large shared memory segment shared amongst 
multiple processes. Each process still has a page table that is maintained. 
For example, for a 1.7 Gb SGA (the typical 32-bit limit), 445,440 x 4 Kb 
pages are needed. We would need 445,440 leaf PTE entries times 4 bytes 
each - that's about 2 Mb. Each process would need a PTE table that is 2 Mb 
in size to fully describe its 2 Gb of mappings. If you have a large number 
of processes, say 1000, then you will need 2000 Mb of RAM to manage a 1.7 
Gb SGA. Quite inefficient.

<end quote>

However,
a) he does mention Solaris and intimate shared memory - and explains that 
shared page tables are possible
b) the article is dated Dec 2007 - so things may have changed

Do you have any specific versions of Unix in mind when you state that the 
page table for a shared memory segment is automatically shared ? Is this, 
perhaps a specific default for OEL.

-- 

Regards

Jonathan Lewis
http://jonathanlewis.wordpress.com/all-postings

Author: Oracle Core (Apress 2011)
http://www.apress.com/9781430239543