On Mon, 22 Oct 2001, Steven Cayford wrote:

> On 2001.10.21 22:29:05 -0500 Jeff Newmiller wrote:
> 
> [snipped]
> 
> > The ramdisk driver only takes the memory it actually needs, up to the
> > maximum ramdisk size.  df reports the maximum space that volume could
> > require. If the sum of your maximum values is greater than your actual
> > ram, then your system could lock up if you have a DOS event (for
> > example) that fills your logs and therefore actually attempts to use
> > the maximum memory.  You could still be okay, though, since the
> > other ramdisk(s) won't be changing their memory usage.
> > 
> Hmm. Okay. df -k tells me this:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/ram0                16208      4456     11752  27% /
> /dev/ram1                 2022        47      1975   2% /var/log
> 
> and free tells me this:
> 
>          total:    used:    free:  shared: buffers:  cached:
> Mem:  15007744 14741504   266240  6922240  6479872  2195456
> Swap:        0        0        0
> MemTotal:     14656 kB
> MemFree:        260 kB
> MemShared:     6760 kB
> Buffers:       6328 kB
> Cached:        2144 kB
> SwapTotal:        0 kB
> SwapFree:         0 kB
> 
> I guess I could cut ram0 down by half and still have plenty of room. Is 
> that reasonable?

Yes.  I am quite happy with a 6M ramdisk.

The main danger with a too-small main ramdisk is filling it up with a fat
root.lrp during backup.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to