From: | Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Two identical systems, radically different performance |
Date: | 2012-10-08 23:10:54 |
Message-ID: | 50735D7E.7000405@catalyst.net.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On 09/10/12 11:48, Craig James wrote:
> On Mon, Oct 8, 2012 at 3:44 PM, Claudio Freire <klaussfreire(at)gmail(dot)com>wrote:
>
>> On Mon, Oct 8, 2012 at 7:25 PM, Craig James <cjames(at)emolecules(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Freire | 2012-10-08 23:12:54 | Re: Two identical systems, radically different performance |
Previous Message | Craig James | 2012-10-08 23:03:53 | Re: Two identical systems, radically different performance |