[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: solaris2.6 threads

Title: RE: solaris2.6 threads

Does using the GNU pth (via pthreads) also require any rebuild
of the Berkeley DB2 backend against the new library ? I didn't
think so, but just to make sure...

Also, what kind of performance difference can one expect to see
with the non-premptive threads ? Is it likely to be much worse ?

Thanks, Vinod.

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Monday, May 15, 2000 11:41 PM
To: Vinod Nair
Cc: 'openldap-software@openldap.org'; Vinod Nair
Subject: Re: solaris2.6 threads

At 10:08 AM 5/15/00 -0500, Vinod Nair wrote:
> Given the warnings about potential issues with pre-emptive threads, I wanted to 
> find out whether OpenLDAP 1.2.9 is any safer/better wrt to the the Solaris2.6 > pthreads.

The warnings apply to all versions of OpenLDAP 1.x.

>Would using a single-CPU box, and not having a situation where there are >multiple concurrent writers help skirt around this problem till

>OpenLDAP 2.0 arrives ?

If you want stability, use a non-preemptive threading system.

> If not, is GNU pthreads a reasonable alternative ?

As in GNU Pth, yes. OpenLDAP 1.2.10 supports Pth native
interface (prior versions used its pthreads interface).

> I'm interested in hearing people's experience on this matter,
> especially if the system is in a production environment.

Your mileage will vary.