Received: from eggs.gnu.org ([2001:4830:134:3::10]:54426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzTJs-0000FR-8C for qemu-devel@nongnu.org; Mon, 01 Jun 2015 13:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzTJr-0007qZ-En for qemu-devel@nongnu.org; Mon, 01 Jun 2015 13:16:12 -0400 From: Alberto Garcia In-Reply-To: <1433174959-7176-4-git-send-email-mreitz@redhat.com> References: <1433174959-7176-1-git-send-email-mreitz@redhat.com> <1433174959-7176-4-git-send-email-mreitz@redhat.com> Date: Mon, 01 Jun 2015 19:16:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 3/3] qcow2: Add DEFAULT_L2_CACHE_CLUSTERS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , qemu-devel@nongnu.org, Alexander Graf On Mon 01 Jun 2015 06:09:19 PM CEST, Max Reitz wrote: > If a relatively large cluster size is chosen, the default of 1 MB L2 > cache is not really appropriate. In this case, unless overridden by the > user, the default cache size should not be determined by its size in > bytes but by the number of L2 tables (clusters) it is supposed to > contain. > > Note that without this patch, MIN_L2_CACHE_SIZE will effectively take > over the same role. However, providing space for just two L2 tables is > not enough to be the default. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto