home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / software / 1128 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.2 KB

  1. Path: sparky!uunet!overload!dillon
  2. From: dillon@overload.Berkeley.CA.US (Matthew Dillon)
  3. Newsgroups: comp.sys.next.software
  4. Subject: Re:  Ramdisk! a wonderful idea!
  5. Distribution: world
  6. Message-ID: <dillon.0l8b@overload.Berkeley.CA.US>
  7. References:  <1992Aug10.221515.5435@nas.nasa.gov> <rf3mxlc.abell@netcom.com>
  8. Date: 11 Aug 92 13:04:29 PST
  9. Organization: Not an Organization
  10. Lines: 42
  11.  
  12. In article <rf3mxlc.abell@netcom.com> abell@netcom.com (Steven T. Abell) writes:
  13. >NoNoNoNoNo! (Warning: entering the ozone layer now)
  14. >
  15. >This points up a problem with traditional computing environments. If you
  16. >think of memory as being either RAM, where your computer does its work,
  17. >and Disk, where your computer stores its work, you end up with this waste
  18. >of resources and loss of performance.
  19. >
  20. >If you're going to keep executables in RAM, that's OK. But it's not OK to
  21. >copy that program from one place in RAM to another to execute it, which is
  22. >what a ramdisk does. A really good operating system would let you execute
  23. >the program in place. Of course, that means you must write re-entrant code
  24. >*always*.
  25. >
  26. >While NeXT made some real improvements in usability, the next leap forward
  27. >needs to include RAM-resident program files that are re-entrant and execute
  28. >in place, running under a *real* realtime OS.
  29. >
  30. >(You can take off your space suits now, but the preceding is no joke.)
  31. >
  32. >Steve abell@netcom.com
  33.  
  34.     Heh.  That is *exactly* what the Amiga's resident does.  Not quite in
  35.     the backwater, eh?    The Amiga's resident will preload AND pre-relocate
  36.     a program in memory.  The program is reentrant, you can run as many
  37.     simultanious instances of it as you like, and startup is instantanious.
  38.  
  39.     But on the NeXT (or any UNIX machine), truely, the only place where you
  40.     get a meaningful performance boost is if the OS caches the thing for
  41.     you run-ready.  A NeXT ram disk is only a half step and as people have
  42.     mentioned, it can get swapped... you still have to go through a load &
  43.     process creation phase which involves a lot of work.
  44.  
  45.                             -Matt
  46.  
  47. --
  48.  
  49.     Matthew Dillon        dillon@Overload.Berkeley.CA.US
  50.     891 Regal Rd.        uunet.uu.net!overload!dillon
  51.     Berkeley, Ca. 94708     ham: KC6LVW (no mail drop)
  52.     USA
  53.  
  54.