home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
misc
/
gold03.lzh
/
GF_003
/
ASDG-RRD
/
POSTER3
< prev
next >
Wrap
Text File
|
1991-04-28
|
2KB
|
55 lines
Article 1663 of comp.sys.amiga:
Path: mcdsun!noao!hao!ames!lll-lcc!well!perry
From: perry@well.UUCP (Perry S. Kivolowitz)
Newsgroups: comp.sys.amiga
Subject: Reposting Of DeleteRamDisk And More Discussion
Keywords: Correct Length Is 4176
Message-ID: <2468@well.UUCP>
Date: 24 Jan 87 17:07:14 GMT
Lines: 140
Apparently DeleteRamDisk did not upload properly. Here's a second try.
Let me explain what DeleteRamDisk does though.
Sometimes I've found that the ASDG Recoverable Ram Disk is just too damn
recoverable. That is, sometimes I wanted to completely wipe it out so that
I could start fresh with a new one.
DeleteRamDisk causes the asdg.vdisk.device to corrupt some magic cookies
in memory so that *the next time you reset, when you reload the driver*
it will say ``uhmm. no disk here - let's make a new one.''
Thus you can continue to use the ram disk after executing DeleteRamDisk up
until the next crash or reboot. At that time, a completely empty ram disk
will be created.
CleanRamDisk causes the asdg.vdisk.device to immediately go through its
memory cleaning and compaction routines. The driver would have gone through
these routines itself, just later. If you want the ram disk cleaned immed-
iately, use CleanRamDisk.
As an exercise do the following on a ram disk with about 100 k left in it.
(1) ``run'' Sysmon so you can watch memory.
(2) Make a copy of some large program (less then the amount of
space you have left though).
(3) Notice memory disappearing from the free list.
(4) Delete the large program copy.
(5) Note that the amount of free memory probably stayed the same.
(6) Execute CleanRamDisk.
(7) Note lots of memory coming back to the free list.
(8) Make a copy of the same program again.
(9) Memory leaves free list.
(10) Delete it again.
(11) Free memory probably stayed the same.
(12) Do a few ``dir vd0: opt a''s.
(13) After a few of these, memory comes back to the free list.
This demonstrates a cleaning of the ram disk that was forced in (6) and
happened by itself in (12).
Perry S. Kivolowitz
-----------cut here for uuencoded deleteramdisk--------------