From owner-freebsd-hackers Wed Nov 28 9:29: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta09.onebox.com (mta09.onebox.com [64.68.76.81]) by hub.freebsd.org (Postfix) with ESMTP id 11A5737B405 for ; Wed, 28 Nov 2001 09:28:59 -0800 (PST) Received: from onebox.com ([10.1.111.6]) by mta09.onebox.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20011128172858.WOQC13130.mta09.onebox.com@onebox.com>; Wed, 28 Nov 2001 09:28:58 -0800 Received: from [63.49.209.220] by onebox.com with HTTP; Wed, 28 Nov 2001 09:28:58 -0800 Date: Wed, 28 Nov 2001 09:28:58 -0800 Subject: Re: FreeBSD on vmware From: "Glenn Gombert" To: Makoto Matsushita Cc: hackers@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20011128172858.WOQC13130.mta09.onebox.com@onebox.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I could not even get 'Currnet' to boot at all under VMware 3.0 without applying the patch that was mentioned a couple weeks ago under Win2K... -- Glenn Gombert glenngombert@onebox.com - email (513) 587-2643 x2263 - voicemail/fax ---- Makoto Matsushita wrote: > > iedowse> Someone mentioned on a list somewhere that vmware takes forever > to > iedowse> emulate the cmpxchg instruction, and that using the I386_CPU > version > iedowse> of atomic_cmpset_int() helps a lot. > > I really know I'm doing a stupid thing, but here is benchmark results > of both "plain" and "patched" 5-current (as of Nov/26/2001). Patched > FreeBSD is about 10% faster than before. > > *** Before: > > TEST BASELINE RESULT > INDEX > > Arithmetic Test (type = double) 2541.7 156596.8 > 61.6 > Dhrystone 2 without register variables 22366.3 1214131.7 > 54.3 > Execl Throughput Test 16.5 25.1 > 1.5 > File Copy (30 seconds) 179.0 1684.0 > 9.4 > Pipe-based Context Switching Test 1318.5 710.9 > 0.5 > Shell scripts (8 concurrent) 4.0 7.0 > 1.8 > ========= > SUM of 6 items > 129.1 > AVERAGE > 21.5 > > > *** After: > > TEST BASELINE RESULT > INDEX > > Arithmetic Test (type = double) 2541.7 167038.3 > 65.7 > Dhrystone 2 without register variables 22366.3 1267100.0 > 56.7 > Execl Throughput Test 16.5 45.0 > 2.7 > File Copy (30 seconds) 179.0 2863.0 > 16.0 > Pipe-based Context Switching Test 1318.5 1372.6 > 1.0 > Shell scripts (8 concurrent) 4.0 12.5 > 3.1 > ========= > SUM of 6 items > 145.3 > AVERAGE > 24.2 > > > *** > > Note that both are tested with: > - Same kernel configuration (but not GENERIC kernel) > - VMware Workstation 3.0.0 build 1455, WindowsXP Pro host > - 96MB RAM for FreeBSD guest OS > - 1.9GB Virtual Disk is on ATA66 HDD of host PC. > - Host PC has one Pentium3 850Mhz CPU > > -- - > Makoto `MAR' Matsushita > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message