lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 6 Sep 2016 14:42:15 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Manfred Spraul <manfred@...orfullife.com>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        "H. Peter Anvin" <hpa@...or.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Davidlohr Bueso <dave@...olabs.net>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...e.hu>,
        Andrew Morton <akpm@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [ipc/sem.c]  99ac0dfffc:  aim9.shared_memory.ops_per_sec -8.9%
 regression


FYI, we noticed a -8.9% regression of aim9.shared_memory.ops_per_sec due to commit:

commit 99ac0dfffcfb34326a880e90e06c30a2a882c692 ("ipc/sem.c: fix complex_count vs. simple op race")
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master

in testcase: aim9
on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 4G memory
with following parameters:

	testtime: 300s
	test: shared_memory
	cpufreq_governor: performance




Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.

Details are as below:
-------------------------------------------------------------------------------------------------->


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml

=========================================================================================
compiler/cpufreq_governor/kconfig/rootfs/tbox_group/test/testcase/testtime:
  gcc-6/performance/x86_64-rhel/debian-x86_64-2015-02-07.cgz/lkp-ivb-d03/shared_memory/aim9/300s

commit: 
  5ae37d6d64 ("config/android: Remove CONFIG_IPV6_PRIVACY")
  99ac0dfffc ("ipc/sem.c: fix complex_count vs. simple op race")

