From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: Oracle on Alpha Linux
Date: Wed, 07 Feb 2001 22:57:16 -0500 [thread overview]
Message-ID: <3A82191C.55FBCE5@appnet.com> (raw)
In-Reply-To: 3A81CC44.26143C8D@alphalinux.org
ppetrakis@alphalinux.org wrote:
> So there would need to be full DEC_THREADS support. which means a fully
> POSIX compliant thread model of which the linux kernel does not have.
Much/most of pthreads should be handled in user space anyway. Any
reasonable implementation needs some kernel support, of which Linux
provides a minimum with clone().
> http://kt.linuxcare.com/kernel-traffic/kt20000911_84.epl
This thread starts focusing on thread create latencies, which is kind of
pointless. Good threaded applications create a bounded number of
threads, for which the total latency is slight. Context switch times
are important. Synchronization primitives are very important, which is
why all performance-critical threaded apps seem to supply their own
primitives anyway, based on test-and-set etc.
Tru64, I believe, supports a m:n thread model which requires some extra
kernel support. There is a potential performance benefit which a cost
of greatly increased complexity.
Linux takes a minimalist approach with a 1:1 model. Simple and
reasonably fast. Not a bad compromise IMO. If it were a serious
problem you can bet the commercial vendors would be complaining.
As one poster says, pthreads are really inadequate for complex
applications anyway, so most end up with their own thread libraries,
rendering pthreads as somewhat of a failure. I concur with this.
Jeff
next prev parent reply other threads:[~2001-02-08 3:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-07 20:48 Oracle on Alpha Linux Hoover, Tony
2001-02-07 21:00 ` Matt Wilson
2001-02-07 21:34 ` Oracle on Alpha Linux(threads) alvin
2001-02-07 22:29 ` Oracle on Alpha Linux ppetrakis
2001-02-08 3:57 ` Jeff Sturm [this message]
2001-02-07 21:13 ` alvin
2001-02-09 12:13 ` Harry Schittler
-- strict thread matches above, loose matches on Subject: below --
2001-02-08 17:24 Hankinson, Jeremy
2001-02-08 17:25 Hankinson, Jeremy
2001-02-08 10:41 ` James Fowler
2001-02-08 17:54 ` Markus Waldorf
2001-02-08 18:20 Hankinson, Jeremy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox