Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755483AbYKUI2b (ORCPT ); Fri, 21 Nov 2008 03:28:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753335AbYKUI2G (ORCPT ); Fri, 21 Nov 2008 03:28:06 -0500 Received: from e28smtp02.in.ibm.com ([59.145.155.2]:58306 "EHLO e28smtp02.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753003AbYKUI2E (ORCPT ); Fri, 21 Nov 2008 03:28:04 -0500 From: Vaidyanathan Srinivasan Subject: [RFC PATCH v4 7/7] sched: fine-tune SD_MC_INIT -- revert To: Linux Kernel , Suresh B Siddha , Venkatesh Pallipadi , Peter Zijlstra Cc: Ingo Molnar , Dipankar Sarma , Balbir Singh , Vatsa , Gautham R Shenoy , Andi Kleen , David Collier-Brown , Tim Connors , Max Krasnyansky , Gregory Haskins , Vaidyanathan Srinivasan Date: Fri, 21 Nov 2008 14:01:54 +0530 Message-ID: <20081121083154.27075.71015.stgit@drishya.in.ibm.com> In-Reply-To: <20081121082533.27075.12056.stgit@drishya.in.ibm.com> References: <20081121082533.27075.12056.stgit@drishya.in.ibm.com> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1644 Lines: 48 commit 14800984706bf6936bbec5187f736e928be5c218 Author: Mike Galbraith Date: Fri Nov 7 15:26:50 2008 +0100 Reverting this patch for now since this affects consolidation and power savings. Will rework this tuning in the next iteration. Tune SD_MC_INIT the same way as SD_CPU_INIT: unset SD_BALANCE_NEWIDLE, and set SD_WAKE_BALANCE. This improves vmark by 5%: vmark 132102 125968 125497 messages/sec avg 127855.66 .984 vmark 139404 131719 131272 messages/sec avg 134131.66 1.033 Signed-off-by: Mike Galbraith Acked-by: Peter Zijlstra Signed-off-by: Ingo Molnar Signed-off-by: Vaidyanathan Srinivasan --- include/linux/topology.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/topology.h b/include/linux/topology.h index 2565f4a..b1551d4 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h @@ -120,10 +120,10 @@ void arch_update_cpu_topology(void); .wake_idx = 1, \ .forkexec_idx = 1, \ .flags = SD_LOAD_BALANCE \ + | SD_BALANCE_NEWIDLE \ | SD_BALANCE_FORK \ | SD_BALANCE_EXEC \ | SD_WAKE_AFFINE \ - | SD_WAKE_BALANCE \ | SD_SHARE_PKG_RESOURCES\ | BALANCE_FOR_MC_POWER, \ .last_balance = jiffies, \ -- 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/