linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: Christoph Lameter <cl@linux.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	lkp@01.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [LKP] [lkp] [mm/vmstat] 6cdb18ad98: -8.5% will-it-scale.per_thread_ops
Date: Fri, 8 Jan 2016 12:13:23 +0100	[thread overview]
Message-ID: <20160108111323.GA3927@osiris> (raw)
In-Reply-To: <87mvsgfxtd.fsf@yhuang-dev.intel.com>

On Fri, Jan 08, 2016 at 01:24:30PM +0800, Huang, Ying wrote:
> Heiko Carstens <heiko.carstens@de.ibm.com> writes:
> 
> > On Wed, Jan 06, 2016 at 11:20:55AM +0800, kernel test robot wrote:
> >> FYI, we noticed the below changes on
> >> 
> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> >> commit 6cdb18ad98a49f7e9b95d538a0614cde827404b8 ("mm/vmstat: fix overflow in mod_zone_page_state()")
> >> 
> >> 
> >> =========================================================================================
> >> compiler/cpufreq_governor/kconfig/rootfs/tbox_group/test/testcase:
> >>   gcc-4.9/performance/x86_64-rhel/debian-x86_64-2015-02-07.cgz/ivb42/pread1/will-it-scale
> >> 
> >> commit: 
> >>   cc28d6d80f6ab494b10f0e2ec949eacd610f66e3
> >>   6cdb18ad98a49f7e9b95d538a0614cde827404b8
> >> 
> >> cc28d6d80f6ab494 6cdb18ad98a49f7e9b95d538a0 
> >> ---------------- -------------------------- 
> >>          %stddev     %change         %stddev
> >>              \          |                \  
> >>    2733943   0%      -8.5%    2502129   0%  will-it-scale.per_thread_ops
> >>       3410   0%      -2.0%       3343   0%  will-it-scale.time.system_time
> >>     340.08   0%     +19.7%     406.99   0%  will-it-scale.time.user_time
> >>   69882822   2%     -24.3%   52926191   5%  cpuidle.C1-IVT.time
> >>     340.08   0%     +19.7%     406.99   0%  time.user_time
> >>     491.25   6%     -17.7%     404.25   7%  numa-vmstat.node0.nr_alloc_batch
> >>       2799  20%     -36.6%       1776   0%  numa-vmstat.node0.nr_mapped
> >>     630.00 140%    +244.4%       2169   1%  numa-vmstat.node1.nr_inactive_anon
> >
> > Hmm... this is odd. I did review all callers of mod_zone_page_state() and
> > couldn't find anything obvious that would go wrong after the int -> long
> > change.
> >
> > I also tried the "pread1_threads" test case from
> > https://github.com/antonblanchard/will-it-scale.git
> >
> > However the results seem to vary a lot after a reboot(!), at least on s390.
> >
> > So I'm not sure if this is really a regression.
> 
> The test is quite stable for my side.  We run the test case 7 times for
> your commit and its parent.  The standard variation is very low.
> 
> you commit:
> 
> [2493136, 2510964, 2508784, 2495632, 2506735, 2503016, 2510121]
> 
> parent commit:
> 
> [2735669, 2719566, 2739052, 2741485, 2735152, 2739356, 2739125]
> 
> The test result is stable for bisection too.  The below figure show the
> results of good commits and bad commits.  The distance between is quite
> big.  And the variation is quite small.

Ok, so it seems to be quite stable on your machine across reboots.

I have to admit I still cannot make much sense of this. Is the "pread1"
testcase the only one that performs worse, or are there more?

Also could you please provide the output of /proc/zoneinfo and the output
of "perf top" of the good/bad cases? Maybe that might help to figure out
what is happening.

> FYI, I test your patch on x86 platform.  I have no s390 system.

Sure, I wouldn't expect that.

  reply	other threads:[~2016-01-08 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06  3:20 [lkp] [mm/vmstat] 6cdb18ad98: -8.5% will-it-scale.per_thread_ops kernel test robot
2016-01-07 11:23 ` Heiko Carstens
2016-01-08  5:24   ` [LKP] " Huang, Ying
2016-01-08 11:13     ` Heiko Carstens [this message]
2016-01-21  6:47   ` Huang, Ying

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=20160108111323.GA3927@osiris \
    --to=heiko.carstens@de.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=torvalds@linux-foundation.org \
    --cc=ying.huang@intel.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;
as well as URLs for NNTP newsgroup(s).