From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,b1738035b01d4980 X-Google-Attributes: gidf4671,public X-Google-Thread: 11035d,b1738035b01d4980 X-Google-Attributes: gid11035d,public X-Google-Thread: 1164f8,b1738035b01d4980 X-Google-Attributes: gid1164f8,public From: Paul David Fox Subject: Re: Why not Solaris on Alpha? Date: 1997/06/20 Message-ID: <33AA7AA0.59E2B600@lehman.com>#1/1 X-Deja-AN: 251329001 Distribution: inet References: <5mrt16$eo3@percy.cs.bham.ac.uk> <339EC070.390D@brussels.lhs.be> <5nn2j5$12h@cucumber.demon.co.uk> <339F9F56.1E4D4CFD@lehman.com> <5o8r6m$ner@ktel.osc.edu> <5o9ehl$8np@cocoa.brown.edu> <5ocp2t$r6v$1@news.latrobe.edu.au> Organization: None in particular Newsgroups: comp.unix.solaris,comp.sys.sun.hardware,comp.sys.dec R!ch wrote: > > All this is well and good, but what do you think an MMU is for? > > The difference is that as an applications programmer, I don't > have to worry/care about segments. In a segmented world without > an MMU, I do. To me, that's a big lose. Sometimes it would be nice to have the power of an MMU in user space - thats what segregs do for you. E.g. consider all those discussions about avoid kernel copies when doing system calls or 'zero-checksum TCP' implementations. With segregs, you (in theory) can have more reliable code, because your app can partition data sets (a bit like mmap-pages but with mmap-pages you soon run out of room or have things bumping into each other, which is why everyone wants to move to 64-bits). E.g. consider this. Under TOPS-10 (and possibly VMS) you had two segments - one for user code and one for the O/S. Things like getpid() would be implemented by just reading the appropriate part of memory - no user->kernel traps involved. (i386 SVR3 did this - the u-area was always visible). Now imagine the above where you can move pages or 'segments' from one app to another, e.g. for message passing. The things you can do are endless. The problem is that those 'long' addresses can impact performance when not really needed so everything slows down (e.g. 286 & 16-bit code on a 386). Generally segments should be zero-overhead to be desirable but I dont think any CPU architecture has ever achieved that in a way that made people rush to write apps for it. ______________________________________________________________________ | This signature is deceased. RIP. It is an ex-signature. | | 1996-1997 - a dearly beloved friend. | ______________________________________________________________________