pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Farina <daniel@heroku.com>
To: Nikolay Ulyanitsky <lystor@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets
Date: Fri, 14 Sep 2012 01:45:32 -0700
Message-ID: <CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com> (raw)
In-Reply-To: <CA+Medizd1nfzQfC284x2-BwsCz+M80YZ6NfRMcXtKhPDdD1KqQ@mail.gmail.com>
References: <CA+Medizd1nfzQfC284x2-BwsCz+M80YZ6NfRMcXtKhPDdD1KqQ@mail.gmail.com>

On Fri, Sep 14, 2012 at 12:40 AM, Nikolay Ulyanitsky <lystor@gmail.com> wrote:
> Hi
> I compiled the 3.6-rc5 kernel with the same config from 3.5.3 and got
> the 15-20% performance drop of PostgreSQL 9.2 on AMD chipsets (880G,
> 990X).
>
> CentOS 6.3 x86_64
> PostgreSQL 9.2
> cpufreq scaling_governor - performance
>
> # /etc/init.d/postgresql initdb
> # echo "fsync = off" >> /var/lib/pgsql/data/postgresql.conf
> # /etc/init.d/postgresql start
> # su - postgres
> $ psql
> # create database pgbench;
> # \q
>
> # pgbench -i pgbench && pgbench -c 10 -t 10000 pgbench
> tps = 4670.635648 (including connections establishing)
> tps = 4673.630345 (excluding connections establishing)[/code]
>
> On kernel 3.5.3:
> tps = ~5800
>
> 1) Host 1 - 15-20% performance drop
> AMD Phenom(tm) II X6 1090T Processor
> MB: AMD 880G
> RAM: 16 Gb DDR3
> SSD: PLEXTOR PX-256M3 256Gb
>
> 2) Host 2 - 15-20% performance drop
> AMD Phenom(tm) II X6 1055T Processor
> MB: AMD 990X
> RAM: 32 Gb DDR3
> SSD: Corsair Performance Pro 128Gb
>
> 3) Host 3 - no problems - same performance
> Intel E6300
> MB: IntelĀ® P43 / ICH10
> RAM: 4 Gb DDR3
> HDD: SATA 7200 rpm
>
> Kernel config - http://pastebin.com/cFpg5JSJ
>
> Any ideas?

Did you tell LKML? It seems like a kind of change that could be found
using git bisect of Linux, albiet laboriously.

-- 
fdr




view thread (10+ messages)  latest in thread

Message-ID: <CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com>
Permalink:  ../CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: daniel@heroku.com, lystor@gmail.com
  Subject: Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets
  In-Reply-To: <CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com>
  References: <CA+Medizd1nfzQfC284x2-BwsCz+M80YZ6NfRMcXtKhPDdD1KqQ@mail.gmail.com> <CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com>

* 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