home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / apps / 9914 < prev    next >
Encoding:
Text File  |  1993-01-06  |  2.2 KB  |  48 lines

  1. Newsgroups: comp.os.os2.apps
  2. Path: sparky!uunet!scifi!watson!
  3. From: cnadler@vnet.ibm.com (Cliff Nadler)
  4. Subject: Re: better vdisk
  5. Sender: @watson.ibm.com
  6. Message-ID: <1993Jan06.161623.16242@watson.ibm.com>
  7. Date: Wed, 06 Jan 93 16:16:23 GMT
  8. News-Software: IBM OS/2 PM RN (NR/2) v0.15 by O. Vishnepolsky and R. Rogers
  9. Lines: 34
  10. Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
  11. References: <1993Jan5.144041.15093@wraxall.inmos.co.uk> <726270245snx@tgm.CAM.ORG>
  12. Organization: IBM T. J. Watson Research
  13.  
  14. In <726270245snx@tgm.CAM.ORG> eric@tgm.CAM.ORG (Eric Trepanier) writes:
  15. >Uh-uh.  I've seen this on the Amiga and it is brilliant.  Most of the time,
  16. >a virtual disk is empty -- it is best used to hold temporary files.  Thus,
  17. >when the disk is particulary big (4Mb+), and empty, you litteraly end up
  18. >wasting that precious memory.  Now, an intelligent RAM disk (like those
  19. >found on the Amiga) will only "dynamically" allocate  memory as it needs
  20. >it.  This can be real-RAM memory (as opposed to swappable disk memory).
  21. >When the files are deleted from the RAM disk, the memory is released thus
  22. >the RAM disk never wastes more system (RAM) memory then is needed to hold
  23. >all its files, i.e. 0Kb when it's empty.  I've never seen such a RAM disk
  24. >on a PC-based system though, whether DOS-based or OS/2-based.
  25. >
  26.  
  27. If you look at the C-Set/2 compiler (possibly the one in beta right now), it
  28. allows you to put your temp files into memory, or out to a temp directory on
  29. the disk. It does pretty much the same thing, but it allows the application
  30. to control it without going thru the expense of the file system layer.
  31.  
  32. I don't think that this will be as practical as the implementation on the
  33. Amiga because of the disk cache and the swapper re-use. The only reason I've
  34. seen for a VDISK on a system like OS/2 is for frequently used files that are
  35. continually used (i.e. header files if you do alot of compiling.
  36.  
  37. >Are you listening, IBM?  ;^)
  38.  
  39. We're trying to listen better. BTW, I am not part of OS/2 development. These
  40. beliefs are my own - development may be writing this as we speak - I have no
  41. idea.
  42.  
  43. Cliff Nadler
  44. IBM Federal Systems Company
  45.  
  46. Note: This post represents the views of the poster, not those of IBM or the
  47.       IBM Federal Systems Company
  48.