Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoFiP-0003kN-T3 for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Dec 2013 16:54:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VoFiP-0005Yy-Ao for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Dec 2013 16:54:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoFiO-0005Yl-0M; Wed, 04 Dec 2013 16:54:20 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoFiH-00022B-2X; Wed, 04 Dec 2013 16:54:19 +0000 Received: from anarazel.de (p5DDC5FC6.dip0.t-ipconnect.de [93.220.95.198]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MCwdP-1VwGBc1zXv-009tTh; Wed, 04 Dec 2013 17:54:11 +0100 Received: by anarazel.de (Postfix, from userid 1000) id D2AED1019EF; Wed, 4 Dec 2013 17:54:10 +0100 (CET) Date: Wed, 4 Dec 2013 17:54:10 +0100 From: Andres Freund To: Metin Doslu Cc: Claudio Freire , Amit Kapila , pgsql-hackers , postgres performance list Subject: Re: Parallel Select query performance and shared buffers Message-ID: <20131204165410.GA7286@awork2.anarazel.de> References: <20131204163350.GA5756@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:YJ0QyL7RgOSjQnsPrR56JSBgNkBA+UZg2pb1+UN7HT7 9KHwXD39gONznf+7O3bpZoFRf7X8dCs+yLE5XCRO7P5/bmaG/n ESbHwTlQbddYr6bgPfSXeVG/9L5aYpCcmv1c++DVVj8yLxmrSc WTYNumn93BJ+ABbCCxU425QJEO1SCEpfrBx/ZC28i1IyCGT97v piwpnS9sv8kKQalhVEhBkpSG9DZbFMs/oGoe+4QHl790DfpmJq 7I4cJjVXq52rNphXVISwE4BOy143C3rUkElnxccNYBDxdyX8oD RHxVPATu1aE6Ulg0wtJ4WmsKo2sQmYp6gS+GClo6ZKc6iDIt4C zkE2XlSHNVAKHaMmOnDk2mS7IZZuWNXSvXX3HjHbO X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-12-04 18:43:35 +0200, Metin Doslu wrote: > > I'd strongly suggest doing a "perf record -g -a ; > > perf report" run to check what's eating up the time. > > Here is one example: > > + 38.87% swapper [kernel.kallsyms] [k] hypercall_page > + 9.32% postgres [kernel.kallsyms] [k] hypercall_page > + 6.80% postgres [kernel.kallsyms] [k] xen_set_pte_at All that time is spent in your virtualization solution. One thing to try is to look on the host system, sometimes profiles there can be more meaningful. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers