From: Gleb Natapov <gleb@redhat.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com
Subject: [PATCH kvm-unit-test] make PMU test to pass on more cpu types
Date: Thu, 29 Mar 2012 10:53:36 +0200 [thread overview]
Message-ID: <20120329085336.GP22368@redhat.com> (raw)
Expand boundaries of some tests since it was observed that on some cpus
results do not fit.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/x86/pmu.c b/x86/pmu.c
index e1b8279..2c46f31 100644
--- a/x86/pmu.c
+++ b/x86/pmu.c
@@ -80,8 +80,8 @@ struct pmu_event {
} gp_events[] = {
{"core cycles", 0x003c, 1*N, 50*N},
{"instructions", 0x00c0, 10*N, 10.2*N},
- {"ref cycles", 0x013c, 1*N, 30*N},
- {"llc refference", 0x4f2e, 1, 1*N},
+ {"ref cycles", 0x013c, 0.1*N, 30*N},
+ {"llc refference", 0x4f2e, 1, 2*N},
{"llc misses", 0x412e, 1, 1*N},
{"branches", 0x00c4, 1*N, 1.1*N},
{"branch misses", 0x00c5, 0, 0.1*N},
--
Gleb.
next reply other threads:[~2012-03-29 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 8:53 Gleb Natapov [this message]
2012-04-09 15:05 ` [PATCH kvm-unit-test] make PMU test to pass on more cpu types Gleb Natapov
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=20120329085336.GP22368@redhat.com \
--to=gleb@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox