Subject: Re: PTHREAD_CONCURRENCY and large SMP (8 CPUs)
To: Chuck Silvers <chuq@chuq.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 12/01/2005 10:45:27
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 01, 2005 at 08:38:49AM -0800, Chuck Silvers wrote:
> On Thu, Dec 01, 2005 at 03:48:57PM +0100, Nicolas Joly wrote:
> >=20
> > While playing with a 8 CPUs amd64 machine (4x dual-core 865 Opterons),
> > i noticed that a simple threaded program (source attached) does not
> > work with PTHREAD_CONCURRENCY >=3D 6. I already tested this small
> > program on NetBSD/i386 and NetBSD/amd64, but never with 8 CPUs.
> >=20
> > Is there anything i can tweak to make it work ?
>=20
> the PTHREAD_CONCURRENCY stuff was never finished.  there is still work
> to be done in both the kernel and libpthread to make it functional,
> even for only 2 CPUs.  it's really easy to trigger that library assertion,
> and some people have triggered kernel assertions as well.

Has anyone documented the things that need to be done for this?

Take care,

Bill

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFDj0THWz+3JHUci9cRAu6JAJ9d7xjhftpZ7Y8bBMZxZP5oiqOcnQCggm8B
4UZpAAWrcSsXy6U+OB0HkmQ=
=108f
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--