From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQu45-0003gb-Ui for qemu-devel@nongnu.org; Fri, 30 Jun 2017 07:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQu41-0008Qy-W9 for qemu-devel@nongnu.org; Fri, 30 Jun 2017 07:26:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41640) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQu41-0008QB-Q2 for qemu-devel@nongnu.org; Fri, 30 Jun 2017 07:26:17 -0400 Date: Fri, 30 Jun 2017 12:26:10 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20170630112610.GA2437@work-vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] DIRTY_MEMORY_BLOCK_SIZE; List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ali saeedi Cc: qemu-devel@nongnu.org, stefanha@redhat.com * ali saeedi (ali.saeedi56@gmail.com) wrote: > Hello > what does 'DIRTY_MEMORY_BLOCK_SIZE' mean? > is it the number of words in a block? or number of pages in a block? or > number of bytes in a block? > thanks a lot (cc'ing Stefan) I think that DIRTY_MEMORY_BLOCK_SIZE is the number of TARGET_PAGEs within one DIRTY_MEMORY_BLOCK So with the common 4k target page that's 4k*256k*8=8GB/dirty memory block - note these are just the size of structure sin qemu, it's still got the ranularity ot mark individual target pages as dirty. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK