From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id DDD332F3A9 for ; Wed, 7 Feb 2001 22:56:52 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f183v4t20997 for axp-list@listman.redhat.com; Wed, 7 Feb 2001 22:57:04 -0500 Received: from femail15.sdc1.sfba.home.com (femail15.sdc1.sfba.home.com [24.0.95.142]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f183v4d20993 for ; Wed, 7 Feb 2001 22:57:04 -0500 Received: from appnet.com ([24.13.63.84]) by femail15.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010208035644.QYIP29776.femail15.sdc1.sfba.home.com@appnet.com> for ; Wed, 7 Feb 2001 19:56:44 -0800 Message-ID: <3A82191C.55FBCE5@appnet.com> Date: Wed, 07 Feb 2001 22:57:16 -0500 From: Jeff Sturm X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Oracle on Alpha Linux References: <4DAF89CD261ED011A47B0000C0F973BF0155DAEA@norge.is.sal.ksu.edu> <20010207160038.B2605@devserv.devel.redhat.com> <3A81CC44.26143C8D@alphalinux.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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