Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 17:47:48 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Narvi <narvi@haldjas.folklore.ee>
Cc:        threads@freebsd.org
Subject:   Re: libkse -> libpthreads
Message-ID:  <3EA49134.71A5BDC8@mindspring.com>
References:  <20030422020939.S29990-100000@haldjas.folklore.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
Narvi wrote:
> On Mon, 21 Apr 2003, Geoffrey C. Speicher wrote:
> > What's not clear about it?  libkse is a superset of the functionality
> > of libthr.  Seems pretty straightforward to me that the long-term
> > winner is libkse.
> 
> This assumes that libkse M:N model will provide supperior performance and
> scalability, and this is not clear. Or does merely the fact that itis M:N
> somehow make it more winning contender?

See other discussion.  Performance should be identical, after
the upcall is eliminated in the case where all threads are
created PTHREAD_SCOPE_SYSTEM, and libkse communicates this to
the kernel to avoid generation of upcalls on blocking operations.

Jeff makes a good point about the potential for bugs because of
the more sophisticated and larger total number of lines of code,
however.

Daniel also makes a good point about not finding them unless the
code is put in production.

To my mind, it comes down to bug avoidance vs. bug detection, if
you weigh these arguments against each other.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA49134.71A5BDC8>