From owner-freebsd-performance@FreeBSD.ORG Tue Feb 10 14:44:45 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D2B2106568B for ; Tue, 10 Feb 2009 14:44:45 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C93DC8FC1D for ; Tue, 10 Feb 2009 14:44:44 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWtqv-0008Tq-Hk for freebsd-performance@freebsd.org; Tue, 10 Feb 2009 14:44:45 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 14:44:45 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 14:44:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: Ivan Voras Date: Tue, 10 Feb 2009 15:44:33 +0100 Lines: 111 Message-ID: References: <499165F3.6050803@sebster.com> <49918DA6.4020608@sebster.com> <49918E0A.1060500@sebster.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig282B5F4E84B36F935569B287" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <49918E0A.1060500@sebster.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: FreeBSD 7.1 disk performance issue on ESXi 3.5 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 14:44:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig282B5F4E84B36F935569B287 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sebastiaan van Erk wrote: > Sebastiaan van Erk wrote: >> (However, just to give you an idea I attached the basic 5.1.2 >> unixbench outputs (the CPU info for FreeBSD is "fake", since unixbench= >> does a cat /proc/cpuinfo, so I removed the /proc/ part and copied the >> output under linux to the "procinfo" file.) System: test-fbsd.vpn1.sebster.com: FreeBSD ------------------------------------------------------------------------ Benchmark Run: Tue Feb 10 2009 06:25:49 - 06:54:08 2 CPUs in system; running 1 parallel copy of tests System Benchmarks Index Values BASELINE RESULT IND= EX Dhrystone 2 using register variables 116700.0 14144383.9 1212= =2E0 Double-Precision Whetstone 55.0 3238.7 588= =2E9 Execl Throughput 43.0 630.0 146= =2E5 File Copy 1024 bufsize 2000 maxblocks 3960.0 28793.2 72= =2E7 File Copy 256 bufsize 500 maxblocks 1655.0 33410.0 201= =2E9 File Copy 4096 bufsize 8000 maxblocks 5800.0 33536.8 57= =2E8 Pipe Throughput 12440.0 1146784.7 921= =2E9 Pipe-based Context Switching 4000.0 36203.6 90= =2E5 Process Creation 126.0 783.3 62= =2E2 Shell Scripts (1 concurrent) 42.4 645.1 152= =2E2 Shell Scripts (8 concurrent) 6.0 115.4 192= =2E3 System Call Overhead 15000.0 939647.5 626= =2E4 =3D=3D= =3D=3D=3D=3D=3D=3D System Benchmarks Index Score 212= =2E4 System: test-ubuntu: GNU/Linux ------------------------------------------------------------------------ Benchmark Run: Mon Feb 09 2009 15:15:06 - 15:43:20 2 CPUs in system; running 1 parallel copy of tests System Benchmarks Index Values BASELINE RESULT IND= EX Dhrystone 2 using register variables 116700.0 18610575.3 1594= =2E7 Double-Precision Whetstone 55.0 2990.1 543= =2E7 Execl Throughput 43.0 1058.6 246= =2E2 File Copy 1024 bufsize 2000 maxblocks 3960.0 468973.2 1184= =2E3 File Copy 256 bufsize 500 maxblocks 1655.0 132022.2 797= =2E7 File Copy 4096 bufsize 8000 maxblocks 5800.0 921448.5 1588= =2E7 Pipe Throughput 12440.0 1132933.6 910= =2E7 Pipe-based Context Switching 4000.0 93429.0 233= =2E6 Process Creation 126.0 1744.3 138= =2E4 Shell Scripts (1 concurrent) 42.4 2566.9 605= =2E4 Shell Scripts (8 concurrent) 6.0 518.4 864= =2E0 System Call Overhead 15000.0 1935577.0 1290= =2E4 =3D=3D= =3D=3D=3D=3D=3D=3D System Benchmarks Index Score 656= =2E1 The results are ... interesting. It seems that FreeBSD simply dies in any test having a high context switch rate. Hmmm, this looks familiar. Either I or a collegue of mine had a similar situation some time ago, with the same discrepancy in disk speeds and the same difference in context switches. Unfortunately, there was no solution. --------------enig282B5F4E84B36F935569B287 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkZLRldnAQVacBcgRAhhFAKDV99HyKIYR/l430gZQ580Bd3NOdwCg0oXv rwsR0iAMX3ovSYziH5Nh7Ok= =JFdR -----END PGP SIGNATURE----- --------------enig282B5F4E84B36F935569B287--