Re: [PATCHES] ARC Memory Usage analysis

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] ARC Memory Usage analysis
Date: 2004-10-26 06:04:58
Message-ID: Pine.NEB.4.58.0410261502510.13312@angelic-vtfw.cvpn.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-performance

On Tue, 26 Oct 2004, Greg Stark wrote:

> I see mmap or O_DIRECT being the only viable long-term stable states. My
> natural inclination was the former but after the latest thread on the subject
> I suspect it'll be forever out of reach. That makes O_DIRECT And a Postgres
> managed cache the only real choice. Having both caches is just a waste of
> memory and a waste of cpu cycles.

I don't see why mmap is any more out of reach than O_DIRECT; it's not
all that much harder to implement, and mmap (and madvise!) is more
widely available.

But if using two caches is only costing us 1% in performance, there's
not really much point....

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.NetBSD.org
Make up enjoying your city life...produced by BIC CAMERA

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Adrian Maier 2004-10-26 06:13:54 Re: [HACKERS] Question on the 8.0Beta Version
Previous Message Tom Lane 2004-10-26 05:53:55 Re: [PATCHES] ARC Memory Usage analysis

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Seltenreich 2004-10-26 06:31:37 psql: customizable readline history filename
Previous Message Tom Lane 2004-10-26 05:53:55 Re: [PATCHES] ARC Memory Usage analysis

Browse pgsql-performance by date

  From Date Subject
Next Message Rod Dutton 2004-10-26 08:19:33 FW: can't handle large number of INSERT/UPDATEs
Previous Message Tom Lane 2004-10-26 05:53:55 Re: [PATCHES] ARC Memory Usage analysis