Received: from eggs.gnu.org ([2001:4830:134:3::10]:46135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcSL3-0003q7-CN for qemu-devel@nongnu.org; Mon, 30 Mar 2015 01:34:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcSKz-0001qA-BC for qemu-devel@nongnu.org; Mon, 30 Mar 2015 01:34:17 -0400 Message-ID: <5518E047.5030303@weilnetz.de> Date: Mon, 30 Mar 2015 07:33:59 +0200 From: Stefan Weil MIME-Version: 1.0 References: <5518742e.451f460a.1d9b.66ce@mx.google.com> In-Reply-To: <5518742e.451f460a.1d9b.66ce@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] tcg: optimise memory layout of TCGTemp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , "Emilio G. Cota" Cc: qemu-trivial , =?UTF-8?B?QWxleCBCZW5uw6ll?= , qemu-devel@nongnu.org Am 29.03.2015 um 23:52 schrieb Richard Henderson: > On Mar 27, 2015 14:09, "Emilio G. Cota" wrote: >> On Fri, Mar 27, 2015 at 09:55:03 +0000, Alex Benn=C3=A9e wrote: >>> Have you been able to measure any performance improvement with these = new >>> structures? In theory, if aligned with cache lines, performance shoul= d >>> improve but real numbers would be nice. >> I haven't benchmarked anything, which makes me very uneasy. All >> I've checked is that the system boots, and FWIW I appreciate no >> difference in boot time. > No decrease in boot time is good. We /know/ we're saving memory, after = all. > =20 >> Is there a benchmark suite to test TCG changes? > No, sorry. > > > r~ Benchmarking TCG with QEMU's system emulation is nearly impossible because operating systems usually contain lots of timer based operations. The TCG interpreter for example is really slow, but a BIOS will boot faster than expected with it. The user mode emulation is much better for benchmarks. Run some command line Linux application which mainly does computations (not file i/o) using user mode emulation on Linux. The OpenSSL package contains bntest which can be used as a benchmark for TCG. Redirect all output to /dev/null when you run it. Binaries for i386 and x86_64 are available from http://qemu.weilnetz.de/test/user/. Stefan