RAM disk (WARNING: commercial content!)

George Pajari pajari at grads.cs.ubc.ca
Sat Apr 9 06:35:17 AEST 1988


In article <1010 at daisy.UUCP>, david at daisy.UUCP (David Schachter) writes:
>> With the recent discussion of problems running 9600 bps without losing char-
>> ... someone bemoaned the inability to define in-memory filesystems.  Is
>> there really no Unix driver to define in-memory simulated disk?

Driver Design Labs sells RAM-DISK drivers for SCO XENIX, IBM XENIX, (soon
Microport) and will port the driver to almost any machine given a good 
excuse (i.e. an order).

In <802 at spdcc.COM> from: dyer at spdcc.COM (Steve Dyer)...
> XENIX 2.2 and above has a RAM disk driver, although I have never bothered
> to use it...

The 2.2 RAM disk driver suffers from several limitation which have been
addressed by the Driver Design Labs product:

With 2.2 the RAM disk size must be one of 16K, 32K, 64K, 128K, 256K, 
512K, 1M, 2M, 4M, 8M...  With the Driver Design Labs driver the RAM disk 
can be any size (in increments of 1K).

With 2.2 permanent RAM disks can only be resized or removed by rebooting
the machine.  With the Driver Design Labs driver the RAM disk can be 
created or removed at any time

With 2.2 the RAM disk is allocated at the next available memory location
leading to memory fragmentation.  With the Driver Design Labs driver the 
memory is allocated adjacent to previous RAM disks or at the high end of 
memory (whichever minimizes fragmentation).

In addition the Driver Design Labs driver comes with menu based utilities
to create and remove ram disks (avoids the need for a manual, although a
40 pages manual is included) and a utility which displays memory
utilisation graphically so that intelligent decisions can be made
regarding the allocation of memory.

All that aside, Steve's comments are correct...memory is usually best used
for buffers or by processes...but sometimes RAM disks can help (but probably
not when the problem is dropping characters with uucp).

George Pajari
(when not at UBC trying to finish an M.Sc. degree, programmer for
Driver Design Labs, (604) 926-UNIX)



More information about the Comp.unix.microport mailing list