From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160Ab2IYBjx (ORCPT ); Mon, 24 Sep 2012 21:39:53 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:40375 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751754Ab2IYBjw (ORCPT ); Mon, 24 Sep 2012 21:39:52 -0400 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX1/ORPwa/R7OUM9RBPIhuPJdB77H0sEEUaPDVxbcy2 Ajn4OqvM19+Vvh Message-ID: <1348537186.7100.16.camel@marge.simpson.net> Subject: Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected From: Mike Galbraith To: Linus Torvalds Cc: Peter Zijlstra , Mel Gorman , Borislav Petkov , Nikolay Ulyanitsky , linux-kernel@vger.kernel.org, Andreas Herrmann , Andrew Morton , Thomas Gleixner , Ingo Molnar , Suresh Siddha Date: Tue, 25 Sep 2012 03:39:46 +0200 In-Reply-To: References: <20120914212717.GA29307@liondog.tnic> <20120924150048.GB11266@suse.de> <1348500647.11847.69.camel@twins> <1348503163.11847.97.camel@twins> <1348505683.11847.111.camel@twins> <1348511193.6951.44.camel@marge.simpson.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-09-24 at 12:12 -0700, Linus Torvalds wrote: > On Mon, Sep 24, 2012 at 11:26 AM, Mike Galbraith wrote: > > > > Aside from the cache pollution I recall having been mentioned, on my > > E5620, cross core is a tbench win over affine, cross thread is not. > > Oh, I agree with trying to avoid HT threads, the resource contention > easily gets too bad. > > It's more a question of "if we have real cores with separate L1's but > shared L2's, go with those first, before we start distributing it out > to separate L2's". Oh absolutely, if you have cores with shared L2, that's _the_ way to go, shared L2 is lovely, and what select_idle_sibling() was originally all about. Westmere manages to cough up a tbench win without that. Heck, I generated some numbers for Borislav yesterday showing the thing winning at _netperf TCP_RR_, one byte synchronous ping pong. -Mike