[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2011-01-07 Thread Stefan Hajnoczi
On Thu, Jan 6, 2011 at 6:00 PM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Jan 06, 2011 at 04:41:50PM +, Stefan Hajnoczi wrote: Here are 4k sequential read results (cache=none) to check whether we see an ioeventfd performance regression with virtio-blk. The idea is to use a small

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2011-01-06 Thread Stefan Hajnoczi
Here are 4k sequential read results (cache=none) to check whether we see an ioeventfd performance regression with virtio-blk. The idea is to use a small blocksize with an I/O pattern (sequential reads) that is cheap and executes quickly. Therefore we're doing many iops and the cost virtqueue

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2011-01-06 Thread Michael S. Tsirkin
On Thu, Jan 06, 2011 at 04:41:50PM +, Stefan Hajnoczi wrote: Here are 4k sequential read results (cache=none) to check whether we see an ioeventfd performance regression with virtio-blk. The idea is to use a small blocksize with an I/O pattern (sequential reads) that is cheap and

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2011-01-06 Thread Michael S. Tsirkin
On Thu, Jan 06, 2011 at 04:41:50PM +, Stefan Hajnoczi wrote: Here are 4k sequential read results (cache=none) to check whether we see an ioeventfd performance regression with virtio-blk. The idea is to use a small blocksize with an I/O pattern (sequential reads) that is cheap and

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-19 Thread Michael S. Tsirkin
On Wed, Dec 15, 2010 at 12:59:45PM +, Stefan Hajnoczi wrote: I'm concerned that the tests were done on qemu.git. Could you check block with qemu-kvm too please? The following results show qemu-kvm with virtio-ioeventfd v3 for both aio=native and aio=threads:

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-16 Thread Stefan Hajnoczi
On Wed, Dec 15, 2010 at 12:59 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Dec 15, 2010 at 12:14 PM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: Are you happy with this patchset if I remove virtio-net-pci ioeventfd=on|off

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-16 Thread Michael S. Tsirkin
On Thu, Dec 16, 2010 at 04:40:32PM +, Stefan Hajnoczi wrote: On Wed, Dec 15, 2010 at 12:59 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Dec 15, 2010 at 12:14 PM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: Are

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin m...@redhat.com wrote:

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
For the record, here are the commits to selectively mask virtqueues for ioeventfd and to add -device virtio-net-pci,tx=immediate: http://repo.or.cz/w/qemu-kvm/stefanha.git/shortlog/refs/heads/virtio-ioeventfd-2 I'm posting this in case you want to try it out too. Stefan

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Michael S. Tsirkin
On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon,

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
On Wed, Dec 15, 2010 at 12:14 PM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
On Sun, Dec 12, 2010 at 9:09 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, Dec 12, 2010 at 10:56:34PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:41:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 10:24:51AM +, Stefan Hajnoczi wrote: On Sun, Dec 12, 2010 at 9:09 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, Dec 12, 2010 at 10:56:34PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
Fresh results: 192.168.0.1 - host (runs netperf) 192.168.0.2 - guest (runs netserver) host$ src/netperf -H 192.168.0.2 -- -m 200 ioeventfd=on TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 (192.168.0.2) port 0 AF_INET Recv SendSend Socket Socket Message Elapsed

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote: Fresh results: 192.168.0.1 - host (runs netperf) 192.168.0.2 - guest (runs netserver) host$ src/netperf -H 192.168.0.2 -- -m 200 ioeventfd=on TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote: Fresh results: 192.168.0.1 - host (runs netperf) 192.168.0.2 - guest (runs netserver) host$ src/netperf -H 192.168.0.2 -- -m 200 ioeventfd=on

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
Here are my results on qemu-kvm.git: ioeventfd=on TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 (192.168.0.2) port 0 AF_INET Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 87380

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote: Fresh results: 192.168.0.1 - host (runs netperf) 192.168.0.2 - guest (runs

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote: Fresh results:

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote: Fresh results:

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon,

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 4:00 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote: On Mon,

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 04:29:58PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:00 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon,

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin m...@redhat.com wrote: On

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote: On Mon, Dec

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-12 Thread Stefan Hajnoczi
On Sun, Dec 12, 2010 at 3:02 PM, Stefan Hajnoczi stefa...@gmail.com wrote: Due to lack of connectivity I am sending from GMail.  Git should retain my stefa...@linux.vnet.ibm.com From address. The From address didn't come through correctly so I've pushed the commits here: git pull

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-12 Thread Michael S. Tsirkin
On Sun, Dec 12, 2010 at 03:02:04PM +, Stefan Hajnoczi wrote: See below for the v5 changelog. Due to lack of connectivity I am sending from GMail. Git should retain my stefa...@linux.vnet.ibm.com From address. Virtqueue notify is currently handled synchronously in userspace virtio.

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-12 Thread Michael S. Tsirkin
On Sun, Dec 12, 2010 at 10:41:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 03:02:04PM +, Stefan Hajnoczi wrote: See below for the v5 changelog. Due to lack of connectivity I am sending from GMail. Git should retain my stefa...@linux.vnet.ibm.com From address.

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-12 Thread Michael S. Tsirkin
On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:41:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 03:02:04PM +, Stefan Hajnoczi wrote: See below for the v5 changelog. Due to lack of connectivity I am sending from GMail.

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-12 Thread Michael S. Tsirkin
On Sun, Dec 12, 2010 at 10:56:34PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 10:41:28PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 12, 2010 at 03:02:04PM +, Stefan Hajnoczi wrote: See below for the