5ae37d6d64c605ee 99ac0dfffcfb34326a880e90e0 
---------------- -------------------------- 
       fail:runs  %reproduction    fail:runs
           |             |             |    
         %stddev     %change         %stddev
             \          |                \  
   1398301 ±  1%      -8.9%    1274143 ±  0%  aim9.shared_memory.ops_per_sec
   4195942 ±  1%      -8.9%    3823474 ±  0%  aim9.time.minor_page_faults
      9013 ±  6%     -19.5%       7252 ±  5%  cpuidle.POLL.usage
     76659 ± 17%     +23.9%      95015 ± 11%  meminfo.Committed_AS
     15205 ±  6%     +13.3%      17233 ±  5%  meminfo.Mapped
   -569.95 ±-33%    +137.7%      -1354 ±-64%  sched_debug.cfs_rq:/.spread0.avg
      5050 ±  5%      -9.7%       4560 ±  7%  sched_debug.cpu.nr_switches.min
     55865 ± 84%     -76.9%      12913 ± 78%  latency_stats.avg.max
     56056 ± 83%     -75.5%      13750 ± 70%  latency_stats.max.max
     14318 ± 69%     -70.2%       4271 ± 61%  latency_stats.sum.kthread_park.watchdog_park_threads.watchdog_enable_all_cpus.proc_watchdog_update.proc_watchdog_common.proc_nmi_watchdog.proc_sys_call_handler.proc_sys_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
 2.676e+09 ± 15%     -20.9%  2.117e+09 ±  8%  perf-stat.cache-references
      1.66 ±  2%     -10.0%       1.49 ±  1%  perf-stat.ipc
   4205943 ±  1%      -8.9%    3833165 ±  0%  perf-stat.minor-faults
   4205945 ±  1%      -8.9%    3833164 ±  0%  perf-stat.page-faults
      1.06 ± 15%    +172.9%       2.89 ± 12%  perf-profile.calltrace.cycles-pp.pid_vnr.SYSC_semtimedop.sys_semop.entry_SYSCALL_64_fastpath
      1.39 ± 10%    +131.6%       3.21 ± 12%  perf-profile.children.cycles-pp.pid_vnr
      1.15 ±  2%     -10.8%       1.03 ±  7%  perf-profile.children.cycles-pp.wake_const_ops
      9.82 ±  2%     +64.9%      16.20 ±  6%  perf-profile.self.cycles-pp.SYSC_semtimedop
      2.24 ±  3%     -12.3%       1.97 ±  5%  perf-profile.self.cycles-pp.do_smart_update
      6.41 ±  1%      -8.3%       5.88 ±  3%  perf-profile.self.cycles-pp.entry_SYSCALL_64_fastpath
      4.12 ±  8%     -19.8%       3.31 ±  8%  perf-profile.self.cycles-pp.ipc_has_perm
      1.39 ± 10%    +131.6%       3.21 ± 12%  perf-profile.self.cycles-pp.pid_vnr
      1.20 ± 15%     -32.8%       0.81 ±  5%  perf-profile.self.cycles-pp.selinux_ipc_permission
      1.15 ±  2%     -10.8%       1.03 ±  7%  perf-profile.self.cycles-pp.wake_const_ops



                                 perf-stat.page-faults

  4.7e+06 ++----------------------------------------------------------------+
  4.6e+06 *+**                          **.*    *.*.*                       |
          |  :                          :  :    :   :                       |
  4.5e+06 ++  :                        :    :  :    :                       |
  4.4e+06 ++  :                        :    :  :     :                      |
          |    :                       :     ::      :                      |
  4.3e+06 ++   *.*. *.*.*.            :      **      *.*   *   .*.* .*.*  *.|
  4.2e+06 ++       *      **.*.*.**.*.*                 + + *.*    *    + : *
  4.1e+06 ++                                             *               *  |
          |                                                                 |
    4e+06 ++                                                                |
  3.9e+06 ++                                                                |
          O      O  O O   O  O O OO O O                                     |
  3.8e+06 ++OO O   O                                                        |
  3.7e+06 ++------------O--O------------------------------------------------+


                                perf-stat.minor-faults

  4.7e+06 ++----------------------------------------------------------------+
  4.6e+06 *+**                          **.*    *.*.*                       |
          |  :                          :  :    :   :                       |
  4.5e+06 ++  :                        :    :  :    :                       |
  4.4e+06 ++  :                        :    :  :     :                      |
          |    :                       :     ::      :                      |
  4.3e+06 ++   *.*. *.*.*.            :      **      *.*   *   .*.* .*.*  *.|
  4.2e+06 ++       *      **.*.*.**.*.*                 + + *.*    *    + : *
  4.1e+06 ++                                             *               *  |
          |                                                                 |
    4e+06 ++                                                                |
  3.9e+06 ++                                                                |
          O      O  O O   O  O O OO O O                                     |
  3.8e+06 ++OO O   O                                                        |
  3.7e+06 ++------------O--O------------------------------------------------+


                            aim9.shared_memory.ops_per_sec

  1.45e+06 ++---------------------------------------------------------------+
           |.* .*.*                      .*. *.*. *. .**                    |
           *  *    + *.*.*             .*   *    *  *   :  *. *.*.* .*.*  *.|
   1.4e+06 ++       *     *.*.*.**.*.**                 : +  *     *    : : *
           |                                             *              ::  |
           |                                                             *  |
  1.35e+06 ++                                                               |
           |                                                                |
   1.3e+06 ++                                                               |
           |           O  O           O                                     |
           O O    O  O        O OO O O                                      |
  1.25e+06 ++ O O   O                                                       |
           |             O  O                                               |
           |                                                                |
   1.2e+06 ++---------------------------------------------------------------+


                              aim9.time.minor_page_faults

  4.4e+06 ++----------------------------------------------------------------+
          |                                                                 |
  4.3e+06 *+**.*.*   .*.*               **.*.**.*.*.**.*             *.   * |
          |       + *    +      .*     +                :  * .*.*.* +  *  :+|
  4.2e+06 ++       *      **.*.*  *.*.*                 : + *      *    +:  *
  4.1e+06 ++                                             *               *  |
          |                                                                 |
    4e+06 ++                                                                |
          |                                                                 |
  3.9e+06 ++                                                                |
  3.8e+06 ++     O  O O   O  O O OO O O                                     |
          O OO O                                                            |
  3.7e+06 ++       O    O  O                                                |
          |                                                                 |
  3.6e+06 ++----------------------------------------------------------------+

	[*] bisect-good sample
	[O] bisect-bad  sample





Thanks,
Xiaolong

View attachment "config-4.8.0-rc3-00135-g99ac0df" of type "text/plain" (152831 bytes)

View attachment "job.yaml" of type "text/plain" (3682 bytes)

View attachment "reproduce" of type "text/plain" (103 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