Re: linux guests and ksm performance

2012-02-23 Thread Stefan Hajnoczi
On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote: Stefan Hajnoczi stefa...@gmail.com schrieb: On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven p...@dlh.net wrote: However, in a virtual machine I have not observed the above slow down to that extend while the benefit

Re: linux guests and ksm performance

2012-02-23 Thread Stefan Hajnoczi
On Fri, Feb 24, 2012 at 6:41 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote: Stefan Hajnoczi stefa...@gmail.com schrieb: On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven p...@dlh.net wrote: However, in a virtual machine

Re: linux guests and ksm performance

2012-02-23 Thread Stefan Hajnoczi
On Fri, Feb 24, 2012 at 6:53 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Feb 24, 2012 at 6:41 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote: Stefan Hajnoczi stefa...@gmail.com schrieb: On Thu, Feb 23, 2012

Re: virtio-blk performance regression and qemu-kvm

2012-02-22 Thread Stefan Hajnoczi
On Wed, Feb 22, 2012 at 4:48 PM, Dongsu Park dongsu.p...@profitbricks.com wrote: Try turning ioeventfd off for the virtio-blk device: -device virtio-blk-pci,ioeventfd=off,... You might see better performance since ramdisk I/O should be very low-latency.  The overhead of using ioeventfd might

Re: virtio-blk performance regression and qemu-kvm

2012-02-21 Thread Stefan Hajnoczi
On Tue, Feb 21, 2012 at 3:57 PM, Dongsu Park dongsu.p...@profitbricks.com wrote: On 13.02.2012 11:57, Stefan Hajnoczi wrote: On Fri, Feb 10, 2012 at 2:36 PM, Dongsu Park dongsu.p...@profitbricks.com wrote:  Now I'm running benchmarks with both qemu-kvm 0.14.1 and 1.0.  - Sequential read

Re: how two vms on the same physical machine communicate with each other?

2012-02-20 Thread Stefan Hajnoczi
On Tue, Feb 21, 2012 at 5:42 AM, 夏业添 summer...@gmail.com wrote:    I want to know if there is other way besides network to make two guests on a same host to communicate with each other.    And when there is an inter-vm communication by virtual network, are these network packages passing the

Re: kvm + raid1 showstopper bug

2012-02-18 Thread Stefan Hajnoczi
On Fri, Feb 17, 2012 at 3:31 PM, Pete Ashdown pashd...@xmission.com wrote: On 02/17/2012 04:30 AM, Stefan Hajnoczi wrote: On Fri, Feb 17, 2012 at 4:57 AM, Pete Ashdown pashd...@xmission.com wrote: I've been waiting for some response from the Ubuntu team regarding a bug on launchpad

Re: kvm + raid1 showstopper bug

2012-02-17 Thread Stefan Hajnoczi
On Fri, Feb 17, 2012 at 4:57 AM, Pete Ashdown pashd...@xmission.com wrote: I've been waiting for some response from the Ubuntu team regarding a bug on launchpad, but it appears that it isn't being taken seriously: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/745785 This looks

Re: virtio-blk performance regression and qemu-kvm

2012-02-13 Thread Stefan Hajnoczi
On Fri, Feb 10, 2012 at 2:36 PM, Dongsu Park dongsu.p...@profitbricks.com wrote:  Now I'm running benchmarks with both qemu-kvm 0.14.1 and 1.0.  - Sequential read (Running inside guest)   # fio -name iops -rw=read -size=1G -iodepth 1 \    -filename /dev/vdb -ioengine libaio -direct=1 -bs=4096

QEMU applying for Google Summer of Code 2012

2012-02-10 Thread Stefan Hajnoczi
This year's Google Summer of Code has been announced: http://www.google-melange.com/gsoc/events/google/gsoc2012 For those who haven't heard of GSoC before, it funds university students to work on open source projects during the summer. Organizations, such as QEMU, can participate to attract

Re: [PATCH v5 0/3] virtio-scsi driver

2012-02-10 Thread Stefan Hajnoczi
is starting to look like wishful thinking, but the possibility of regressions is obviously zero so I'm still dreaming. Otherwise, that would be 3.4. Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message

Re: [libvirt] QEMU applying for Google Summer of Code 2012

2012-02-10 Thread Stefan Hajnoczi
On Fri, Feb 10, 2012 at 10:59 AM, Daniel P. Berrange berra...@redhat.com wrote: On Fri, Feb 10, 2012 at 10:30:24AM +, Stefan Hajnoczi wrote: This year's Google Summer of Code has been announced: http://www.google-melange.com/gsoc/events/google/gsoc2012 For those who haven't heard of GSoC

Re: [PATCH] emulator: add movdqa tests

2012-02-06 Thread Stefan Hajnoczi
2012/2/1 Avi Kivity a...@redhat.com: On 02/01/2012 11:08 AM, Takuya Yoshikawa wrote: What is the status of Stefan's work? Stefan's on vacation. Back now. I will try to get back to movdqa soon. Stefan -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

Re: [PATCH 3/3] KVM: perf: kvm events analysis tool

2012-01-16 Thread Stefan Hajnoczi
On Mon, Jan 16, 2012 at 9:32 AM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: +DESCRIPTION +--- +You can analyze some crucial events and statistics with this +'perf kvm-events' command. This line is very general and does not explain which events/statistics can be collected

Re: Could anybody give some description about the implement of hyercall in kvm?

2012-01-13 Thread Stefan Hajnoczi
On Fri, Jan 13, 2012 at 7:45 AM, Liu ping fan kernelf...@gmail.com wrote: On Thu, Jan 12, 2012 at 5:21 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jan 12, 2012 at 4:38 AM, Liu ping fan kernelf...@gmail.com wrote: Could anybody give some description about the implement of hyercall

Re: Could anybody give some description about the implement of hyercall in kvm?

2012-01-12 Thread Stefan Hajnoczi
On Thu, Jan 12, 2012 at 4:38 AM, Liu ping fan kernelf...@gmail.com wrote: Could anybody give some description about the implement of hyercall in kvm? Or give some links about it? Try git grep hypercall arch/x86/kvm. Take a look at arch/x86/kvm/x86.c kvm_set_msr_common() and

Re: [regression] virtio net locks up

2012-01-11 Thread Stefan Hajnoczi
On Wed, Jan 11, 2012 at 3:24 PM, Bernd Schubert bernd.schub...@itwm.fraunhofer.de wrote: Any idea what is going on or how to debug it? Here are a couple of ideas that would yield more information: Since the console still works I suggest checking dmesg output inside the guest. Are there any

Re: [regression] virtio net locks up

2012-01-11 Thread Stefan Hajnoczi
On Wed, Jan 11, 2012 at 4:18 PM, Bernd Schubert bernd.schub...@itwm.fraunhofer.de wrote: On 01/11/2012 05:04 PM, Stefan Hajnoczi wrote: Try pinging the host's IP address from inside the guest.  Run tcpdump on the guest's tap interface from the host and observe whether or not you see any

[PATCH] emulator: add movdqa tests

2012-01-09 Thread Stefan Hajnoczi
#GP. The emulator will therefore never meet unaligned movdqa instructions. Also change read/write to store/load to make it obvious whether the test transfers to or from memory. Previous usage of read and write was misleading. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com

Re: [RFC] KVM: x86: emulate movdqa

2012-01-08 Thread Stefan Hajnoczi
On Sun, Jan 8, 2012 at 10:32 AM, Avi Kivity a...@redhat.com wrote: On 01/07/2012 12:26 PM, Stefan Hajnoczi wrote: movdqa %xmm0,(%rdi) This patch adds movdqa to the emulator but does not implement #GP when the memory operand is unaligned to 16 bytes.  I'm not sure whether alignment checking

[RFC] KVM: x86: emulate movdqa

2012-01-07 Thread Stefan Hajnoczi
this guest userspace SSE instruction in the first place? This host machine lacks EPT but can't we service the page fault and then retry execution inside the guest? Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- arch/x86/kvm/emulate.c |9 - 1 files changed, 8 insertions

x86_decode_insn succeeds with GroupMask flags when it should fail

2012-01-07 Thread Stefan Hajnoczi
The unimplemented movdqa (66 0f 7f 07) instruction triggers a bug in the x86 emulator. The emulator should fail since the instruction is unimplemented. However the emulator thinks it is succeeding but we keep re-executing the same instruction over and over. top shows 100% CPU utilization and

Re: [Qemu-devel] KVM call agenda for Tuesday 3

2012-01-04 Thread Stefan Hajnoczi
On Wed, Jan 4, 2012 at 2:47 AM, Cao,Bing Bu m...@linux.vnet.ibm.com wrote: On 01/03/2012 09:12 PM, Stefan Hajnoczi wrote: On Tue, Jan 3, 2012 at 12:15 PM, Dor Laordl...@redhat.com  wrote: On 01/03/2012 10:33 AM, Stefan Hajnoczi wrote: On Mon, Jan 02, 2012 at 01:09:40PM +0100, Juan Quintela

Re: KVM call agenda for Tuesday 3

2012-01-03 Thread Stefan Hajnoczi
On Mon, Jan 02, 2012 at 01:09:40PM +0100, Juan Quintela wrote: Please send in any agenda items you are interested in covering. Status of virtio drivers for Windows: * Unsupported in community today * Bugs languish on bug tracker/mailing list * Risking a reputation of not supporting Windows

Re: KVM call agenda for Tuesday 3

2012-01-03 Thread Stefan Hajnoczi
On Tue, Jan 3, 2012 at 12:15 PM, Dor Laor dl...@redhat.com wrote: On 01/03/2012 10:33 AM, Stefan Hajnoczi wrote: On Mon, Jan 02, 2012 at 01:09:40PM +0100, Juan Quintela wrote: Please send in any agenda items you are interested in covering. Status of virtio drivers for Windows

Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration

2012-01-02 Thread Stefan Hajnoczi
On Mon, Jan 2, 2012 at 9:28 AM, Dor Laor dl...@redhat.com wrote: At the end of the day, it's performance testing using various scenarios that can educate us whether post-copy worth the extra complexity over slowing down the guest on the source. True. It's certainly an interesting patch series

Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration

2012-01-01 Thread Stefan Hajnoczi
On Sun, Jan 1, 2012 at 9:43 AM, Orit Wasserman owass...@redhat.com wrote: On 12/30/2011 12:39 AM, Anthony Liguori wrote: On 12/28/2011 07:25 PM, Isaku Yamahata wrote: Intro = This patch series implements postcopy live migration.[1] As discussed at KVM forum 2011, dedicated character

Re: [PATCH 0/6][RFC] virtio-blk: Change I/O path from request to BIO

2012-01-01 Thread Stefan Hajnoczi
On Thu, Dec 22, 2011 at 11:41 PM, Minchan Kim minc...@kernel.org wrote: On Thu, Dec 22, 2011 at 12:57:40PM +, Stefan Hajnoczi wrote: On Wed, Dec 21, 2011 at 1:00 AM, Minchan Kim minc...@kernel.org wrote: If you're stumped by the performance perhaps compare blktraces of the request approach

Re: [PATCH 4/6] virtio-blk: implement -make_request

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 1:00 AM, Minchan Kim minc...@kernel.org wrote: +static void virtblk_add_buf_wait(struct virtio_blk *vblk, +       struct virtblk_req *vbr, unsigned long out, unsigned long in) +{ +       DEFINE_WAIT(wait); +       bool retry, notify; + +       for (;;) { +          

Re: [PATCH 0/6][RFC] virtio-blk: Change I/O path from request to BIO

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 1:00 AM, Minchan Kim minc...@kernel.org wrote: This patch is follow-up of Christohp Hellwig's work [RFC: -make_request support for virtio-blk]. http://thread.gmane.org/gmane.linux.kernel/1199763 Quote from hch This patchset allows the virtio-blk driver to support much

Re: [net-next RFC PATCH 5/5] virtio-net: flow director support

2011-12-07 Thread Stefan Hajnoczi
On Wed, Dec 7, 2011 at 3:03 AM, Jason Wang jasow...@redhat.com wrote: On 12/06/2011 09:15 PM, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 10:21 AM, Jason Wangjasow...@redhat.com  wrote: On 12/06/2011 05:18 PM, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 6:33 AM, Jason Wangjasow

Re: [net-next RFC PATCH 5/5] virtio-net: flow director support

2011-12-07 Thread Stefan Hajnoczi
On Wed, Dec 7, 2011 at 12:10 PM, Jason Wang jasow...@redhat.com wrote: On 12/07/2011 05:08 PM, Stefan Hajnoczi wrote: [...]  Consider the complexity of the host nic each with their own steering  features,  this series make the first step with minimal effort to try to let  guest driver

Re: [net-next RFC PATCH 5/5] virtio-net: flow director support

2011-12-06 Thread Stefan Hajnoczi
On Tue, Dec 6, 2011 at 6:33 AM, Jason Wang jasow...@redhat.com wrote: On 12/05/2011 06:55 PM, Stefan Hajnoczi wrote: On Mon, Dec 5, 2011 at 8:59 AM, Jason Wangjasow...@redhat.com  wrote: +static int virtnet_set_fd(struct net_device *dev, u32 pfn) +{ +       struct virtnet_info *vi

Re: [net-next RFC PATCH 5/5] virtio-net: flow director support

2011-12-06 Thread Stefan Hajnoczi
On Tue, Dec 6, 2011 at 10:21 AM, Jason Wang jasow...@redhat.com wrote: On 12/06/2011 05:18 PM, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 6:33 AM, Jason Wangjasow...@redhat.com  wrote: On 12/05/2011 06:55 PM, Stefan Hajnoczi wrote: On Mon, Dec 5, 2011 at 8:59 AM, Jason Wangjasow

Re: [net-next RFC PATCH 2/5] tuntap: simple flow director support

2011-12-05 Thread Stefan Hajnoczi
On Mon, Dec 5, 2011 at 8:58 AM, Jason Wang jasow...@redhat.com wrote: This patch adds a simple flow director to tun/tap device. It is just a page that contains the hash to queue mapping which could be changed by user-space. The backend (tap/macvtap) would query this table to get the desired

Re: [net-next RFC PATCH 5/5] virtio-net: flow director support

2011-12-05 Thread Stefan Hajnoczi
On Mon, Dec 5, 2011 at 8:59 AM, Jason Wang jasow...@redhat.com wrote: +static int virtnet_set_fd(struct net_device *dev, u32 pfn) +{ +       struct virtnet_info *vi = netdev_priv(dev); +       struct virtio_device *vdev = vi-vdev; + +       if (virtio_has_feature(vdev, VIRTIO_NET_F_HOST_FD))

Re: Improving RAID5 write performance in a KVM VM

2011-11-29 Thread Stefan Hajnoczi
On Fri, Nov 25, 2011 at 10:34 AM, Simon Wilson si...@simonandkate.net wrote: I have done a fair bit of analysis with dstat and using dd copies, and file writes onto the VM's RAID5 slice sit between 35 and 40MBps consistently. If you want to drill down on the disk I/O performance than removing

Re: [Qemu-devel] KVM call agenda for Novemeber 22

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 2:39 PM, Juan Quintela quint...@redhat.com wrote: Juan Quintela quint...@redhat.com wrote: Hi Please send in any agenda items you are interested in covering. As there is no topic for today, and Anthony just give us reading we would cancel today call. Happy hacking

Re: [Qemu-devel] KVM call agenda for Novemeber 22

2011-11-22 Thread Stefan Hajnoczi
On Tue, Nov 22, 2011 at 3:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Nov 22, 2011 at 2:39 PM, Juan Quintela quint...@redhat.com wrote: Juan Quintela quint...@redhat.com wrote: Hi Please send in any agenda items you are interested in covering. As there is no topic for today

Re: [RFC/GIT PULL] Linux KVM tool for v3.2

2011-11-10 Thread Stefan Hajnoczi
On Thu, Nov 10, 2011 at 2:47 PM, Markus Armbruster arm...@redhat.com wrote: Pekka Enberg penb...@kernel.org writes: Hi Anthony, On Thu, Nov 10, 2011 at 3:43 PM, Anthony Liguori anth...@codemonkey.ws wrote: It's not just the qcow2 implementation or even the block layer.  This pull requests

Re: buildbot failure in qemu-kvm on default_x86_64_debian_5_0

2011-11-09 Thread Stefan Hajnoczi
On Wed, Nov 9, 2011 at 2:06 AM, qemu-...@buildbot.b1-systems.de wrote: The Buildbot has detected a new failure on builder default_x86_64_debian_5_0 while building qemu-kvm. Full details are available at:  http://buildbot.b1-systems.de/qemu-kvm/builders/default_x86_64_debian_5_0/builds/1019

Re: .git/config corruption using 9p virtio in guest

2011-11-07 Thread Stefan Hajnoczi
On Sat, Nov 5, 2011 at 12:52 AM, Darren Hart dvh...@linux.intel.com wrote: I have a 32b Fedora 15 guest mounting a filesystem from an Ubuntu 11.10 64b host using virtio and 9p. I'm using the mapping security mode (tried squash as well). While I can create, edit, and delete files, when I try to

Re: Secure KVM

2011-11-07 Thread Stefan Hajnoczi
On Mon, Nov 7, 2011 at 10:17 AM, Sasha Levin levinsasha...@gmail.com wrote: Hi Avi, Thank you for your comments! Just one question below: On Mon, Nov 7, 2011 at 11:26 AM, Avi Kivity a...@redhat.com wrote: Crashing the guest is fine (not 100% - you can have unprivileged code managing a

Re: Secure KVM

2011-11-07 Thread Stefan Hajnoczi
On Mon, Nov 7, 2011 at 12:51 PM, Avi Kivity a...@redhat.com wrote: On 11/07/2011 02:40 PM, Sasha Levin wrote: Where does the VNC server, the image formats, etc go?  It would be nice to confine them too. Regarding image formats, just wondering - was there ever any plan to merge (at least

Re: [PATCH 3 of 5] virtio: support unlocked queue kick

2011-11-04 Thread Stefan Hajnoczi
On Thu, Nov 3, 2011 at 7:52 AM, Christoph Hellwig h...@infradead.org wrote: On Thu, Nov 03, 2011 at 06:12:51PM +1030, Rusty Russell wrote: Based on patch by Christoph for virtio_blk speedup: Please credit it to Stefan - he also sent a pointer to his original version in reply to the previous

Re: 1.0 Hard Freeze Logistics

2011-10-31 Thread Stefan Hajnoczi
On Mon, Oct 31, 2011 at 1:28 PM, Anthony Liguori aligu...@us.ibm.com wrote: To make the Test Day more successful, please sign up to test a specific area on the Test[3] wiki page. [...] [3] http://wiki.qemu.org/Planning/1.0/Testing I just signed up for several block and tracing tests and

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-10-27 Thread Stefan Hajnoczi
On Wed, Oct 26, 2011 at 03:19:17PM -0200, Lucas Meneghel Rodrigues wrote: On 10/26/2011 01:47 PM, Kevin Wolf wrote: Am 26.10.2011 16:41, schrieb Lucas Meneghel Rodrigues: Hi folks: We've captured a regression with floppy disk on recent qemu (and qemu-kvm, after a code merge). We bisected it

Re: [Qemu-devel] [RFC v2 PATCH 4/4] virtio-net: notify guest to annouce itself

2011-10-26 Thread Stefan Hajnoczi
On Fri, Oct 21, 2011 at 10:39 PM, Jason Wang jasow...@redhat.com wrote: diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 8c2f460..7f844e7 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -95,6 +95,10 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config)  

Re: Convert one .img disk created with sparse=true to no sparse

2011-10-20 Thread Stefan Hajnoczi
On Thu, Oct 20, 2011 at 4:21 AM, Gonzalo Marcote Peña gonzalomarc...@gmail.com wrote: Hi. I have one guest that I created with virt-install comand option 'sparse=true'. As i want to use now this guest for I/O tasks (DDBB) and i want to improve performance, I want to convert the disk.img from

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-10-17 Thread Stefan Hajnoczi
On Mon, Oct 17, 2011 at 11:26 AM, Kevin Wolf kw...@redhat.com wrote: Am 26.09.2011 09:24, schrieb Zhi Yong Wu: On Sat, Sep 24, 2011 at 12:19 AM, Kevin Wolf kw...@redhat.com wrote: Am 08.09.2011 12:11, schrieb Zhi Yong Wu: Note:      1.) When bps/iops limits are specified to a small value such

Re: virtio localdisk performance

2011-10-14 Thread Stefan Hajnoczi
On Thu, Oct 13, 2011 at 05:03:53PM +0200, benoit ROUSSELLE wrote: On Thu, Oct 13, 2011 at 4:27 PM, Stefan Hajnoczi stefa...@gmail.com wrote: dd performs buffered I/O by default.  That means it just writes to the page cache and the kernel decides when to write out dirty pages. So your host

Re: virtio localdisk performance

2011-10-13 Thread Stefan Hajnoczi
On Wed, Oct 12, 2011 at 1:21 PM, benoit ROUSSELLE brousse...@gmail.com wrote: I am doing some disk io performance testing on the following environment: Dell AMD R515 with: - debian6 (2.6.32) on host and guests. - raid1 mirror on a perc h700 - lvm used to create virtual disks volumes - virtio

Re: [PATCH 2/5] virtio: support unlocked queue kick

2011-10-06 Thread Stefan Hajnoczi
On Wed, Oct 05, 2011 at 03:54:05PM -0400, Christoph Hellwig wrote: Split virtqueue_kick to be able to do the actual notification outside the lock protecting the virtqueue. This patch was originally done by Stefan Hajnoczi, but I can't find the original one anymore and had to recreated it from

Re: [PATCH] qemu-kvm: Switch POSIX compat AIO implementation to upstream

2011-09-21 Thread Stefan Hajnoczi
-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Perhaps qemu_eventfd() can be used in the future instead of an explicit pipe. Then Linux will do eventfd while other OSes will fall back to pipes. Stefan -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord

Re: [Qemu-devel] CFQ I/O starvation problem triggered by RHEL6.0 KVM guests

2011-09-09 Thread Stefan Hajnoczi
On Fri, Sep 9, 2011 at 10:00 AM, Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp wrote: Vivek Goyal vgo...@redhat.com wrote: So you are using both RHEL 6.0 in both host and guest kernel? Can you reproduce the same issue with upstream kernels? How easily/frequently you can reproduce this with

Re: Virtual drives performance

2011-09-07 Thread Stefan Hajnoczi
On Tue, Sep 6, 2011 at 11:25 PM, TooMeeK toomeek...@o2.pl wrote: First, I created mirrored storage in hypervisor from one 600-gig partition (yes, that's correct - I have only one drive currently), details: sudo mdadm --detail /dev/md3 /dev/md3:        Version : 1.2  Creation Time : Thu Jul

Re: Guest PMU page

2011-09-05 Thread Stefan Hajnoczi
On Mon, Sep 5, 2011 at 9:51 AM, Avi Kivity a...@redhat.com wrote: I put up a wiki page about the guest PMU:  http://www.linux-kvm.org/page/Guest_PMU it is mostly the TODO list. Nice, do you have a git repo link? Stefan -- To unsubscribe from this list: send the line unsubscribe kvm in the

Re: [PATCH v6 2/4] block: add the block queue support

2011-09-01 Thread Stefan Hajnoczi
Emulator queue declaration for block layer + * + * Copyright (c) IBM, Corp. 2011 + * + * Authors: + *  Zhi Yong Wu  zwu.ker...@gmail.com + *  Stefan Hajnoczi stefa...@gmail.com Please use linux.vnet.ibm.com addresses and not GMail. + * + * Permission is hereby granted, free of charge, to any

Re: [PATCH v6 3/4] block: add block timer and block throttling algorithm

2011-09-01 Thread Stefan Hajnoczi
On Thu, Sep 1, 2011 at 12:44 PM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:     1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario.     2.) When dd command is issued in guest, if its option bs

Re: [PATCH 3/5] Migration thread mutex

2011-08-29 Thread Stefan Hajnoczi
On Sat, Aug 27, 2011 at 7:09 PM, Umesh Deshpande udesh...@redhat.com wrote: This patch implements migrate_ram mutex, which protects the RAMBlock list traversal in the migration thread during the transfer of a ram from their addition/removal from the iothread. Note: Combination of iothread

Re: [PATCH 5/5] Separate migration thread

2011-08-29 Thread Stefan Hajnoczi
On Sat, Aug 27, 2011 at 7:09 PM, Umesh Deshpande udesh...@redhat.com wrote: This patch creates a separate thread for the guest migration on the source side. All exits (on completion/error) from the migration thread are handled by a bottom handler, which is called from the iothread.

Re: [PATCH] kvm tools: adds a PCI device that exports a host shared segment as a PCI BAR in the guest

2011-08-25 Thread Stefan Hajnoczi
On Thu, Aug 25, 2011 at 6:06 AM, Pekka Enberg penb...@kernel.org wrote: On Wed, 2011-08-24 at 21:49 -0700, David Evensky wrote: On Wed, Aug 24, 2011 at 10:27:18PM -0500, Alexander Graf wrote: On 24.08.2011, at 17:25, David Evensky wrote: This patch adds a PCI device that provides

Re: [PATCH 1/3] Avoid the use of deprecated gnutls gnutls_*_set_priority functions.

2011-08-25 Thread Stefan Hajnoczi
On Mon, Jul 4, 2011 at 11:00 PM, Raghavendra D Prabhu raghu.prabh...@gmail.com wrote: The gnutls_*_set_priority family of functions has been marked deprecated in 2.12.x. These functions have been superceded by gnutls_priority_set_direct(). Signed-off-by: Raghavendra D Prabhu

Re: [PATCH] kvm tools: adds a PCI device that exports a host shared segment as a PCI BAR in the guest

2011-08-25 Thread Stefan Hajnoczi
On Thu, Aug 25, 2011 at 11:37 AM, Pekka Enberg penb...@kernel.org wrote: Hi Stefan, On Thu, Aug 25, 2011 at 1:31 PM, Stefan Hajnoczi stefa...@gmail.com wrote: It's obviously not competing. One thing you might want to consider is making the guest interface compatible with ivshmem. Is there any

Re: A non-responsive guest problem

2011-08-24 Thread Stefan Hajnoczi
On Wed, Aug 24, 2011 at 10:02 AM, Xiao Guangrong xiaoguangr...@cn.fujitsu.com wrote: On 08/24/2011 04:40 PM, Paul wrote: Hi, I captured the output of pidstat when the problem was reproduced: bash-4.1# pidstat -p $PID 8966 Linux 2.6.32-71.el6.x86_64 (test)     07/24/11        _x86_64_        

Re: A non-responsive guest problem

2011-08-23 Thread Stefan Hajnoczi
On Tue, Aug 23, 2011 at 9:10 AM, Paul fly...@gmail.com wrote: From trace messages, it seemed no interrupts for guest. I also tried sysrq, but it didn't work. I doubt that kvm-qemu entered some infinite loop. The fact that a fresh VNC connection to the guest works (but the mouse doesn't move)

Re: [PATCH v2] posix-aio-compat: fix latency issues

2011-08-23 Thread Stefan Hajnoczi
On Mon, Aug 22, 2011 at 6:29 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-08-14 06:04, Avi Kivity wrote: In certain circumstances, posix-aio-compat can incur a lot of latency:  - threads are created by vcpu threads, so if vcpu affinity is set,    aio threads inherit vcpu affinity.  

Re: [PATCH 1/3] Avoid the use of deprecated gnutls gnutls_*_set_priority functions.

2011-08-22 Thread Stefan Hajnoczi
On Mon, Jul 4, 2011 at 11:00 PM, Raghavendra D Prabhu raghu.prabh...@gmail.com wrote: The gnutls_*_set_priority family of functions has been marked deprecated in 2.12.x. These functions have been superceded by gnutls_priority_set_direct(). Signed-off-by: Raghavendra D Prabhu

Re: A non-responsive guest problem

2011-08-22 Thread Stefan Hajnoczi
On Mon, Aug 22, 2011 at 10:37 AM, Paul fly...@gmail.com wrote: Hi, I found the clock of guest OS has been changed. For example, today was Aug 22, but I found the time of guest was Mar 22 from the VNC desktop. The clock source of guest was kvm-clock. Was it related to KVM clock bug? How about

Re: [Help]: How to setup a VM based on kernel source code.

2011-08-19 Thread Stefan Hajnoczi
On Fri, Aug 19, 2011 at 10:58 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: I have met one scenario; currently i want to set up a VM based on latest kernel tree; but i  only have latest kernel source code and compiled it on one fedora 15 workstation. To achieve the objective, what actions should

Re: A non-responsive guest problem

2011-08-19 Thread Stefan Hajnoczi
On Thu, Aug 18, 2011 at 8:42 AM, Paul fly...@gmail.com wrote: Today I saw the guest OS hung and was no responsive. In the host, I found the guest was running via virsh command. But I couldn't use ssh to connect the guest, and even couldn't ping it. I could use VNC saw the desktop of VNC, but I

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 9:10 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: +/* The APIs for block request queue on qemu block layer

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 5:40 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Aug 10, 2011 at 5:37 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Wed, Aug 10, 2011 at 01:54:33PM +0800, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi stefa...@gmail.com wrote

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 6:35 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai linux...@us.ibm.com wrote: On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: Note:       1.) When bps/iops limits are specified to a small value such as 511 bytes/s,

Re: [Qemu-devel] [PATCH v5 1/4] block: add the command line support

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 01:20:22PM +0800, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 8:25 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  Makefile.objs

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 01:54:33PM +0800, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: +BlockDriverAIOCB *qemu_block_queue_enqueue(BlockQueue *queue

Re: [PATCH v5 0/4] The intro of QEMU block I/O throttling

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 01:09:27PM +0800, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 8:08 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote:  Makefile.objs     |    2 +-  block.c           |  347

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:      1.) When bps/iops limits are specified to a small value

Re: [RFC] virtio: Support releasing lock during kick

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 09:18:01AM -0400, Christoph Hellwig wrote: Any progress on these patches? Khoa ran ffsb benchmarks on his rig and we didn't see any benefit. I have not started investigating yet, been working on other things. It will be necessary to compare against the old patches which

Re: [Qemu-devel] [PATCH v5 1/4] block: add the command line support

2011-08-10 Thread Stefan Hajnoczi
On Thu, Aug 11, 2011 at 12:44:11PM +0800, Zhi Yong Wu wrote: On Wed, Aug 10, 2011 at 5:27 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Wed, Aug 10, 2011 at 01:20:22PM +0800, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 8:25 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue

Re: [PATCH v5 0/4] The intro of QEMU block I/O throttling

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote:  Makefile.objs     |    2 +-  block.c           |  347 +++--  block.h           |    6 +-  block/blk-queue.c |  141 ++  block/blk-queue.h |   73

Re: [Qemu-devel] [PATCH v5 1/4] block: add the command line support

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  Makefile.objs   |    2 +-  blockdev.c      |   39 +++  qemu-config.c   |   24  qemu-option.c   |  

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: +/* The APIs for block request queue on qemu block layer. + */ + +static void qemu_block_queue_cancel(BlockDriverAIOCB *acb) +{ +    qemu_aio_release(acb); +} + +static AIOPool block_queue_pool = { +    

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:      1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario. If an I/O request is larger than the limit itself then I

Re: [Qemu-devel] [RFC] postcopy livemigration proposal

2011-08-08 Thread Stefan Hajnoczi
On Mon, Aug 8, 2011 at 4:24 AM, Isaku Yamahata yamah...@valinux.co.jp wrote: This mail is on Yabusame: Postcopy Live Migration for Qemu/KVM on which we'll give a talk at KVM-forum. I'm curious if this approach is compatible with asynchronous page faults? The idea there was to tell the guest

Re: [Qemu-devel] [PATCH v1] qmp/hmp: add block_set_io_throttle and enhance query_block

2011-08-04 Thread Stefan Hajnoczi
On Thu, Aug 4, 2011 at 5:34 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: @@ -1387,6 +1422,11 @@ void bdrv_set_io_limits(BlockDriverState *bs,  {     memset(bs-io_limits, 0, sizeof(BlockIOLimit));     bs-io_limits = *io_limits; +    if (bdrv_io_limits_enabled(bs)) { +        

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-07-29 Thread Stefan Hajnoczi
On Fri, Jul 29, 2011 at 8:22 AM, Liu Yuan namei.u...@gmail.com wrote: Hi Stefan On 07/28/2011 11:44 PM, Stefan Hajnoczi wrote: On Thu, Jul 28, 2011 at 3:29 PM, Liu Yuannamei.u...@gmail.com  wrote: Did you investigate userspace virtio-blk performance?  If so, what issues did you find? Yes

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-07-29 Thread Stefan Hajnoczi
On Fri, Jul 29, 2011 at 1:01 PM, Liu Yuan namei.u...@gmail.com wrote: On 07/29/2011 05:06 PM, Stefan Hajnoczi wrote: I mean did you investigate *why* userspace virtio-blk has higher latency?  Did you profile it and drill down on its performance? It's important to understand what is going

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-07-29 Thread Stefan Hajnoczi
I hit a weirdness yesterday, just want to mention it in case you notice it too. When running vanilla qemu-kvm I forgot to use aio=native. When I compared the results against virtio-blk-data-plane (which *always* uses Linux AIO) I was surprised to find average 4k read latency was lower and the

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 6:43 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti mtosa...@redhat.com

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 9:20 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jul 28, 2011 at 6:43 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote

Re: [RFC PATCH] vhost-blk: An in-kernel accelerator for virtio-blk

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 3:29 PM, Liu Yuan namei.u...@gmail.com wrote: +static int blk_completion_worker(void *priv) +{ Do you really need this? How about using the vhost poll helper to observe the eventfd? Then you can drop your own worker thread code and simply have a work function to handle

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 3:29 PM, Liu Yuan namei.u...@gmail.com wrote: Did you investigate userspace virtio-blk performance? If so, what issues did you find? I have a hacked up world here that basically implements vhost-blk in userspace:

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 4:44 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jul 28, 2011 at 3:29 PM, Liu Yuan namei.u...@gmail.com wrote: Did you investigate userspace virtio-blk performance?  If so, what issues did you find? I have a hacked up world here that basically implements

Re: Unexpected behaviour when CDROM ISO can not be read

2011-07-27 Thread Stefan Hajnoczi
On Wed, Jul 27, 2011 at 8:17 AM, Igor Blanco ibla...@binovo.es wrote: Hi everyone: I had a problem yesterday with a virtual machine and I was not very sure to whom I should report it so I much appreciate your opinion about it. I have a virtual machine that has a couple of CDROM drives

Re: KVM autotest tip of the week - How to run KVM autotest tests on an existing guest image

2011-07-27 Thread Stefan Hajnoczi
On Mon, Jul 25, 2011 at 7:25 PM, Lucas Meneghel Rodrigues l...@redhat.com wrote: Hi folks, a little later than expected, here are the docs that explain how to run KVM autotest tests on an existing guest image: http://autotest.kernel.org/wiki/KVMAutotest/RunTestsExistingGuest Since we are

Re: [RFC 0/2] KVM: Fix kvm_exit trace event format

2011-07-27 Thread Stefan Hajnoczi
On Wed, Jul 27, 2011 at 02:47:20PM +0300, Avi Kivity wrote: On 07/22/2011 02:46 PM, Stefan Hajnoczi wrote: In practice both perf and trace-cmd are not happy with the new exit_reason formatting expression (omitting the details and split across lines for easy email reading here): print fmt

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-27 Thread Stefan Hajnoczi
On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti mtosa...@redhat.com wrote: On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote: Welcome to give me your comments, thanks. Signed-off-by: Zhi Yong Wu

Re: virtagent for qemu-kvm ?

2011-07-26 Thread Stefan Hajnoczi
On Tue, Jul 26, 2011 at 6:58 AM, Prateek Sharma prate...@cse.iitb.ac.in wrote: On Tue, 26 Jul 2011, Stefan Hajnoczi wrote: On Tue, Jul 26, 2011 at 6:05 AM, Prateek Sharma prate...@cse.iitb.ac.in wrote: Hi all,    Is there any equivalent of qemu's virtagent in qemu-kvm? [http

<    1   2   3   4   5   6   7   8   9   >