Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-08-11 Thread Mark McLoughlin
Hi Avi, Sorry, I got distracted from this ... On Sat, 2008-07-26 at 12:45 +0300, Avi Kivity wrote: Mark McLoughlin wrote: 1) The length of the tx mitigation timer makes quite a difference to throughput achieved; we probably need a good heuristic for adjusting this on the fly.

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-27 Thread Rusty Russell
On Saturday 26 July 2008 19:45:36 Avi Kivity wrote: Mark McLoughlin wrote: Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-27 Thread Rusty Russell
On Saturday 26 July 2008 19:45:36 Avi Kivity wrote: 5) Eliminating an extra copy on the host-guest path only makes a barely measurable difference. That's expected on a host-guest test. Zero copy is mostly important for guest-external, and with zerocopy already enabled in the guest

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-27 Thread Bill Davidsen
Avi Kivity wrote: Bill Davidsen wrote: Anthony Liguori wrote: Hi Mark, [...snip...] I'm still seeing the same problem I saw with my patch series. Namely, dhclient fails to get a DHCP address. Rusty noticed that RX has a lot more packets received then it should so we're suspicious that

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-27 Thread Bill Davidsen
Avi Kivity wrote: Bill Davidsen wrote: I have been discussing this (on this list) in another thread. Putting tcpdump on the eth0 device in the VM, the br0 device in the host, and the eth0 (physical NIC) in the host, you can see that when the VM generates a DHCP request it shows up on the

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-26 Thread Bill Davidsen
Anthony Liguori wrote: Hi Mark, Mark McLoughlin wrote: Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the perfomance measurably. I'm

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-25 Thread Mark McLoughlin
On Thu, 2008-07-24 at 13:29 -0500, Anthony Liguori wrote: Mark McLoughlin wrote: Hey, One all all-important thing I forgot to include was a comparison with lguest :-) Hey Mark, This patch set is really great! I guess the hard part now is deciding what all we want to apply.

[PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Mark McLoughlin
Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the perfomance measurably. I've tried hard to test each of these patches with as stable

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Anthony Liguori
Mark McLoughlin wrote: Hey, One all all-important thing I forgot to include was a comparison with lguest :-) Hey Mark, This patch set is really great! I guess the hard part now is deciding what all we want to apply. Do you have a suggestion of which patches you think are worth

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Anthony Liguori
Hi Mark, Mark McLoughlin wrote: Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the perfomance measurably. I'm still seeing the same