Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755915AbbEUMNt (ORCPT ); Thu, 21 May 2015 08:13:49 -0400 Received: from mga01.intel.com ([192.55.52.88]:59554 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755860AbbEUMNr (ORCPT ); Thu, 21 May 2015 08:13:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,468,1427785200"; d="scan'208";a="698290674" Message-ID: <1432210423.2703.54.camel@sauron.fi.intel.com> Subject: Re: [PATCH RFC] numa,sched: have fbq_classify_* factor out the current task From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Rik van Riel Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mgorman@suse.de, jhladky@redhat.com, mingo@kernel.org Date: Thu, 21 May 2015 15:13:43 +0300 In-Reply-To: <20150519105544.68caa726@annuminas.surriel.com> References: <20150519105544.68caa726@annuminas.surriel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1225 Lines: 31 On Tue, 2015-05-19 at 10:55 -0400, Rik van Riel wrote: > The load balancer tries to find, through find_busiest_group and > find_busiest_queue, a busy CPU with tasks that are running on > the wrong NUMA node. > > However, the load balancer only moves runnable-but-not-running > tasks in most situations. This fails horribly when the current > task on a CPU is on the wrong NUMA node, but the other task(s) > on the run queue are placed correctly. > > In that situation, what started out as one misplaced tasks > quickly turns into two misplaced tasks. > > Try to avoid that by factoring out the placement of the current > task, in order to find groups and runqueues with misplaced tasks > that are not currently running. > > Signed-off-by: Rik van Riel This seem to give small improvement for our eCommerce web workload, average sever response time went down from ~1.4 to ~1.34. I can run the workload for longer time to get better numbers. Thanks, Artem. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/