All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huang, Ying <ying.huang@intel.com>
To: lkp@lists.01.org
Subject: Re: [x86, paravirt] fd6f48529f: aim7.jobs-per-min -26.1% regression
Date: Thu, 08 Dec 2016 09:12:36 +0800	[thread overview]
Message-ID: <87y3zrkyuz.fsf@yhuang-dev.intel.com> (raw)
In-Reply-To: <20161207131740.GY3092@twins.programming.kicks-ass.net>

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

Peter Zijlstra <peterz@infradead.org> writes:

> On Thu, Dec 01, 2016 at 02:07:29AM +0800, kernel test robot wrote:
>> 
>> Greeting,
>> 
>> FYI, we noticed a -26.1% regression of aim7.jobs-per-min due to commit:
>> 
>> 
>> commit: fd6f48529f4067c6bfbead88d3d7d117d51150f6 ("x86,paravirt: Optimize native pv_lock_ops.vcpu_is_preempted")
>> https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core
>> 
>> in testcase: aim7
>> on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 5G
>> with following parameters:
>> 
>> 	test: link_test
>> 	load: 2000
>> 
>> test-description: AIM7 is a traditional UNIX system level benchmark
>> suite which is used to test and measure the performance of multiuser
>> system.
>> test-url: https://sourceforge.net/projects/aimbench/files/aim-suite7/
>> 
>
> OK, so I'm having a very hard time reproducing this. How can I run this
> link_test stuff when I got aim7 compiled? This is all impenetrable gunk
> to me.
>

Sorry, the reproduce script wasn't attached in the original email, here
it is:

echo "500 32000 128 512" > /proc/sys/kernel/sem
cat > workfile <<EOF
FILESIZE: 1M
POOLSIZE: 10M
10 link_test
EOF
mkdir -p /fs/shm
umount /fs/shm
mount -t tmpfs /dev/shm /fs/shm
echo "/fs/shm" > config

	(
		echo vm-lkp-a05-1
		echo link_test

		echo 1
		echo 2000
		echo 2
		echo 2000
		echo 1
	) | ./multitask -t

>
> Also, do you see the same problem with the upstream commit?
>
>   3cded4179481 ("x86/paravirt: Optimize native pv_lock_ops.vcpu_is_preempted()")

Sure.  I will test this commit and its parent.

Best Regards,
Huang, Ying

  reply	other threads:[~2016-12-08  1:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 18:07 [x86, paravirt] fd6f48529f: aim7.jobs-per-min -26.1% regression kernel test robot
2016-12-01  7:04 ` Peter Zijlstra
2016-11-30 23:17   ` Ye Xiaolong
2016-12-01  7:21     ` Peter Zijlstra
2016-12-01 16:49     ` Ye Xiaolong
2016-12-07 13:17 ` Peter Zijlstra
2016-12-08  1:12   ` Huang, Ying [this message]
2016-12-08  8:39   ` Huang, Ying
2016-12-08 11:08     ` Peter Zijlstra
2016-12-09  2:36       ` Huang, Ying
2016-12-09  5:36         ` 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=87y3zrkyuz.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.