Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 16:51:21 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-current@freebsd.org
Cc:        Maxim Sobolev <sobomax@portaone.com>
Subject:   Re: Pthreads performance
Message-ID:  <200502111651.25162.michaelnottebrock@gmx.net>
In-Reply-To: <420CC9F7.40802@portaone.com>
References:  <420CC9F7.40802@portaone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502111651.25162.michaelnottebrock>