Re: First set of OSDL Shared Mem scalability results, some

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Christopher Browne <cbbrowne(at)acm(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: First set of OSDL Shared Mem scalability results, some
Date: 2004-10-14 04:17:34
Message-ID: 416DFDDE.5070600@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 10/13/2004 11:52 PM, Greg Stark wrote:

> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
>
>> On 10/8/2004 10:10 PM, Christopher Browne wrote:
>>
>> > josh(at)agliodbs(dot)com (Josh Berkus) wrote:
>> >> I've been trying to peg the "sweet spot" for shared memory using
>> >> OSDL's equipment. With Jan's new ARC patch, I was expecting that
>> >> the desired amount of shared_buffers to be greatly increased. This
>> >> has not turned out to be the case.
>> > That doesn't surprise me.
>>
>> Neither does it surprise me.
>
> There's been some speculation that having a large shared buffers be about 50%
> of your RAM is pessimal as it guarantees the OS cache is merely doubling up on
> all the buffers postgres is keeping. I wonder whether there's a second sweet
> spot where the postgres cache is closer to the total amount of RAM.

Which would require that shared memory is not allowed to be swapped out,
and that is allowed in Linux by default IIRC, not to completely distort
the entire test.

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-10-14 04:22:40 Re: First set of OSDL Shared Mem scalability results, some
Previous Message Tom Lane 2004-10-14 03:55:10 Re: [COMMITTERS] pgsql: Fix breakage in hashjoin from recent

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Stark 2004-10-14 04:22:40 Re: First set of OSDL Shared Mem scalability results, some
Previous Message Greg Stark 2004-10-14 03:52:27 Re: First set of OSDL Shared Mem scalability results, some