The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>,
	Srivatsa Vaddagiri <vatsa@in.ibm.com>,
	Dhaval Giani <dhaval@linux.vnet.ibm.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched: revert load_balance_monitor()
Date: Mon, 25 Feb 2008 15:29:59 +0100	[thread overview]
Message-ID: <1203949799.4688.9.camel@homer.simson.net> (raw)
In-Reply-To: <1203942167.6242.142.camel@lappy>


On Mon, 2008-02-25 at 13:22 +0100, Peter Zijlstra wrote:
> Subject: sched: revert load_balance_monitor()
> 
> The following commit causes a number of serious regressions:
> 
>   commit 6b2d7700266b9402e12824e11e0099ae6a4a6a79
>   Author: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
>   Date:   Fri Jan 25 21:08:00 2008 +0100
>   sched: group scheduler, fix fairness of cpu bandwidth allocation for task groups
> 
> Namely:
>  - very frequent wakeups on SMP, reported by PowerTop users.
>  - cacheline trashing on (large) SMP
>  - some latencies larger than 500ms
> 
> While there is a mergeable patch to fix the latter, the former issues
> are IMHO not fixable in a manner suitable for .25 (we're at -rc3 now).
> Hence I propose to revert this patch and try again for .26.
> 
> ( minimal revert - leaves most of the code present, just removes the activation
>   and sysctl interface ).

top - 14:05:56 up 3 min, 16 users,  load average: 4.31, 2.14, 0.85
Tasks: 218 total,   5 running, 213 sleeping,   0 stopped,   0 zombie
Cpu(s): 35.5%us, 64.5%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  P COMMAND
 5294 mikeg     20   0  1464  364  304 R   99  0.0   1:00.08 0 chew-max
 5278 root      20   0  1464  364  304 R   32  0.0   0:27.86 1 chew-max
 5279 root      20   0  1464  360  304 R   32  0.0   0:35.53 1 chew-max
 5290 root      20   0  1464  364  304 R   31  0.0   0:29.00 1 chew-max

The minimal revert seems to leave group fairness in a worse state than
what the original patch meant to fix.  Maybe a full revert would be
better?

	-Mike


  reply	other threads:[~2008-02-25 14:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 12:22 [PATCH] sched: revert load_balance_monitor() Peter Zijlstra
2008-02-25 14:29 ` Mike Galbraith [this message]
2008-02-25 14:35   ` Dhaval Giani
2008-02-25 14:37     ` Mike Galbraith
2008-02-28 13:26       ` Ingo Molnar
2008-02-28 16:13         ` Mike Galbraith
2008-02-29  7:11           ` Mike Galbraith
2008-02-25 15:28     ` Peter Zijlstra
2008-02-25 15:53       ` Heiko Carstens
2008-02-25 16:01       ` Srivatsa Vaddagiri
2008-02-25 16:34         ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1203949799.4688.9.camel@homer.simson.net \
    --to=efault@gmx.de \
    --cc=a.p.zijlstra@chello.nl \
    --cc=dhaval@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=vatsa@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox