pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-patches@postgresql.org
Cc: pgsql-hackers@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: [PATCHES] ARC Memory Usage analysis
Date: Fri, 22 Oct 2004 16:45:51 -0400
Message-ID: <18764.1098477951@sss.pgh.pa.us> (raw)
In-Reply-To: <41796115.2020501@Yahoo.com>
References: <1098471059.20926.49.camel@localhost.localdomain>
	<41796115.2020501@Yahoo.com>

Jan Wieck <JanWieck@Yahoo.com> writes:
> What do you think about my other theory to make C actually 2x effective 
> cache size and NOT to keep T1 in shared buffers but to assume T1 lives 
> in the OS buffer cache?

What will you do when initially fetching a page?  It's not supposed to
go directly into T2 on first use, but we're going to have some
difficulty accessing a page that's not in shared buffers.  I don't think
you can equate the T1/T2 dichotomy to "is in shared buffers or not".

You could maybe have a T3 list of "pages that aren't in shared buffers
anymore but we think are still in OS buffer cache", but what would be
the point?  It'd be a sufficiently bad model of reality as to be pretty
much useless for stats gathering, I'd think.

			regards, tom lane



view thread (32+ messages)  latest in thread

Message-ID: <18764.1098477951@sss.pgh.pa.us>
Permalink:  ../18764.1098477951@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18764.1098477951@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, JanWieck@Yahoo.com, simon@2ndquadrant.com, pgsql-patches@postgresql.org, pgsql-hackers@postgresql.org, josh@agliodbs.com
  Subject: Re: [PATCHES] ARC Memory Usage analysis
  In-Reply-To: <18764.1098477951@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox