From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKb3-0005PJ-MY for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhKak-0001EY-QW for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:51:13 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]:58606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKak-0001EQ-BD for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:50:54 -0400 Date: Wed, 30 Sep 2015 18:50:47 +0200 From: Aurelien Jarno Message-ID: <20150930165047.GE17449@aurel32.net> References: <1443589786-26929-1-git-send-email-rth@twiddle.net> <1443589786-26929-27-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443589786-26929-27-git-send-email-rth@twiddle.net> Subject: Re: [Qemu-devel] [PATCH v4 26/26] tcg: Adjust CODE_GEN_AVG_BLOCK_SIZE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org On 2015-09-30 15:09, Richard Henderson wrote: > At present, the "average" guestimate of TB size is way too small, leading > to many unused entries in the pre-allocated TB array. For a guest with 1GB > ram, we're currently allocating 256MB for the array. > > Survey arm, alpha, aarch64, ppc, sparc, i686, x86_64 guests running on > x86_64 and ppc64 hosts and select a new average. The size of the array > drops to 81MB with no more flushing than before. > > Signed-off-by: Richard Henderson > --- > include/exec/exec-all.h | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Reviewed-by: Aurelien Jarno -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net