Softupdates a mount option?
Bernd Walter
ticso at cicely12.cicely.de
Thu May 27 05:49:08 PDT 2004
On Thu, May 27, 2004 at 02:25:10PM +0200, Ivan Voras wrote:
> Bruce Evans wrote:
>
> > On Thu, 27 May 2004, Ivan Voras wrote:
> >
> >
> >>- I was creating a md drive with mdmfs, and it felt rather awkward to
> >>control softupdates via command line parameters (a sidequestion: does it
> >>make any sense enabling SU on a memory drive by default?). As it seems
> >>now, every such utility that handles (well, at least creates) a ffs
> >>filesystem must handle SU-controlling options as command line parameters.
> >
> >
> > It makes sense to never enable soft updates on a memory drive, since soft
> > updates uses extra CPU cycles to try to speed up i/o to real drives (and
>
> Then maybe the default should be changed?
>
> From 'man mdmfs':
> By default, mdmfs creates a swap-based (MD_SWAP) disk with soft-updates
> enabled and mounts it on mount-point.
swap != ram
SU makes perfectly sense for swap backed md drives.
--
B.Walter BWCT http://www.bwct.de
bernd at bwct.de info at bwct.de
More information about the freebsd-current
mailing list