All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huang, Ying <ying.huang@intel.com>
To: lkp@lists.01.org
Subject: Re: [lkp-robot] [sched, cpumask] 9475ceda45: -6% regression of hackbench.throughput
Date: Wed, 17 May 2017 09:37:48 +0800	[thread overview]
Message-ID: <87y3twntzn.fsf@yhuang-dev.intel.com> (raw)
In-Reply-To: <20170517013255.GA27433@yexl-desktop>

[-- Attachment #1: Type: text/plain, Size: 3642 bytes --]

Ye Xiaolong <xiaolong.ye@intel.com> writes:

> On 05/16, Peter Zijlstra wrote:
>>On Tue, May 16, 2017 at 09:33:49AM +0800, kernel test robot wrote:
>>> 
>>> Greeting,
>>> 
>>> We noticed a -6% regression of hackbench.throughput due to commit:
>>> 
>>> commit: 9475ceda453545fc55b2ccf30b1fbed0e590fdca ("sched,cpumask: Export for_each_cpu_wrap()")
>>> https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git schd/wip
>>> 
>>> in testcase: hackbench
>>> on test machine: 112 threads Skylake with 64G memory
>>
>>How many sockets does that have? 112 threads is 56 cores. With a 23 core
>>part that gives 2 sockets. But 23 is a very weird number of cores to
>>have on a part (also wikipedia doesn't yet list the SKX parts).
>>
>
> Hi, ying
>
> The tbox is lkp-skl-sp1, how do I get the socket info for it?

You can queue hwinfo.yaml for it and check lscpu result.

Best Regards,
Huang, Ying

> Thanks,
> Xiaolong
>
>
>>> with following parameters:
>>> 
>>> 	nr_threads: 50%
>>> 	mode: threads
>>> 	ipc: socket
>>> 	cpufreq_governor: performance
>>> 
>>> test-description: Hackbench is both a benchmark and a stress test for the Linux kernel scheduler.
>>> test-url: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/sched/cfs-scheduler/hackbench.c
>>
>>> Details are as below:
>>> -------------------------------------------------------------------------------------------------->
>>> 
>>> 
>>> To reproduce:
>>> 
>>>         git clone https://github.com/01org/lkp-tests.git
>>>         cd lkp-tests
>>>         bin/lkp install job.yaml  # job file is attached in this email
>>>         bin/lkp run     job.yaml
>>> 
>>> testcase/path_params/tbox_group/run: hackbench/50%-threads-socket-performance/lkp-skl-sp1
>>> 
>>
>>> 
>>>                                 hackbench.throughput
>>> 
>>>   145000 ++-----------------------------------------------------------------+
>>>   140000 *+**.*.*               *. .**.*.*.**.*.**.*.**.*. *.*.**.      .*  |
>>>          |       *.*.**.*.**.*.*  *                       *       *.**.*  *.*
>>>   135000 ++                                                                 |
>>>   130000 ++                         O      OO O OO                          |
>>>          |              O OO   OO O  O O O                                  |
>>>   125000 ++                  O                                              |
>>>   120000 ++                                                                 |
>>>   115000 ++                                                                 |
>>>          |                                                                  |
>>>   110000 ++     O                                                           |
>>>   105000 ++                                                                 |
>>>          | O       O OO                                                     |
>>>   100000 O+ O O  O                                                          |
>>>    95000 ++-----------------------------------------------------------------+
>>
>>
>>So what is 'hackbench.throughput' and how do you run it? My hackbench
>>only gives a total time, like:
>>
>>$ perf bench sched messaging -g 50 -l 5000
>># Running 'sched/messaging' benchmark:
>># 20 sender and receiver processes per group
>># 50 groups == 2000 processes run
>>
>>     Total time: 5.302 [sec]
>>
>>
>>And my numbers are nowhere stable enough to conclusively see a
>>regression, but I can maybe see a 2% dip on my IVB-EP.
>>
>>And I so don't want to dig through your script mess again :/

  reply	other threads:[~2017-05-17  1:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16  1:33 [lkp-robot] [sched, cpumask] 9475ceda45: -6% regression of hackbench.throughput kernel test robot
2017-05-16  7:21 ` Peter Zijlstra
2017-05-16 11:32 ` Peter Zijlstra
2017-05-17  1:32   ` Ye Xiaolong
2017-05-17  1:37     ` Huang, Ying [this message]
2017-05-17  1:59   ` Ye Xiaolong
2017-05-16 13:05 ` 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=87y3twntzn.fsf@yhuang-dev.intel.com \
    --to=ying.huang@intel.com \
    --cc=lkp@lists.01.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.