From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve5Bi-0002Cp-S5 for qemu-devel@nongnu.org; Wed, 06 Nov 2013 10:38:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve5Bb-0002Em-Ji for qemu-devel@nongnu.org; Wed, 06 Nov 2013 10:38:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:62302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve5Bb-0002EF-C2 for qemu-devel@nongnu.org; Wed, 06 Nov 2013 10:38:27 -0500 From: Juan Quintela In-Reply-To: <1383748635.1739.92.camel@nilsson.home.kraxel.org> (Gerd Hoffmann's message of "Wed, 06 Nov 2013 15:37:15 +0100") References: <1383743088-8139-1-git-send-email-quintela@redhat.com> <1383748635.1739.92.camel@nilsson.home.kraxel.org> Date: Wed, 06 Nov 2013 16:38:21 +0100 Message-ID: <87txfpy1zm.fsf@elfo.elfo> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 00/39] bitmap handling optimization Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: chegu_vinod@hp.com, qemu-devel@nongnu.org Gerd Hoffmann wrote: > Hi, > >> - vga ram by default is not aligned in a page number multiple of 64, >> >> it could be optimized. Kraxel? It syncs the kvm bitmap at least 1 >> a second or so? bitmap is only 2048 pages (16MB by default). >> We need to change the ram_addr only > > It is created using memory_region_init_ram(), in vga_common_init(). > Nothing special is done to avoid/force any alignment. > Dunno why it ends up on a odd page number. > >> - vga: still more, after we finish migration, vga code continues >> synchronizing the kvm bitmap on source machine. Notice that there >> is no graphics client connected to the VGA. Worth investigating? > > Yep, needed to figure updated screen areas. It never stops completely, > but the refresh rate should be alot lower with no vnc client connected, > something like once every few seconds without client vs. 30x per second > with client. When the guest is stopped you really need to ask kvm for changes? strange, no? Later, Juan.