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