Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWinr-0002wy-DP for pgsql-performance@arkaria.postgresql.org; Wed, 24 Sep 2014 09:24:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWinq-0006lt-Sw for pgsql-performance@arkaria.postgresql.org; Wed, 24 Sep 2014 09:24:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWinp-0006lT-Mp for pgsql-performance@postgresql.org; Wed, 24 Sep 2014 09:24:01 +0000 Received: from smtp-o-3.desy.de ([2001:638:700:1038::1:9c]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWinh-0001Pl-6a for pgsql-performance@postgresql.org; Wed, 24 Sep 2014 09:24:00 +0000 Received: from smtp-map-3.desy.de (smtp-map-3.desy.de [131.169.56.68]) by smtp-o-3.desy.de (DESY-O-3) with ESMTP id D128B28080C for ; Wed, 24 Sep 2014 11:23:49 +0200 (CEST) Received: from ZITSWEEP1.win.desy.de (zitsweep1.win.desy.de [131.169.97.95]) by smtp-map-3.desy.de (DESY_MAP_3) with ESMTP id C1B571152 for ; Wed, 24 Sep 2014 11:23:49 +0200 (MEST) Received: from smtp-intra-3.desy.de (lb-40-26.desy.de) by ZITSWEEP1.win.desy.de (Clearswift SMTPRS 5.5.0) with ESMTP id ; Wed, 24 Sep 2014 11:23:49 +0200 Received: from z-mta-2.desy.de (z-mta-2.desy.de [131.169.55.136]) by smtp-intra-3.desy.de (DESY-INTRA-3) with ESMTP id 00BEB1152; Wed, 24 Sep 2014 11:23:48 +0200 (MEST) Received: from z-mta-2.desy.de (localhost [127.0.0.1]) by z-mta-2.desy.de (Postfix) with ESMTP id EF8E92600AA; Wed, 24 Sep 2014 11:23:48 +0200 (CEST) Received: from z-mta-2.desy.de (localhost [127.0.0.1]) by z-mta-2.desy.de (Postfix) with ESMTP id E13E02600B1; Wed, 24 Sep 2014 11:23:48 +0200 (CEST) Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by z-mta-2.desy.de (Postfix) with ESMTP id DC38B2600AA; Wed, 24 Sep 2014 11:23:48 +0200 (CEST) Date: Wed, 24 Sep 2014 11:23:48 +0200 (CEST) From: "Mkrtchyan, Tigran" To: Merlin Moncure Cc: Mark Kirkwood , postgres performance list Message-ID: <1160757821.126570.1411550628851.JavaMail.zimbra@desy.de> In-Reply-To: References: <45142416.42827.1411033201079.JavaMail.zimbra@desy.de> <753223953.46319.1411106018106.JavaMail.zimbra@desy.de> <541BCC93.9070204@catalyst.net.nz> <212134052.46894.1411111441514.JavaMail.zimbra@desy.de> <541CC338.5090700@catalyst.net.nz> <1234976322.60875.1411477085811.JavaMail.zimbra@desy.de> Subject: Re: postgres 9.3 vs. 9.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.0.7_GA_6021 (ZimbraWebClient - FF32 (Linux)/8.0.7_GA_6021) Thread-Topic: postgres 9.3 vs. 9.4 Thread-Index: Nt8/Ogu8xM4j78U+rdyuQ+GGyiR1rA== X-Pg-Spam-Score: -1.6 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Hi Merlin et al. after building postgres 9.4 myself from sources I get the same performance as with 9.3. The difference was in the value of debug_assertions setting. Now the next step. Why my 3 years old laptop gets x1.8 times more tps than my one month old server? And Mark Kirkwood's desktop gets x2 times more tps as well? Is there some special optimization for i7 which does not work with Intel(R) Xeon(R) CPU E5-2660? Thanks, Tigran. ----- Original Message ----- > From: "Merlin Moncure" > To: "Tigran Mkrtchyan" > Cc: "Mark Kirkwood" , "postgres performance list" > Sent: Tuesday, September 23, 2014 4:21:13 PM > Subject: Re: [PERFORM] postgres 9.3 vs. 9.4 > > On Tue, Sep 23, 2014 at 7:58 AM, Mkrtchyan, Tigran > wrote: > > Hi Merlin, > > > > you are right, in 9.4 the debug_assertions are on: > > > > # /etc/init.d/postgresql-9.4 start > > Starting postgresql-9.4 service: [ OK ] > > # psql -U postgres > > psql (9.4beta2) > > Type "help" for help. > > > > postgres=# select name,setting from pg_settings where > > name='debug_assertions'; > > name | setting > > ------------------+--------- > > debug_assertions | on > > (1 row) > > > (plz try to not top-post). > > That's not not really unexpected: 9.4 is still in beta. If you're > just doing raw performance testing consider building a postgres > instance from source (but, instead of compiling into /usr/local/bin, > I'd keep it all in private user folder for easy removal). > > For example, if I downloaded the source into /home/mmoncure/pgdev/src, > i'd approximately do: > > cd /home/mmoncure/pgdev/src > ./configure --prefix=/home/mmoncure/pgdev > # if configure gripes about missing readline, go grab the > libreadline-dev rpm etc and repeat above > make -j4 && make install > export PATH=/home/mmoncure/pgdev/bin:$PATH > export PGDATA=/home/mmoncure/pgdev/data > # use C locale. may not be appropriate in your case > initdb --no-locale --encoding=UTF8 > pg_ctl start > > This should suffice any beta performance testing you need to do. When > 9.4 proper comes out, just stop the database and kill the pgdev folder > (taking a backup first if you need to preserve stuff). > > merlin > > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance > -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance