On Tue, Oct 27, 2009 at 09:36:18AM -0700, Shirley Ma wrote: > Hello Michael, > > On Tue, 2009-10-27 at 17:27 +0200, Michael S. Tsirkin wrote: > > Possibly GFP_ATOMIC allocations in vring_add_indirect are failing? > > Is there a chance you are tight on guest memory for some reason? > > with vhost, virtio does currently consume a bit more memory than > > with userspace backend. > > I did see memory leak on host every time after exiting guest. I don't > know where. Do you see it? I didn't notice. I'll check this. > Anyway after I reboot host and restart guest with large memory > allocation, How large is large here? I usually allocate 1G. > I do see performance improves to 3xxxMb/s, and occasionally > reaches 40xxMb/s. This is same as userspace, isn't it? > But "queue full" still exists, I can avoid the problem > by increasing send queue size from qemu. And what performance do you get then? > I will apply deferring skb allocation patch on guest to see any > performance gain after your vhost patch. > > Thanks > Shirley -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html