From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 4 06:13:37 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6783106564A; Fri, 4 Mar 2011 06:13:37 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8615D8FC0C; Fri, 4 Mar 2011 06:13:36 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id DE1F7CB5D8; Fri, 4 Mar 2011 09:13:33 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 305638170; Fri, 04 Mar 2011 09:13:33 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p246DXff004099; Fri, 4 Mar 2011 09:13:33 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p246DSGY004098; Fri, 4 Mar 2011 09:13:28 +0300 (MSK) (envelope-from dchagin) Date: Fri, 4 Mar 2011 09:13:28 +0300 From: Chagin Dmitry To: Alexander Best Message-ID: <20110304061328.GA4073@dchagin.static.corbina.ru> References: <20110303212051.GA54978@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20110303212051.GA54978@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-emulation@freebsd.org Subject: Re: regarding issues with futexes and multiple threads X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 06:13:37 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 09:20:51PM +0000, Alexander Best wrote: > hi there, >=20 > i've been investigating this issue for quite a while now and simply wante= d to > post some measurements i did. >=20 > basically there's a massive slowdown when a process triggers a lot of thr= eads > which are doing futex operations. the following example is from darren ha= rt's > futex test suite (performance/). the slowdown seems to SMP related. here = are > the measurements running with SMP enabled and with kern.smp.disabled=3D1: >=20 1) slowdown is expected behaviour. 2) is it possible to run this test suite on FreeBSD? -- chd, Have fun! --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1wgwgACgkQ0t2Tb3OO/O0GbQCcCCzoPqzOYU4SG6YKSdYBWtHm BdUAoNCntqOHa/+Ml80jUdMK/DflZyDV =5Nn3 -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--