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

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

To: Jan Michael <jan.michael@xxxxxxx>
Subject: [Xen-devel] Re: [ANNOUNCE] virtbench now has xen support
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 15 May 2007 14:50:25 -0500
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 15 May 2007 12:48:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B8C22E46-2962-4702-A4DF-7A02CC576F5E@xxxxxxx>
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> <B8C22E46-2962-4702-A4DF-7A02CC576F5E@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070403)
Jan Michael wrote:
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>

I've just pushed an update that should disable this test for older versions of glibc. Would appreciate if you let me know whether this fixed your build.

Regards,

Anthony Liguori


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