From: Piotr Karbowski <jabberuser@gmail.com>
To: Piotr Karbowski <piotr.karbowski@gmail.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Enabling vhost-net cause insane high memory usage.
Date: Wed, 15 Jan 2014 22:44:58 +0100 [thread overview]
Message-ID: <52D7015A.8080507@gmail.com> (raw)
In-Reply-To: <52D6FF59.8010905@gmail.com>
On 01/15/2014 10:36 PM, Piotr Karbowski wrote:
> 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.
Quick note, the test was done on VM with 512 MB memory set, if I test it
on the 2 GB one, RES with vhost-enabled virtio-net-pci goes a bit above
2 GB shortly after start.
-- Piotr.
prev parent reply other threads:[~2014-01-15 21:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-09 23:00 [Qemu-devel] Enabling vhost-net cause insane high memory usage Piotr Karbowski
2014-01-15 2:41 ` Stefan Hajnoczi
2014-01-15 10:03 ` Michael S. Tsirkin
2014-01-15 21:36 ` Piotr Karbowski
2014-01-15 21:44 ` Piotr Karbowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D7015A.8080507@gmail.com \
--to=jabberuser@gmail.com \
--cc=mst@redhat.com \
--cc=piotr.karbowski@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.