All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Priebe <s.priebe@profihost.ag>
To: Orit Wasserman <owasserm@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] slow xbzrle
Date: Thu, 25 Oct 2012 22:45:41 +0200	[thread overview]
Message-ID: <5089A4F5.6020306@profihost.ag> (raw)
In-Reply-To: <50893B7A.2010800@redhat.com>

Am 25.10.2012 15:15, schrieb Orit Wasserman:
>>> Looks like a lot of cache miss, you can try increasing the cache size (migrate_set_cache_size).
>>> But you should remember that for an idle guest XBZRLE is wasteful,
>>> it is useful for workload that changes the same memory pages frequently.
>>
>> sure here are some values from a loaded VM (20% cpu load with MySQL) - with an increased cache size does not look much better:
>>
>> Oct 25 14:16:39 migration xbzrle cachesize: 536870912 transferred 0 pages 0 cachemiss 159634 overflow 0
>> Oct 25 14:16:41 migration xbzrle cachesize: 536870912 transferred 0 pages 0 cachemiss 173631 overflow 0
>> Oct 25 14:16:43 migration xbzrle cachesize: 536870912 transferred 0 pages 0 cachemiss 187627 overflow 0
>> Oct 25 14:16:45 migration xbzrle cachesize: 536870912 transferred 0 pages 0 cachemiss 201624 overflow 0
> It looks like the cache got smaller 1073741824 > 536870912 ...
> try 2G cache size
> Orit

Here from another VM running into overflow setting cache size to 50% of mem:
Oct 25 22:43:57 migration xbzrle cachesize: 2147483648 transferred 
36294204 pages 520357 cachemiss 392074 overflow 947

Oct 25 22:44:31 migration xbzrle cachesize: 2147483648 transferred 
45438419 pages 653350 cachemiss 392091 overflow 1024

Oct 25 22:44:55 migration xbzrle cachesize: 2147483648 transferred 
51310028 pages 742877 cachemiss 392096 overflow 1054

Greets,
Stefan

      reply	other threads:[~2012-10-25 20:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25  8:12 [Qemu-devel] slow xbzrle Stefan Priebe - Profihost AG
2012-10-25  9:44 ` Orit Wasserman
2012-10-25 10:35   ` Stefan Priebe - Profihost AG
2012-10-25 11:39     ` Orit Wasserman
2012-10-25 12:18       ` Stefan Priebe - Profihost AG
2012-10-25 13:15         ` Orit Wasserman
2012-10-25 20:45           ` Stefan Priebe [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=5089A4F5.6020306@profihost.ag \
    --to=s.priebe@profihost.ag \
    --cc=owasserm@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 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.