|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 4/4] Reallocate dma buffers in read/write path if needed |
Date: | Fri, 03 Oct 2008 18:35:18 -0500 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
Paul Brook wrote:
On Friday 03 October 2008, Ryan Harper wrote:The default buffer size breaks up larger read/write requests unnecessarily. When we encounter requests larger than the default dma buffer, reallocate the buffer to support the request.Allocating unboundedly large host buffers based on guest input seems like a bad idea.
Perhaps they could be at least bound to phys_ram_size.In general, I don't think there's a correct size to bound them that's less than phys_ram_size. The guest may be issuing really big IO requests.
Regards, Anthony Liguori
Paul -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to address@hidden More majordomo info at http://vger.kernel.org/majordomo-info.html
[Prev in Thread] | Current Thread | [Next in Thread] |