pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: pgsql-performance@postgresql.org
Subject: Re: Two identical systems, radically different performance
Date: Tue, 09 Oct 2012 12:10:54 +1300
Message-ID: <50735D7E.7000405@catalyst.net.nz> (raw)
In-Reply-To: <CAFwQ8rdmzO046cXO-mqcsZKsj9Ch_W-mfiJpeQnOx8xob-SMVw@mail.gmail.com>
References: <CAFwQ8rcvw4mSoJ9q+ouONCeB9dg1T9gAUV5J27MpVZrehRHayQ@mail.gmail.com>
	<4CB0E3B6-CF1E-4B54-9900-E8356744F0AA@gmail.com>
	<CAFwQ8rd1TTLh-BfMf-Uc2Vv_8GuP2uQqWAa6-FrtmJUhy3LVxQ@mail.gmail.com>
	<CAGTBQpZnkU7n4iAhiNzN3rsMW2WT+H6YpN7c7bkNbfj+3hr6NA@mail.gmail.com>
	<CAFwQ8rfVgRXQLaHULbvpD65+7jYsAt9ANqujOwnksFLGYHkZew@mail.gmail.com>
	<CAGTBQpbFSWPR1Z9NiN_B6amhONjyt9PvoT13Z=SdPN8GoKZi2Q@mail.gmail.com>
	<CAFwQ8rdmzO046cXO-mqcsZKsj9Ch_W-mfiJpeQnOx8xob-SMVw@mail.gmail.com>

On 09/10/12 11:48, Craig James wrote:
> On Mon, Oct 8, 2012 at 3:44 PM, Claudio Freire <klaussfreire@gmail.com>wrote:
>
>> On Mon, Oct 8, 2012 at 7:25 PM, Craig James <cjames@emolecules.com> wrote:
>>>>> But why? What have I overlooked?
>>>> Do you have readahead properly set up on the new one?
>>>
>>>   # blockdev --getra /dev/sdb1
>>> 256
>>
>> It's probably this. 256 is way too low to saturate your I/O system.
>> Pump it up. I've found 8192 works nice for a system I have, 32000 I
>> guess could work too.
>>
> But again ... the two systems are identical.  This can't explain it.
>

Maybe check all sysctl's are the same - in particular:

vm.zone_reclaim_mode

has a tendency to set itself to 1 on newer hardware, which will reduce 
performance of database style workloads.

Cheers

Mark




view thread (47+ messages)  latest in thread

Message-ID: <50735D7E.7000405@catalyst.net.nz>
Permalink:  ../50735D7E.7000405@catalyst.net.nz/
Also on:    postgresql.org/message-id/50735D7E.7000405@catalyst.net.nz

 · 

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: mark.kirkwood@catalyst.net.nz
  Subject: Re: Two identical systems, radically different performance
  In-Reply-To: <50735D7E.7000405@catalyst.net.nz>

* 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