All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Paul Turner <pjt@google.com>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mike Galbraith <efault@gmx.de>,
	Arnaldo Carvalho de Melo <acme@infradead.org>,
	Clark Williams <clark@redhat.com>,
	Andrew Theurer <habanero@us.ibm.com>
Subject: Re: [RFC] sched: The removal of idle_balance()
Date: Fri, 15 Feb 2013 10:05:41 -0500	[thread overview]
Message-ID: <1360940741.23152.110.camel@gandalf.local.home> (raw)
In-Reply-To: <20130215074538.GA25845@lge.com>

On Fri, 2013-02-15 at 16:45 +0900, Joonsoo Kim wrote:
> Hello, Steven.

> - Before Patch
> Permance counter stats for 'perf bench sched messaging -g 300' (10 runs):
> 
>       40847.488740 task-clock                #    3.232 CPUs utilized            ( +-  1.24% )
>            511,070 context-switches          #    0.013 M/sec                    ( +-  7.28% )
>            117,882 cpu-migrations            #    0.003 M/sec                    ( +-  5.14% )
>          1,360,501 page-faults               #    0.033 M/sec                    ( +-  0.12% )
>    118,534,394,180 cycles                    #    2.902 GHz                      ( +-  1.23% ) [50.70%]
>    <not supported> stalled-cycles-frontend 
>    <not supported> stalled-cycles-backend  
>     46,217,340,271 instructions              #    0.39  insns per cycle          ( +-  0.56% ) [76.93%]
>      8,592,447,548 branches                  #  210.354 M/sec                    ( +-  0.75% ) [75.50%]
>        273,367,481 branch-misses             #    3.18% of all branches          ( +-  0.26% ) [75.49%]
> 
>       12.639049245 seconds time elapsed                                          ( +-  2.29% )
> 
> - After Patch
>  Performance counter stats for 'perf bench sched messaging -g 300' (10 runs):
> 
>       42053.008632 task-clock                #    2.932 CPUs utilized            ( +-  0.91% )
>            672,759 context-switches          #    0.016 M/sec                    ( +-  2.76% )
>             83,374 cpu-migrations            #    0.002 M/sec                    ( +-  4.46% )
>          1,362,900 page-faults               #    0.032 M/sec                    ( +-  0.20% )
>    121,457,601,848 cycles                    #    2.888 GHz                      ( +-  0.93% ) [50.75%]
>    <not supported> stalled-cycles-frontend 
>    <not supported> stalled-cycles-backend  
>     47,854,828,552 instructions              #    0.39  insns per cycle          ( +-  0.36% ) [77.09%]
>      8,981,553,714 branches                  #  213.577 M/sec                    ( +-  0.42% ) [75.41%]
>        274,229,438 branch-misses             #    3.05% of all branches          ( +-  0.20% ) [75.44%]
> 
>       14.340330678 seconds time elapsed                                          ( +-  1.79% )
> 

Interesting that perf bench gives me a little better performance with
the idle_balance than without too. But hackbench still shows a huge
performance without idle_balance. The funny part about that is perf
bench sched messaging is based off of hackbench??

I would really like to know why hackbench gets a 50% performance without
idle balancing. Perhaps it is some kind of fluke :-/

-- Steve



  reply	other threads:[~2013-02-15 15:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15  6:13 [RFC] sched: The removal of idle_balance() Steven Rostedt
2013-02-15  7:26 ` Mike Galbraith
2013-02-15 12:07   ` Peter Zijlstra
2013-02-15 12:21   ` Peter Zijlstra
2013-02-15 12:32     ` Mike Galbraith
2013-02-16 16:12   ` Steven Rostedt
2013-02-17  6:26     ` Mike Galbraith
2013-02-17  7:14       ` Mike Galbraith
2013-02-17 21:54         ` Steven Rostedt
2013-02-18  3:42           ` Mike Galbraith
2013-02-18 15:23             ` Steven Rostedt
2013-02-18 17:22               ` Mike Galbraith
2013-02-15  7:45 ` Joonsoo Kim
2013-02-15 15:05   ` Steven Rostedt [this message]
2013-02-17  6:26 ` Mike Galbraith
2013-02-18  8:13 ` Srikar Dronamraju
2013-02-18 15:25   ` Steven Rostedt
2013-02-19  4:13     ` Rakib Mullick
2013-02-19  7:29       ` Michael Wang

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=1360940741.23152.110.camel@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=acme@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=clark@redhat.com \
    --cc=efault@gmx.de \
    --cc=fweisbec@gmail.com \
    --cc=habanero@us.ibm.com \
    --cc=iamjoonsoo.kim@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=pjt@google.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.