Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGXW2-0007hC-7S for pgsql-admin@postgresql.org; Tue, 25 Sep 2012 15:57:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGXW0-0007KH-Bx for pgsql-admin@postgresql.org; Tue, 25 Sep 2012 15:57:41 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q8PFvasg021049; Tue, 25 Sep 2012 11:57:36 -0400 (EDT) From: Tom Lane To: Dennis Brouwer cc: pgsql-admin@postgresql.org Subject: Re: CPU causes 100% load in user space when ntp client runs and postgresql is under heavy load In-reply-to: References: <16883.1348504245@sss.pgh.pa.us> Comments: In-reply-to Dennis Brouwer message dated "Tue, 25 Sep 2012 14:58:31 +0200" Date: Tue, 25 Sep 2012 11:57:36 -0400 Message-ID: <21048.1348588656@sss.pgh.pa.us> X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201209/145 X-Sequence-Number: 40086 Dennis Brouwer writes: > I now have excluded ntp as root cause for the CPU cycles being wasted in > user space. Good, cause that wasn't making any sense at all. > I installed perf and monitored two servers (with different postgresql > versions and hardware specification) which are "hanging" and have some > output. Since I'm no die-hard at interpreting the output of perf top what > would be the next step to do? I'd suggest asking for help in pgsql-performance. I don't know much about perf either (still an oprofile guy), but the people who do know it hang out there. regards, tom lane