pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrea Suisani <sickpig@opinioni.net>
To: Merlin Moncure <mmoncure@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: Tue, 18 Sep 2012 16:25:20 +0200
Message-ID: <50588450.9090709@opinioni.net> (raw)
In-Reply-To: <CAHyXU0wJ-9EGF6xPftO1M_68xsBB7ggENx2JeM934gC-HV66bw@mail.gmail.com>
References: <CA+Medizd1nfzQfC284x2-BwsCz+M80YZ6NfRMcXtKhPDdD1KqQ@mail.gmail.com>
	<CAAZKuFbpifOgV3XCENTvkP30VCb0rOBv799D2_srJ6ujCACtkQ@mail.gmail.com>
	<5058264D.5090702@opinioni.net>
	<CAHyXU0wJ-9EGF6xPftO1M_68xsBB7ggENx2JeM934gC-HV66bw@mail.gmail.com>

[cut]

>>>> 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.
>>
>> just a pointer to LKML thread:
>>
>> https://lkml.org/lkml/2012/9/14/99
>
> There's some interesting discussion of postgres spinlocks in the thread:
>
> "Yes, postgress performs loads better with it's spinlocks, but due to
> that, it necessarily _hates_ preemption."

another one:

https://lkml.org/lkml/2012/9/15/39

quoting the relevant piece:

On Sat, Sep 15, 2012 at 06:11:02AM +0200, Mike Galbraith wrote:
 > My wild (and only) theory is that this is userspace spinlock related.
 > If so, starting the server and benchmark SCHED_BATCH should not only
 > kill the regression, but likely improve throughput as well.

after that message Borislav Petkov tried to
to exactly that using schedtool(8) (tool to query and set CPU
scheduling parameters)

and he can confirm that performace are "even better than the results with 3.5
(had something around 3900ish on that particular configuration)."


Andrea





view thread (10+ messages)  latest in thread

Message-ID: <50588450.9090709@opinioni.net>
Permalink:  ../50588450.9090709@opinioni.net/
Also on:    postgresql.org/message-id/50588450.9090709@opinioni.net

 · 

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: sickpig@opinioni.net, mmoncure@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: <50588450.9090709@opinioni.net>

* 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