From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756194Ab2I0KUz (ORCPT ); Thu, 27 Sep 2012 06:20:55 -0400 Received: from mail.skyhub.de ([78.46.96.112]:39929 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754494Ab2I0KUy (ORCPT ); Thu, 27 Sep 2012 06:20:54 -0400 Date: Thu, 27 Sep 2012 12:20:50 +0200 From: Borislav Petkov To: david@lang.hm Cc: Linus Torvalds , Peter Zijlstra , Mike Galbraith , Mel Gorman , Nikolay Ulyanitsky , linux-kernel@vger.kernel.org, Andreas Herrmann , Andrew Morton , Thomas Gleixner , Ingo Molnar , Suresh Siddha Subject: Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected Message-ID: <20120927102050.GA967@liondog.tnic> Mail-Followup-To: Borislav Petkov , david@lang.hm, Linus Torvalds , Peter Zijlstra , Mike Galbraith , Mel Gorman , Nikolay Ulyanitsky , linux-kernel@vger.kernel.org, Andreas Herrmann , Andrew Morton , Thomas Gleixner , Ingo Molnar , Suresh Siddha References: <1348538258.7100.23.camel@marge.simpson.net> <1348574286.3881.40.camel@twins> <20120925131736.GA30652@x1.osrc.amd.com> <20120925170058.GC30158@x1.osrc.amd.com> <20120926163233.GA5339@x1.osrc.amd.com> <20120926213723.GA27692@liondog.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2012 at 12:17:22AM -0700, david@lang.hm wrote: > It seems to me that trying to figure out if you are going to > overload the L2 is an impossible task, so just assume that it will > all fit, and the worst case is you have one balancing cycle where > you can't do as much work and then the normal balancing will kick in > and move something anyway. Right, and this implies that when the load balancer runs, it will definitely move the task away from the L2. But what do I do in the cases where the two tasks don't overload the L2 and it is actually beneficial to keep them there? How does the load balancer know that? -- Regards/Gruss, Boris.