Hello Miachel,

On Wed, 2009-10-28 at 18:53 +0200, Michael S. Tsirkin wrote:
> what exactly do you mean by transmission queue size?
> tx_queue_len?
> I think what should help with transmission queue full is
> actually sndbuf parameter for tap in qemu.

I didn't see my email out, I resend the response here.
What I meant is the number of descriptors in transmission queue. To be
more specific, it is 256->1024 in hw/virtio-net.c file

   n->tx_vq = virtio_add_queue(&n->vdev, 256, virtio_net_handle_tx);

I had a patch to have trans/recv descriptors configurable rather than
fixed before. But the test results doens't show any difference for both
TCP and UDP, so I didn't submit the patch. I think it's better to make
it configurable based on how much memory virtio-net can be used. 

Thanks
Shirley

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to