From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH 10/27] sg-run-job: recipes for the unixbench jobs Date: Wed, 10 Dec 2014 19:10:14 +0100 Message-ID: <20141210181014.26400.89801.stgit@Abyss.station> References: <20141210180651.26400.13356.stgit@Abyss.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141210180651.26400.13356.stgit@Abyss.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Jackson , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org Recipes are defined for prepping and running the unixbench benchmark on the host and on Debian PV and HVM guests. Signed-off-by: Dario Faggioli Cc: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- sg-run-job | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/sg-run-job b/sg-run-job index 2cf810a..81c2040 100755 --- a/sg-run-job +++ b/sg-run-job @@ -321,6 +321,37 @@ proc run-job/test-rumpuserxen {} { run-ts . = ts-guest-destroy-hard + host + $g } +#-------- benchmarks -------- + +proc bench-unixbench-run {args} { + run-ts . = ts-unixbench-build + host $args + run-ts . = ts-unixbench-run + host $args + run-ts . = ts-unixbench-reslts + host $args +} + +proc bench-unixbench-host {} { + bench-unixbench-run +} + +proc bench-unixbench-guest {g} { + bench-unixbench-run $g + run-ts . = ts-guest-stop + host $g +} + +proc need-hosts/bench-unixbench-pv {} { return host } +proc run-job/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 need-hosts/bench-unixbench-hvm {} { return host } +proc run-job/bench-unixbench-hvm {} { + run-ts . = ts-debian-hvm-install + bench-unixbench-guest debianhvm +} + #---------- builds ---------- proc need-hosts/build {} { return BUILD }