[PATCH kvm-unit-test] make PMU test to pass on more cpu types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Expand boundaries of some tests since it was observed that on some cpus
results do not fit.

Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux