public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Geoghegan <[email protected]>
To: Tom Lane <[email protected]>
Cc: Felix Geisendörfer <[email protected]>
Cc: postgres performance list <[email protected]>
Subject: Re: 10x faster sort performance on Skylake CPU vs Ivy Bridge
Date: Fri, 25 Aug 2017 08:43:49 -0700
Message-ID: <CAH2-WznaO1jsm1MsnpwAp4PArxP9NDhV-zHMgTy8sG6_OMwN7A@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

On Fri, Aug 25, 2017 at 8:07 AM, Tom Lane <[email protected]> wrote:
> I doubt this is a hardware issue, it's more likely that you're comparing
> apples and oranges.  The first theory that springs to mind is that the
> sort keys are strings and you're using C locale on the faster machine but
> some non-C locale on the slower.  strcoll() is pretty darn expensive
> compared to strcmp() :-(

strcoll() is very noticeably slower on macOS, too.

-- 
Peter Geoghegan


-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: 10x faster sort performance on Skylake CPU vs Ivy Bridge
  In-Reply-To: <CAH2-WznaO1jsm1MsnpwAp4PArxP9NDhV-zHMgTy8sG6_OMwN7A@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox