From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3d8192caca120f05 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: mp fortran on linux alpha Date: 2000/03/15 Message-ID: <8aog5m$j4o$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 597873220 References: <8amltl21i4m@news2.newsguy.com> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Steve Lionel (Steve.Lionel@compaq.com) wrote: : On 15 Mar 2000 00:36:05 GMT, lindahl@rt.com (Greg Lindahl) wrote: : >Steve Lionel writes: : > : >> This is not my area of expertise, but one missing feature I know of is : >> "thread local storage", which our OpenMP implementation relies on and : >> which we had added to Tru64 UNIX. : > : >If this is what I would guess it is from looking at the name, there's : >no reason it would need to go in the kernel. Perhaps they have : >different memory maps for different threads? In which case, you can : >still do it without modifying the kernel; you just would need : >heavyweight processes. : There probably wouldn't be much point in using heavyweight processes : for this, would there? The whole idea of parallel processing is to : improve run-time. There is not that much of a difference in Linux between "a heavyweight process" and a kernel thread and context switch times are in the same ballpark. This is quite unlikely than, for example, in Solaris where these times differ by an order of magnitude. I do not know how this looks for Tru64 but I would not be surprised to learn that it is similar to Solaris. So the game is not necessarily the same. : As I said, this is not my area of expertise, so I don't know the : details. Hm, but you know that "Linux is missing it". You are possibly right if you are looking for exactly the same mechanism but maybe equivalent facility does exist or can be easily added? There are people, even in Compaq - I would think, that could advise you on that once detailed real requirements are known. OTOH Linux/SMP is still relatively young; especially on Alpha. Upcoming 2.4 kernels should bring a significant progress in SMP area. But I do not know of any kernel hackers which would have a work access to an Alpha box with more than 2 processors. Michal