Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fftyD-0002Cu-7t for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jul 2018 21:26:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffty9-0002gl-3w for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jul 2018 21:26:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffty8-0002ge-PV for pgsql-hackers@lists.postgresql.org; Wed, 18 Jul 2018 21:26:44 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ffty4-00088c-Kb for pgsql-hackers@lists.postgresql.org; Wed, 18 Jul 2018 21:26:43 +0000 Received: by mail-wr1-x444.google.com with SMTP id a3-v6so6035028wrt.2 for ; Wed, 18 Jul 2018 14:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZCsUOua5HZzRVz5dwTfKmzC4REtfh2yuThdzMl0lk2k=; b=KXuqe8tHyMvgDufZhf4fjpPebleAzHfac8u2maybm9JK4TVekezRcyre/C1EftZZe5 j4IhmDlXS0keOMp+wz2jsrqNrSmPTH+5t1yXYzAv5epIiTHun2KF1nnsFDKSqIw+TymB xYgAPmx4DiQef1gHKVuA1ZxGDDoyiVDe1yzQyYOBCxDHZ7Bxz/xg2u04In7m3/AF4iTi JIY9U9S2by1uFXCf1cTU3EHMtCIwDuDQWCkHPrqXsDmoAxSBLlOjdgqpGFUJ4Unocot2 h5Wm8YNICapHATjXig9Mmn2ZhM2ooJPcB8tROj3yp5nnMGjns9hJDWixHi+REoHS+XPP wlcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZCsUOua5HZzRVz5dwTfKmzC4REtfh2yuThdzMl0lk2k=; b=VHMcPiqtoJnV54U/w0v4dIXOzPJAYwr2JmfjqKROJ/lqYyVSjV8BGl6z2tKRe6J98x M1c5aWKG48E0B5RGkMfqFx2BKaVPuyCDy2aCyuffgQMcI0O+QuA8kos8NrF2W77u8Ul3 ogVGsXf6hxO2F0chDeo+m48BVLuBeqiAedNIA2BODSGZNzCExWd/NiH8xDVDu4384sDU 8/GAs5XSJqIgUqaztm3JMI9EcJiDx0XflH8OBXe5z4fIIteeQdwhwl715Oditwjwz8e+ tK+WTMAQcuekA/UYffHuSjwBdoYudLVTiWsvE9UyiVLBvevFgkkf0GAzlgzKQMzTKQmh nWlg== X-Gm-Message-State: AOUpUlGtbAzJd5DJoug7CHtLu6kIyfurcPbNeQ5OVcD6VHCtWtmiTNDA XTEB+z2fFOFjUtSTy7bZrP0YBxA2sXfa9Awe6bWcySTLdsR9EA/7Osxu6V7uvXpEFuKF0KV9QyZ /AIgi4NQ4jCfzF/Gkd/hfIQEuj9Q499FYf5ooAzMG/lV/npEcRiK63XZIxM/jM4QvxgcL3hDEOg 5GlAs58rpKalzn/YxA X-Google-Smtp-Source: AAOMgpcN6EsSW65hJtBizaaK0llLLrEZ11ctxCor/UwrurzNCJwWK3fv2NtcY/Xhu17J8DG/mA1V3Q== X-Received: by 2002:adf:9b11:: with SMTP id b17-v6mr5534122wrc.119.1531949197198; Wed, 18 Jul 2018 14:26:37 -0700 (PDT) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id m129-v6sm5192834wmb.46.2018.07.18.14.26.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 14:26:36 -0700 (PDT) Subject: Re: GSOC 2018 Project - A New Sorting Routine To: Kefan Yang Cc: Andrey Borodin , Peter Geoghegan , PostgreSQL Hackers References: <57ae7691-6dc8-d6d0-361a-a7269e656273@2ndquadrant.com> <00147235-69d3-d4f0-36c1-198d630af7ad@2ndquadrant.com> <1C5B17F1-D37F-4730-A2E4-EB7288C6DC09@yandex-team.ru> <78b9c822-e127-5250-a01c-4c51a50c82bd@2ndquadrant.com> <5b4fad82.1c69fb81.7a6f6.d32b@mx.google.com> From: Tomas Vondra Message-ID: <58417882-04e3-b23e-b53e-7d0720558335@2ndquadrant.com> Date: Wed, 18 Jul 2018 23:26:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <5b4fad82.1c69fb81.7a6f6.d32b@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I don't have any script for that - load the files into a spreadsheet, create pivot tables and you're done. regards On 07/18/2018 11:13 PM, Kefan Yang wrote: > Hey Tomas! > >   > > I am trying to reproduce the results on my machine. Could you please > share the script to generate .ods files? > >   > > Regards, > > Kefan > >   > > *From: *Tomas Vondra > *Sent: *July 18, 2018 2:05 AM > *To: *Andrey Borodin > *Cc: *Peter Geoghegan ; Kefan Yang > ; PostgreSQL Hackers > > *Subject: *Re: GSOC 2018 Project - A New Sorting Routine > >   > >   > >   > > On 07/18/2018 07:06 AM, Andrey Borodin wrote: > >> Hi, Tomas! > >> > >>> 15 июля 2018 г., в 1:20, Tomas Vondra >>> > написал(а): > >>>  > >>> So I doubt it's this, but I've tweaked the scripts to also set this GUC > >>> and restarted the tests on both machines. Let's see what that does. > >> > >> Do you observe any different results? > >> > >   > > It did change the CREATE INDEX results, depending on the scale. The full > > data is available at [1] and [2], attached is a spreadsheet summary from > > the Xeon box. > >   > > For the largest scale (1M rows) the regressions for CREATE INDEX queries > > mostly disappeared. For 10k rows it still affects CREATE INDEX with a > > text column, and the 100k case behaves just like before (so significant > > regressions for CREATE INDEX). > >   > > I don't have time to investigate this further at the moment, but I'm > > still of the opinion that there's little to gain by replacing our > > current sort algorithm with this. > >   > >   > > [1] https://bitbucket.org/tvondra/sort-intro-sort-xeon/src/master/ > > [2] https://bitbucket.org/tvondra/sort-intro-sort-i5/src/master/ > >   > > regards > >   > > -- > > Tomas Vondra                  http://www.2ndQuadrant.com > > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services > >   > -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services