home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.isis
- Path: sparky!uunet!think.com!rpi!batcomputer!cornell!ken
- From: ken@cs.cornell.edu (Ken Birman)
- Subject: Question I got about use of shared memory in Isis
- Message-ID: <1993Jan3.152304.13297@cs.cornell.edu>
- Organization: Cornell Univ. CS Dept, Ithaca NY 14853
- Date: Sun, 3 Jan 1993 15:23:04 GMT
- Lines: 56
-
- Thought people might be interested by this:
- > From: ajay@sjc.mentorg.com (Ajay Kumar)
- > Subject: RPC on shared memory transport
-
-
- > I've been sampling the discussions on comp.sys.isis
- > for some time. You seem to have done studies of RPCs and
- > various transport mechanisms. Do you know of any implementation
- > of RPCs that uses shared memory as the transport mechanism ?
- > How does the performance of shared memory compare with UDP ,
- > which on a single machine is reliable ? It seems to me that as
- > we get more boxes with multiple CPUs and shared memory on desktops,
- > communicating between different processes on the same machine will
- > become as important as between processes on remote machines . Does
- > isis address these types of architectures in particular ?
-
- Mach uses this approach to RPC. Performance is good for big
- messages, but so-so for small ones, since the cost of playing with
- page tables is substantial. I would email to bershad@cs.cmu.edu for
- his papers on "lightweight" RPC and also ask for pointers on this
- question about basic Mach uses of shared memory... Rick Rashid published
- most of the Mach papers in places like USENIX, so you need the
- publications list from CMU to track the full set down.
-
- As for Isis, we don't do anything special about this, but in our
- manual, section on "examples", you will find an example of how to
- use shared memory within a group of processes all of whose members
- reside on the same machine. So, it isn't hard to exploit shared
- memory within an Isis application, but we don't use shared memory as
- a communication layer ourselves.
-
- The reason I don't do anything specific about this in Isis is that
- management of the memory pool in which messages live is necessarily
- an OS problem -- and Isis is a communication subsystem, not an OS.
-
- The new work on Horus (follow-on to Isis) will use shared memory more
- effectively. Robbert van Renesse is the expert on this -- but he doesn't
- waste his time with newsgroups :-( Email to him directly with
- questions (rvr@cs.cornell.edu)
-
- When Isis V3.1 runs over Mach, we are planning to start making better
- use of Mach IPC for local IPC. Hence, ISIS V3.1 will benefit from whatever
- Mach does in this respect... Same for Isis over Chorus...
- The current V3.0 release uses UDP even when it runs on Mach or Chorus.
-
- Ken
-
- PS: You should also read about Ameoba RPC (email to rvr@cs.cornell.edu
- for pointers to Ameoba papers on this) and Chorus RPC (email to
- rozier@chorus.fr). DELTA-4 also uses shared memory, I think,
- but I am sure Werner can be counted on to fill us in on this once
- he sees your query! (Werner was previously in the Ameoba group)
- --
- Kenneth P. Birman E-mail: ken@cs.cornell.edu
- 4105 Upson Hall, Dept. of Computer Science TEL: 607 255-9199 (office)
- Cornell University Ithaca, NY 14853 (USA) FAX: 607 255-4428
-