|
From: | Piotr Karbowski |
Subject: | Re: [Qemu-devel] Enabling vhost-net cause insane high memory usage. |
Date: | Wed, 15 Jan 2014 22:36:25 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hello, On 01/15/2014 11:03 AM, Michael S. Tsirkin wrote:
Could you explain how you measure that exactly?
I check the resident memory (RES) of qemu-system-x86_64 proces.
Yes, this should not happen. One interesting thing to try would be switching device type from virtio-net to e1000. This means vhost will be initialized but not started.
So with virtio-net-pci + vhost=on I have VM process on 580-590 MB of RES memory, if I disable vhost OR set e1000 NIC and leave vhost enabled, its take just 109-120 MB of resident memory.
The memory usage check is done after few minutes after VM start, and the vm have minimal debian7 system without even single additional service.
-- Piotr.
[Prev in Thread] | Current Thread | [Next in Thread] |