Re: [Qemu-devel] [PATCH 1/1] virtio-mmio: return the max queue num of virtio-mmio with initial value

2015-07-21 Thread Andrew Jones
On Mon, Jul 20, 2015 at 10:38:58AM -0500, Wei Huang wrote: On 07/20/2015 06:07 AM, Peter Maydell wrote: On 16 July 2015 at 19:38, Wei Huang w...@redhat.com wrote: Recently we found that virtio-console devices consumes lots AArch64 guest memory, roughly 1GB with 8 devices. After

Re: [Qemu-devel] [PATCH 1/1] virtio-mmio: return the max queue num of virtio-mmio with initial value

2015-07-20 Thread Peter Maydell
On 16 July 2015 at 19:38, Wei Huang w...@redhat.com wrote: Recently we found that virtio-console devices consumes lots AArch64 guest memory, roughly 1GB with 8 devices. After debugging, it turns out that lots of factors contribute to this problem: i) guest PAGE_SIZE=64KB, ii) virtio-mmio based

Re: [Qemu-devel] [PATCH 1/1] virtio-mmio: return the max queue num of virtio-mmio with initial value

2015-07-20 Thread Wei Huang
On 07/20/2015 06:07 AM, Peter Maydell wrote: On 16 July 2015 at 19:38, Wei Huang w...@redhat.com wrote: Recently we found that virtio-console devices consumes lots AArch64 guest memory, roughly 1GB with 8 devices. After debugging, it turns out that lots of factors contribute to this problem:

[Qemu-devel] [PATCH 1/1] virtio-mmio: return the max queue num of virtio-mmio with initial value

2015-07-16 Thread Wei Huang
Recently we found that virtio-console devices consumes lots AArch64 guest memory, roughly 1GB with 8 devices. After debugging, it turns out that lots of factors contribute to this problem: i) guest PAGE_SIZE=64KB, ii) virtio-mmio based devices, and iii) virtio-console device. Here is the detailed