WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [ANNOUNCE] virtbench now has xen support

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [ANNOUNCE] virtbench now has xen support
From: Jan Michael <jan.michael@xxxxxxx>
Date: Tue, 15 May 2007 09:44:21 +0200
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 15 May 2007 00:42:56 -0700
Domainkey-signature: a=rsa-sha1; c=nofws; s=beta; d=cern.ch; q=dns; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding; b=Vflzw2ESzgmktPJ0WTz2VFsRhZDgrdidTJffsMIhf/zJAZFKDWzGMbG3L+tmMlt88ZIxIEuhqluaGcXBQLcbSuY8tCX2r3bnyth+ZWtZrq8ZOe+WNSitGiQYSuJX36XN;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1179196706.27304.22.camel@xxxxxxxxxxxxxxxxxxxxx>
Keywords: CERN SpamKiller Note: -51 Charset: west-latin
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1179196706.27304.22.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Rusty,

thanks for your work. I tried your benchmark on my XEN installation.

<xm info>
release                : 2.6.18-1.2835.slc4xen
version                : #1 SMP Wed Nov 29 21:05:58 CET 2006
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 2800
hw_caps                : bfebfbff:20000000:00000000:00000180:0000641d
total_memory           : 2047
free_memory            : 1024
xen_major              : 3
xen_minor              : 0
xen_extra              : .3-rc5-1.2835.s
xen_caps               : xen-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
cc_compile_by          : root
cc_compile_date        : Wed Nov 29 20:56:00 CET 2006
xend_config_format     : 2
</xm info>

and ended up in the following error.    

<make error>
[root@lxdev19 virtbench-bd8e67e50775]# make
cc -g -Wall -Wmissing-prototypes -DNUM_MACHINES=4 -o virtbench server.c results.c stdrusty.c talloc.c micro/context-switch.c micro/ cow.c micro/exec.c micro/fork.c micro/host-net-bandwidth.c micro/int- syscall.c micro/libc-syscall.c micro/memburn.c micro/pio.c micro/pte- update.c micro/read-bandwidth.c micro/read-latency.c micro/vmcall.c inter/bandwidth.c inter/pingpong.c inter/sendfile.c inter/udp- bandwidth.c
micro/pte-update.c: In function `do_pte_update':
micro/pte-update.c:45: error: too many arguments to function `mremap'
make: *** [virtbench] Error 1
</make error>

So first thing I would like to know if my XEN installation is compatible with your benchmark suite and if not which are the requirements?

Thank you for your help and support,

        Jan Michael


On 15.05.2007, at 04:38, Rusty Russell wrote:
Hi all,

        I've been working on a set of easy-to-run benchmarks for hypervisor
optimization called virtbench, and the latest commit adds Xen support.

        http://ozlabs.org/~rusty/virtbench
        http://ozlabs.org/~rusty/virtbench/?archive/tip.tar.bz2

From the README:

        # Build the code
        make
        # Set the guest kernel location and maybe more
        vi ./SETTINGS
        # Run the benchmark (local mode)
        ./virtbench local
        # Run the benchmark (kvm mode)
        sudo ./virtbench kvm
        # Run the benchmark (Xen mode)
        sudo ./virtbench xen
        # Run the benchmark (lguest mode)
        sudo ./virtbench lguest

Feedback welcome!
Rusty.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel