From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ffn6K-0001w0-CF for qemu-devel@nongnu.org; Mon, 15 May 2006 20:07:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ffn6H-0001vb-6e for qemu-devel@nongnu.org; Mon, 15 May 2006 20:07:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ffn6H-0001vU-03 for qemu-devel@nongnu.org; Mon, 15 May 2006 20:07:45 -0400 Received: from [195.228.240.79] (helo=graveyard3.mail.t-online.hu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ffn8m-00031A-UL for qemu-devel@nongnu.org; Mon, 15 May 2006 20:10:21 -0400 Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard3.mail.t-online.hu (Postfix) with ESMTP id EAC3344568D for ; Tue, 16 May 2006 02:07:40 +0200 (CEST) Received: from mail.chello.hu (dsl51B65F12.pool.t-online.hu [81.182.95.18]) by mail.t-online.hu (Postfix) with ESMTP for ; Tue, 16 May 2006 02:07:40 +0200 (CEST) Date: Tue, 16 May 2006 02:07:39 +0200 Subject: Re: [Qemu-devel] objective benchmark? References: <200605152203.00826.mr@ramendik.ru> From: NyOS Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-2 MIME-Version: 1.0 Message-ID: In-Reply-To: <200605152203.00826.mr@ramendik.ru> Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, 15 May 2006 20:03:00 +0200, Mikhail Ramendik =20 wrote: > Hello, > > As I have reported before, it seems that on my host linux system kqemu = =20 > does > not work with guest win98se. > > Is there any benchmark that I could run in the guest, with and without = =20 > kqemu, > to check if this is so objectively? (Ideally I'd like two benchmarks - = =20 > 16-bit > and 32-bit code). > Hi! An ANSI-C benchmark program: http://www.hit.bme.hu/anonftp/pongor/benchmar/bm-ansi.c It should be compiled by full optimization. and some results: http://www.hit.bme.hu/anonftp/pongor/benchmar/bm-times.all I'm not sure whether is it really objective. Tests only the processor's =20 speed (not I/O). It was written, and maintained by one of my teachers, Gyorgy Pongor, unti= l =20 he died 2 or 3 years ago. By that time, he collected many result files =20 (even PDP-11 and VAX machines!), that is the second link above. You can try a 16 bit compiler also (e.g. ancient Borland compiler). Miklos Gyozo p.s. my results: on host: =3D=3D=3D=3D=3D Results of bench marks V.6.4, Pongor, Gy=F6rgy =3D=3D=3D= =3D=3D Type of machine : Intel(R) Pentium(R) 4 CPU 3.00GHz, 3006.943, 1024 KB Type of compiler : gcc version 3.3.6 (Debian 1:3.3.6-7), gcc -O3 bm-ansi.= c =20 -o nyosO3 -lm Name of this result file : nyosO3.bm Length of integer =3D 32 bits Length of double mantissa =3D 64 bits Length of address =3D 32 bits Precision of time estimation =3D 1% Clock resolution =3D 1000000.000 clocks/sec =3D=3D> Minimal execution time of one test: 2 sec Test 1: Direct select. sort 1000 real numbers ----- Time=3D 0.001= 93 =20 sec Test 2: Discrete Fourier Transform of 128 reals ----- Time=3D 0.002= 58 =20 sec Test 3: Find first 1000 primes ----- Time=3D 0.007= 42 =20 sec Test 4: Sieve of Eratosthenes with 2000 numbers ----- Time=3D 2.01e-= 05 =20 sec Test 5: FFT of 1024 complex numbers ----- Time=3D 7.32e-= 05 =20 sec Test 6: Invert a matrix of 50 * 50 reals ----- Time=3D 0.0007= 89 =20 sec Test 7: Calculate Binom(18,7) ----- Time=3D 0.0005= 18 =20 sec Average performance : 3207.6 "MicroVAX II MIPS" ----- Summary of results ----- Machine : Intel(R) Pentium(R) 4 CPU 3.00GHz, 3006.943, 1024 KB Compiler : gcc version 3.3.6 (Debian 1:3.3.6-7), gcc -O3 bm-ansi.c -o =20 nyosO3 -lm |fpp? | 32 64 32 ? | 1.929e-03 2.578e-03 7.422e-03 =20 2.012e-05 7.324e-05 7.886e-04 5.176e-04 | 3207.615 | the same binary on qemu (0.7.2): =3D=3D=3D=3D=3D Results of bench marks V.6.4, Pongor, Gy=F6rgy =3D=3D=3D= =3D=3D Type of machine : Pentium II (Klamath) QEMU, 3009.347, 128 KB Type of compiler : gcc the same Name of this result file : nyosO3qemu.bm Length of integer =3D 32 bits Length of double mantissa =3D 64 bits Length of address =3D 32 bits Precision of time estimation =3D 1% Clock resolution =3D 1000000.000 clocks/sec =3D=3D> Minimal execution time of one test: 2 sec Test 1: Direct select. sort 1000 real numbers ----- Time=3D 0.002= 19 =20 sec Test 2: Discrete Fourier Transform of 128 reals ----- Time=3D 0.002= 89 =20 sec Test 3: Find first 1000 primes ----- Time=3D 0.00= 84 =20 sec Test 4: Sieve of Eratosthenes with 2000 numbers ----- Time=3D 4.14e-= 05 =20 sec Test 5: FFT of 1024 complex numbers ----- Time=3D 0.0001= 03 =20 sec Test 6: Invert a matrix of 50 * 50 reals ----- Time=3D 0.0009= 47 =20 sec Test 7: Calculate Binom(18,7) ----- Time=3D 0.0005= 94 =20 sec Average performance : 2541.7 "MicroVAX II MIPS" ----- Summary of results ----- Machine : Pentium II (Klamath) QEMU, 3009.347, 128 KB Compiler : gcc ugyanugy |fpp? | 32 64 32 ? | 2.188e-03 2.891e-03 8.398e-03 =20 4.141e-05 1.031e-04 9.473e-04 5.938e-04 | 2541.747 |