From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [ANNOUNCE] virtbench now has xen support Date: Tue, 15 May 2007 14:50:25 -0500 Message-ID: <464A0F01.5030900@us.ibm.com> References: <1179196706.27304.22.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Michael Cc: Rusty Russell , Xen Mailing List List-Id: xen-devel@lists.xenproject.org Jan Michael wrote: > Hi Rusty, > > thanks for your work. I tried your benchmark on my XEN installation. > > > 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 > > > and ended up in the following 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 > 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@lists.xensource.com >> http://lists.xensource.com/xen-devel