Re: Two identical systems, radically different performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/10/12 11:48, Craig James wrote:
On Mon, Oct 8, 2012 at 3:44 PM, Claudio Freire <klaussfreire@xxxxxxxxx>wrote:

On Mon, Oct 8, 2012 at 7:25 PM, Craig James <cjames@xxxxxxxxxxxxxx> 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


--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux