All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Shi <alex.shi@linaro.org>
To: lkp@lists.01.org
Subject: Re: [x86/tlb] ff9b625d26: stderr.Run:"Process_Creation":Fork_failed_at_iteration in unixbench test
Date: Fri, 18 Mar 2016 22:27:52 +0800	[thread overview]
Message-ID: <56EC1068.6020405@linaro.org> (raw)
In-Reply-To: <20160317060037.GD1670@yexl-desktop>

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


Hi Xiaolong,

I tried this benchmark on my native haswell box, but it works. and get
unstable/better performance value.
This patch may be has some problem when it run in guest OS.
Did you run the case on a guest OS or a native OS?

Any other benchmark did you test on any other machine? If so, what's the
result you get?

Regards
Alex

On 03/17/2016 02:00 PM, kernel test robot wrote:
> FYI, we noticed stderr.Run:"Process_Creation":Fork_failed_at_iteration in unixbench test on
> 
> https://github.com/alexshi/power-scheduling.git x86-tlb
> commit ff9b625d26ba7750745d235dc6f1792fb36fea48 ("x86/tlb: just do tlb flush on one of siblings of SMT")
> 
> 2016-03-17 06:04:39 ./Run spawn -c 1
> 
>    #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
>    #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
>    #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
>    #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
>    #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
>     ####   #    #  #  #    #          #####   ######  #    #   ####   #    #
> 
>    Version 5.1.3                      Based on the Byte Magazine Unix Benchmark
> 
>    Multi-CPU version                  Version 5 revisions by Ian Smith,
>                                       Sunnyvale, CA, USA
>    January 13, 2011                   johantheghost at yahoo period com
> 
> 
> 1 x Process Creation  1
> 
> 
> =========================================================================================
> compiler/cpufreq_governor/kconfig/nr_task/rootfs/tbox_group/test/testcase:
>   gcc-4.9/performance/x86_64-rhel/1/debian-x86_64-2015-02-07.cgz/lkp-ivb-d02/spawn/unixbench
> 
> commit: 
>   v4.5
>   ff9b625d26ba7750745d235dc6f1792fb36fea48
> 
>             v4.5 ff9b625d26ba7750745d235dc6 
> ---------------- -------------------------- 
>        fail:runs  %reproduction    fail:runs
>            |             |             |    
>            :4          100%           4:4     last_state.failed
>            :4          100%           4:4     last_state.is_incomplete_run
>            :4          100%           4:4     last_state.unixbench.exit_code.1
>            :4          100%           4:4     stderr.**********************************************
>            :4           50%           2:4     stderr.Reason:Success;aborting
>            :4          100%           4:4     stderr.Run:"Process_Creation":Fork_failed_at_iteration
>            :4           50%           2:4     stderr.Segmentation_fault;aborting
> 
> =========================================================================================
> compiler/cpufreq_governor/kconfig/nr_task/rootfs/tbox_group/test/testcase:
>   gcc-4.9/performance/x86_64-rhel/1/debian-x86_64-2015-02-07.cgz/lkp-ivb-d04/spawn/unixbench
> 
> commit: 
>   v4.5
>   ff9b625d26ba7750745d235dc6f1792fb36fea48
> 
>             v4.5 ff9b625d26ba7750745d235dc6 
> ---------------- -------------------------- 
>        fail:runs  %reproduction    fail:runs
>            |             |             |    
>            :8          100%           8:8     last_state.failed
>            :8          100%           8:8     last_state.is_incomplete_run
>            :8          100%           8:8     last_state.unixbench.exit_code.1
>            :8          100%           8:8     stderr.**********************************************
>            :8           12%           1:8     stderr.Aborted;aborting
>            :8           62%           5:8     stderr.Reason:Success;aborting
>            :8           75%           6:8     stderr.Run:"Process_Creation":Fork_failed_at_iteration
>            :8           12%           1:8     stderr.Run:"Process_Creation":Segmentation_fault;aborting
>            :8           12%           1:8     stderr.Run:"Process_Creation":spawn:../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:#:__libc_fork:Assertion`({__typeof(({struct_pthread*__self;asm("mov%%fs:%c1,%#":"=r"(__self):"i"(__builtin_offsetof(struct_pthread,header.self)));__self;})->tid)__value;if(sizeof(__value)==#)asm_volatile("movb%%fs:%P2,%b0":"=q"(__value):"#"(#),"i"(__builtin_offsetof(struct_pthread,tid)));else_if(sizeof(__value)==#)asm_volatile("movl%%fs:%P1,%#":"=r"(__value):"i"(__builtin_offsetof(struct_pthread,tid)));else{if(sizeof(__value)!=#)abort();asm_volatile("movq%%fs:%P1,%q0":"=r"(__value):"i"(__builtin_offsetof(struct_pthread,tid)));}__value;})==ppid'failed
>            :8           12%           1:8     stderr.Segmentation_fault;aborting
> 
> lkp-ivb-d02: Ivy Bridge
> Memory: 8G
> 
> lkp-ivb-d04: Ivy Bridge
> Memory: 4G
> 
> 
> 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
> 
> 
> 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.
> 
> 
> Thanks,
> Xiaolong Ye
> 

  parent reply	other threads:[~2016-03-18 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17  6:00 [x86/tlb] ff9b625d26: stderr.Run:"Process_Creation":Fork_failed_at_iteration in unixbench test kernel test robot
2016-03-17  9:07 ` Alex Shi
2016-03-18 14:27 ` Alex Shi [this message]
2016-03-21  4:43   ` Ye Xiaolong
2016-03-21  5:51     ` Alex Shi
2016-03-21  6:15       ` Ye Xiaolong
2016-03-21  6:27         ` Alex Shi
2016-03-21  6:33       ` Huang, Ying
2016-03-21  6:39         ` Alex Shi
2016-03-21  6:59           ` 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=56EC1068.6020405@linaro.org \
    --to=alex.shi@linaro.org \
    --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.