On Thu, Nov 1, 2012 at 5:07 PM, Michael S. Tsirkin <m...@redhat.com> wrote: > Commit 0d8d7690850eb0cf2b2b60933cf47669a6b6f18f introduced > a regression in virtio-net performance because it looks > into the ring aggressively while we really only care > about a single packet worth of buffers. > To fix, add parameters limiting lookahead, and > use in virtqueue_avail_bytes. > > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > Reported-by: Edivaldo de Araujo Pereira <edivaldoapere...@yahoo.com.br>
Nice, much simpler than the ideas I had. Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>