public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Maciej Rutecki <maciej.rutecki@gmail.com>,
	Greg Kroah-Hartman <gregkh@suse.de>, Ingo Molnar <mingo@elte.hu>,
	Roman Mamedov <roman@rm.pp.ru>
Subject: Re: [Bug #15044] Much higher wakeups for "<kernel IPI> : Rescheduling interrupts" since 2.6.32.2
Date: Mon, 15 Feb 2010 05:30:33 +0100	[thread overview]
Message-ID: <1266208233.6418.85.camel@marge.simson.net> (raw)
In-Reply-To: <4un6Gst5rKB.A.zP.CkIeLB@chimera>

On Mon, 2010-02-15 at 00:38 +0100, Rafael J. Wysocki wrote:
> This message has been generated automatically as a part of a summary report
> of recent regressions.
> 
> The following bug entry is on the current list of known regressions
> from 2.6.32.  Please verify if it still should be listed and let the tracking team
> know (either way).
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15044
> Subject		: Much higher wakeups for "<kernel IPI> : Rescheduling interrupts" since 2.6.32.2
> Submitter	: Roman Mamedov <roman@rm.pp.ru>
> Date		: 2010-01-11 02:58 (35 days old)
> First-Bad-Commit: http://git.kernel.org/git/linus/a1f84a3ab8e002159498814eaa7e48c33752b04b

I don't know that this should be carried as a regression.

Yes, the code in question increases cross cpu wakeups, but that's the
entire point.  If there is any overlap in execution larger than the cost
of running a scheduler on another core, that time can be converted to
throughput.

Tip AF_UNIX lmbench numbers show that throughput gain being realized,
TCP numbers below that (x) show what can be had for apps which do a lot
of what that microbenchmark does, given a tiny enabler patchlet.

*Local* Communication bandwidths in MB/s - bigger is better
-----------------------------------------------------------------------------
Host                OS  Pipe AF    TCP  File   Mmap  Bcopy  Bcopy  Mem   Mem
                             UNIX      reread reread (libc) (hand) read write
--------- ------------- ---- ---- ---- ------ ------ ------ ------ ---- -----
marge      2.6.31.9-smp 2853 2923 1132 2829.3 4761.9 1235.0 1234.4 4472 1683.
marge      2.6.31.9-smp 2839 2921 1141 2846.5 4779.8 1242.5 1235.9 4455 1684.
marge      2.6.31.9-smp 2838 2935 751. 2838.5 4820.0 1243.6 1235.0 4472 1684.
marge    2.6.33-tip-smp 3057 5166 859. 2760.2 4827.8 1481.1 1466.1 4499 1811.
marge    2.6.33-tip-smp 1796 5165 1257 2748.6 4817.4 1481.1 1464.8 4487 1806.
marge    2.6.33-tip-smp 3055 5175 1262 2763.4 4812.4 1483.9 1462.7 4477 1810.
marge   2.6.33-tip-smpx 3063 5140 2940 2811.1 4740.0 1235.8 1237.0 4433 1673.
marge   2.6.33-tip-smpx 3065 5205 2945 2836.3 4794.4 1243.6 1233.7 4293 1686.
marge   2.6.33-tip-smpx 3058 5181 2940 2785.4 4700.2 1243.9 1234.5 4415 1682.

(1. tip memory numbers are phase-of-moon anomaly.. irrelevant here)
(2. pipe numbers are only possible with pipe buffer increase patch in
tip.  Often, pipes are truly synchronous, so waking cross CPU is small
loss.  In tip, it's a win because of optimistic mutex spin.. context
switch cost is converted to throughput.  That throughput gain also
cannot be had if you don't do the cross cpu wakeup to get the ball
rolling.  The code in question is acting as enabler for spintex.)

So yeah, the code in question _will_ cause more cross CPU wakeups, and
it _may_ cost power.  It may _save_ power by getting the job done more
efficiently.  Dunno.

Regression?  Depends on what you're measuring.

	-Mike


  reply	other threads:[~2010-02-15  4:30 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 23:31 2.6.33-rc8: Reported regressions from 2.6.32 Rafael J. Wysocki
2010-02-14 23:31 ` [Bug #14792] Misdetection of the TV output Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15025] Oops in ext4 driver Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #14937] WARNING: at kernel/lockdep.c:2830 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15036] soft lockup in dmesg after suspend/resume Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #14950] tbench regression with 2.6.33-rc1 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #14999] possible circular locking dependency detected in rfkill at suspend Rafael J. Wysocki
2010-02-15 11:19   ` Eric W. Biederman
2010-02-15 20:45     ` Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #14949] drm_vm.c:drm_mmap: possible circular locking dependency detected Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15076] System panic under load with clockevents_program_event Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15039] leds_alix2: can't allocate I/O for GPIO Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15114] X.org hang with [drm:i915_gem_do_execbuffer] *ERROR* in dmesg Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15044] Much higher wakeups for "<kernel IPI> : Rescheduling interrupts" since 2.6.32.2 Rafael J. Wysocki
2010-02-15  4:30   ` Mike Galbraith [this message]
2010-02-15 20:48     ` Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15177] Asynchronous writes up to 30% slower than in previous kernel versions Rafael J. Wysocki
2010-02-15  7:09   ` Bart Van Assche
2010-02-15 20:55     ` Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15192] netperf ~50% regression with 2.6.33-rc1, bisect to 1b9508f Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15139] e1000: transmit queue 0 timed out Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15142] sysfs-related lockdep warning in __blkdev_get Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15200] NFS problems in 2.6.33-rc6: Unknown error 526 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15202] lockdep warning during elevator_switch Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15244] PROBLEM: hda-intel divide by zero kernel crash in azx_position_ok() Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15207] Pineview - only cursor on black screen visible, "GPU hung" in dmesg Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15245] [2.6.33-rc6 Weird JCPU times? Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15246] BUG: Bad page state in process portageq Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15259] Corruption with OpenGL since Intel's big DRM push on i945 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15248] KMS broken on Intel 855GM broken with 2.6.32/33 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15276] latest git kernel: general protection fault: 0000 [#1] Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15273] Regression in ptrace (Wine) starting with 2.6.33-rc1 Rafael J. Wysocki
2010-02-17 16:15   ` Frederic Weisbecker
2010-02-17 19:54     ` Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15289] Regression 2.6.32 -> 2.6.33, Kernel needs a helping key to boot :) Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15278] lockdep warning for iscsi in 2.6.33-rc6 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15277] 2.6.33-rc6 crashes on resume Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15287] RadeonKMS segfaults kdm on mobility radeon x700 pcie Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15305] Dell video dies when booting Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15307] irq11: nobody cared, during yenta registration Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15292] Laptop reboots instead of resume from suspend with any kernel after 2.6.31 Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15306] Filesystem I/O is CPU-bound Rafael J. Wysocki
2010-02-14 23:38 ` [Bug #15308] 2.6.33-rc8 breaks UML with Restrict initial stack space expansion to rlimit Rafael J. Wysocki
2010-02-20 14:48   ` Américo Wang
2010-02-15  9:52 ` 2.6.33-rc8: Reported regressions from 2.6.32 Rafał Miłecki
2010-02-15 20:59   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2010-02-07 22:16 2.6.33-rc7: " Rafael J. Wysocki
2010-02-07 22:28 ` [Bug #15044] Much higher wakeups for "<kernel IPI> : Rescheduling interrupts" since 2.6.32.2 Rafael J. Wysocki

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=1266208233.6418.85.camel@marge.simson.net \
    --to=efault@gmx.de \
    --cc=gregkh@suse.de \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=roman@rm.pp.ru \
    /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