From owner-freebsd-current@FreeBSD.ORG Fri Feb 11 15:51:38 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA1E716A4CE for ; Fri, 11 Feb 2005 15:51:38 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AEAF343D48 for ; Fri, 11 Feb 2005 15:51:37 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 11 Feb 2005 15:51:35 -0000 Received: from p3EE2686E.dip.t-dialin.net (EHLO lofi.dyndns.org) (62.226.104.110) by mail.gmx.net (mp016) with SMTP; 11 Feb 2005 16:51:35 +0100 X-Authenticated: #443188 Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j1BFpQV4008425 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 11 Feb 2005 16:51:26 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-current@freebsd.org Date: Fri, 11 Feb 2005 16:51:21 +0100 User-Agent: KMail/1.7.2 References: <420CC9F7.40802@portaone.com> In-Reply-To: <420CC9F7.40802@portaone.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1782315.FnjOf7ycnx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502111651.25162.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: Maxim Sobolev Subject: Re: Pthreads performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 15:51:38 -0000 --nextPart1782315.FnjOf7ycnx Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday, 11. February 2005 16:06, Maxim Sobolev wrote: > Following is result of the run on my 5.3-STABLE/UP. > -bash-2.05b$ time ./aqueue_kse -n 10000000 > pusher started > poper started > > real 0m15.477s > user 0m15.432s > sys 0m0.009s > -bash-2.05b$ time ./aqueue_linuxthreads -n 10000000 > pusher started > poper started > > real 0m6.118s > user 0m2.217s > sys 0m0.932s Here's what I get on a my UP 5.3-STABLE with ULE and PREEMPTION (thr & lc_r= =20 not installed, hence not tested): [lofi@kiste]:~ > time ./aqueue_linuxthreads -n 10000000 pusher started poper started real 0m19.157s user 0m4.639s sys 0m5.545s [lofi@kiste]:~ > time ./aqueue_kse -n 10000000 pusher started poper started real 0m32.619s user 0m31.858s sys 0m0.532s Still slower, but already lower than factor 2. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1782315.FnjOf7ycnx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCDNR9Xhc68WspdLARApc3AJ98xi3Xw9a7LyMcgzg8fhzoGHvynQCgl08Q HL3xClWlrNLfv+uZAFqordU= =RGWm -----END PGP SIGNATURE----- --nextPart1782315.FnjOf7ycnx--