Re: [kvm-devel] virtio_net backport performance

2008-01-07 Thread Rusty Russell
On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote: Hey Rusty et al, I've got automatic backports of the virtio modules[1] working back to 2.6.18. Everything seems okay except that for any kernel with the older NAPI api, performance is extremely bad. I get about 1gbit on TX with

Re: [kvm-devel] virtio_net backport performance

2008-01-07 Thread Anthony Liguori
Rusty Russell wrote: On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote: Hey Rusty et al, I've got automatic backports of the virtio modules[1] working back to 2.6.18. Everything seems okay except that for any kernel with the older NAPI api, performance is extremely bad. I get

Re: [kvm-devel] virtio_net backport performance

2008-01-04 Thread Rusty Russell
On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote: @@ -215,17 +231,40 @@ struct virtnet_info *vi = rvq-vdev-priv; /* Suppress further interrupts. */ rvq-vq_ops-disable_cb(rvq); +#ifdef COMPAT_napi +   vi-rvq-vq_ops-enable_cb(vi-rvq); +   if