From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753050Ab3IWTkL (ORCPT ); Mon, 23 Sep 2013 15:40:11 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:35829 "EHLO g5t0007.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835Ab3IWTkI (ORCPT ); Mon, 23 Sep 2013 15:40:08 -0400 From: Waiman Long Cc: Waiman Long , linux-kernel@vger.kernel.org, "Paul E. McKenney" , Frederic Weisbecker , "Eric W. Biederman" , Andrew Morton , Serge Hallyn , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: [PATCH 0/2] sched: Reduce contention on tg's load_avg & runnable_avg Date: Mon, 23 Sep 2013 15:39:21 -0400 Message-Id: <1379965163-18440-1-git-send-email-Waiman.Long@hp.com> X-Mailer: git-send-email 1.7.1 To: Ingo Molnar , Peter Zijlstra Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These 2 patches try to reduce contention on the load_avg and runnable_avg values of the task_group structure in large NUMA machine by: patch 1: Move them into their own cacheline & reduce actual read/write to them. patch 2: Reduce the frequecy of doing the average computation. Waiman Long (2): sched: reduce contention on tg's load_avg & runnable_avg sched, numa: reduce load/runnable_avg computation frequency init/Kconfig | 13 ++++++++ kernel/sched/core.c | 1 + kernel/sched/fair.c | 84 +++++++++++++++++++++++++++++++++++++++++++++----- kernel/sched/sched.h | 29 ++++++++++++++++- 4 files changed, 117 insertions(+), 10 deletions(-)