Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCRXU-0000kB-Jj for pgsql-performance@postgresql.org; Fri, 14 Sep 2012 08:46:16 +0000 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCRXS-0006nU-2g for pgsql-performance@postgresql.org; Fri, 14 Sep 2012 08:46:15 +0000 Received: by lagy9 with SMTP id y9so2556482lag.19 for ; Fri, 14 Sep 2012 01:46:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=hu3hyByj+qr7Bublc/UjSr1PPZ1z/QSkgezkwItK3Yo=; b=SLKpksuBZkwUXfA9xcZZSrQwJFdTnb6KEJPkXEbMHG4Hil8akn6AZweC5TzcB17jiB 3Ex3Z121GcOJC+uNyUMpRYPkjSkr9SJvfxZyQPBMLpyy+WDEQ6gQwDjgsvdSO1YbBJEa z4H9VRwCEBr8+f7/Xe9QUudngZNBTjB9Wq7uz6/F+HVZBDh6Dk0bqNGOm9c75aJUIaPQ q+8VG/0aHyvHMGbky/Nyqhgb5voGYr29HNYELlSV2ZQAhh7gtWZbxumAHKX40iKzjlwc aSeD9S+FHd04uLdoBe9A7EnsxnNxJKKXmSkY6B/YYg/M+uWRhZSQfYUz40iDxVbzmLMd +B8w== Received: by 10.152.123.140 with SMTP id ma12mr1771201lab.22.1347612372554; Fri, 14 Sep 2012 01:46:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.0.203 with HTTP; Fri, 14 Sep 2012 01:45:32 -0700 (PDT) In-Reply-To: References: From: Daniel Farina Date: Fri, 14 Sep 2012 01:45:32 -0700 Message-ID: Subject: Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets To: Nikolay Ulyanitsky Cc: pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkDo10n5LWSqUvq1I5z/PlnZyGiJWpsHu9fQOG9e5wdQOPCRYHMbeSQNpVt510YIEu3WMrr X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/65 X-Sequence-Number: 47811 On Fri, Sep 14, 2012 at 12:40 AM, Nikolay Ulyanitsky wro= te: > 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 =3D 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 =3D 4670.635648 (including connections establishing) > tps =3D 4673.630345 (excluding connections establishing)[/code] > > On kernel 3.5.3: > tps =3D ~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=AE 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. --=20 fdr