Subject: Re: cheap performance boost tip
To: Todd Whitesel <toddpw@best.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-arm32
Date: 08/30/1998 03:22:25
On Sun, 30 Aug 1998 02:56:10 -0700 (PDT)
Todd Whitesel <toddpw@best.com> wrote:
> If you have not enabled the memory file system, do it and mount it as /tmp.
>
> 1. Enable/uncomment these lines in your kernel config and rebuild if needed:
>
> file-system MFS # memory file system
> pseudo-device md 1 # memory disk device (ramdisk)
"md" is not required for MFS, fyi...
> 2. Add this line to your /etc/fstab:
>
> /dev/wd0b /tmp mfs rw,-s=81920 0 0
...I actually prefer using "swap" instead of an actual partition name.
This is only used to compute the geometry that the file system will
use (remember, MFS == FFS in memory :-), and mount_mfs fakes a reasonable
one for you if you specify "swap".
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942