From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public From: jonathan@Whisk.DSG.Stanford.EDU (Jonathan Stone) Subject: Re: Alpha in peril? First Canion, now Pfieffer (I do think so) Date: 1999/05/11 Message-ID: <7h9v8c$4l0$2@nntp.Stanford.EDU>#1/1 X-Deja-AN: 476699044 References: <371AD875.407C6B83@igs.net> <7g4tng$5ue$1@nnrp1.dejanews.com> <7h7vnn$2ts$15@nntp.Stanford.EDU> <5l4sljqx5d.fsf@tequila.cs.yale.edu> Organization: Stanford Distributed Systems Group Reply-To: jonathan@DSG.Stanford.EDU Newsgroups: comp.arch,comp.sys.dec In article <5l4sljqx5d.fsf@tequila.cs.yale.edu>, "Stefan Monnier " writes: |> >>>>> "Jonathan" == Jonathan Stone writes: |> > But how would you get *enough* security (say, to cope with wild |> Look at it this way: take a simplistic Unix system where each |> process' address space is a single contiguous block starting at 0. Yes, I know. But that's not a realistic model. heap storage. Shared libraries. Dynamic linking, sometimes to libraries with overlapping sets of symbols (say, for POSIX chown vs. traditional bsd-style chown). Maybe single-address space systems wont have that specific implementation legacy, but you get the point. Pretty soon the notional process `address spaces' are splattered all through your `single address space', and then: |> Now move each one of those processes within their address space so |> that they occupy non-overlapping (virtual) addresses. They still |> can't access any other memory but their own (they each have a |> separate protection domain). Why *bother*, then? |> Yes, this doesn't work too well with fork(), but it's not too bad. ``Not too bad'' for a system that cant do fork() is definitely in the eye of the beholder. |> Furthermore, pointers can now be exchanged between processes in a |> meaningful manner. But you just said processes cannot access any other memory than their own. If these pointers cannot be dereferenced, how are they meaningful? |> SHM segments are now always mapped at the same |> address in each process which allows the use of actual |> data-structures in there. That's the only benefit? |> > pointer writes) without losing the performance gains you hope to get |> > from a single address space? Do you want somethign like SWIFT, or the |> |> Did anyone mention performance ? I thought this was in comp.arch (amongst others). I mean, if you want a Cambridge CAP machine or an iAPX432, or other hardware with better architectural support for this, you know where to find one. What're the architectural features needed to get benefits from this kind of system without compromising the benefits one gets from separate address spaces? |> IIRC the main advantage is flexibility. |> This said, I can't see why it should be significantly slower. Suppose I have such a single-address-space system. I have some random data structure, not in a shared-memory segment, which I want to make available to some other process (which knows about the relevant data structure). Forget about the real issues of structure growth and versioning for the moment. How do I make that particular structure available to some other process or subsystem without compromising all the other objects located in the same memory pages as the structure I do want to pass? What if I want to give different processes access to different subsets of the objects within my own protection domain (process address space)? Zalman did mention ``a reasonable degree of security''. My question is, how do you get that without compromising the performance gains (or ``flexibility''if you insist).