Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932158AbZJVMmv (ORCPT ); Thu, 22 Oct 2009 08:42:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755540AbZJVMlQ (ORCPT ); Thu, 22 Oct 2009 08:41:16 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:55656 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755190AbZJVMlN (ORCPT ); Thu, 22 Oct 2009 08:41:13 -0400 Message-Id: <20091022123743.506956796@spinlock.in.ibm.com> User-Agent: quilt/0.44-1 Date: Thu, 22 Oct 2009 18:07:43 +0530 From: dino@in.ibm.com To: Thomas Gleixner , Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, John Stultz , Darren Hart , John Kacur Subject: [patch -rt 00/17] [patch -rt] Sched load balance backport Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 31 Problem: The current -rt, 2.6.31.4-rt14, has several load balancing issues. It can easily be seen with dbench running with the same number of processes as the number of cpus on a SMP system. The dbench threads are running as SCHED_OTHER processes. Several threads end up running on the same cpu even though other cpus are idling. This results in severe throughput regression. Peter Zijlstra posted several load balance patches meant for mainline a while ago. The following patch series is a backport of the same to 2.6.31.4-rt14. Peter's original patches can be found at http://marc.info/?l=linux-kernel&m=125198436208787&w=2 Patches 1 through 14 are backports of the original patches except patch 10 which has the original code + bug fixes. Patches 15 - 17 are various relevant fixes that have gone on top of the original patches. With these patches, load balancing improves considerably on -rt. However it does not completely resolve the problem. This is still under investigation. This has been stress tested on x86_64 and i686 -Dinakar -- -- 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/