|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 5/9] sg-run-job: new recipe for a unixbench job
Installs and run unixbench inside a PV and an HVM guest.
XXX - The HVM case needs that a few fixup are performed
after ts-debian-hvm-install. I'll do that as a
separate and independent patch.
- This is mostly a proof of concept. I think the
recipes it defines are actually useful, but of
course we can discuss of what is the best course
of actions, depending how we want to achieve.
Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
---
sg-run-job | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index e903869..36b6870 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -317,6 +317,34 @@ proc run-job/test-rumpuserxen {} {
run-ts . = ts-guest-destroy + host $g
}
+#-------- benchmarks --------
+
+proc bench-unixbench-guest {g} {
+ run-ts . = ts-unixbench-prep + host $g
+ run-ts . = ts-unixbench-run + host $g
+ run-ts . = ts-unixbench-reslts + host $g
+ run-ts . = ts-guest-stop + host $g
+}
+
+proc bench-unixbench-pv {} {
+ run-ts . = ts-debian-install + host
+ run-ts . = ts-debian-fixup + host debian
+ run-ts . = ts-guest-start + host debian
+ bench-unixbench-guest debian
+}
+
+proc bench-unixbench-hvm {} {
+ run-ts . = ts-debian-hvm-install
+ bench-unixbench-guest debianhvm
+}
+
+proc need-hosts/bench-unixbench {} { return host }
+proc run-job/bench-unixbench {} {
+ bench-unixbench-pv
+ #bench-unixbench-hvm TODO: a few fixup needed, will submit as
+ # separate patches.
+}
+
#---------- builds ----------
proc need-hosts/build {} { return BUILD }
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |