From: Piotr Karbowski <piotr.karbowski@gmail.com>
To: "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:36:25 +0100 [thread overview]
Message-ID: <52D6FF59.8010905@gmail.com> (raw)
In-Reply-To: <20140115100353.GA2154@redhat.com>
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.
next prev parent reply other threads:[~2014-01-15 21:36 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 [this message]
2014-01-15 21:44 ` Piotr Karbowski
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=52D6FF59.8010905@gmail.com \
--to=piotr.karbowski@gmail.com \
--cc=mst@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).