[Semibug] Use mount_mfs to speed up programs

Jonathan Drews jondrews at fastmail.com
Fri Dec 3 23:51:09 EST 2021

On Tue, Nov 30, 2021 at 08:15:21AM -0500, Nick Holland wrote:
> On 11/30/21 4:00 AM, Jonathan Drews wrote:
> > Hi Folks:
> > 
> >   I used Michael's book "Absolute OpenBSD" to setup MFS (Memory File
> > System). It is also in man 8 mount_mfs. I did:
> > 
> > # mount_mfs -s 2048m /dev/sd0b /mnt
> Quoting D. J. Bernstein: "Benchmark, don't speculate"
> Having an MFS be 100x faster than your hard drive only matters if
> your hard drive is a significant bottleneck.
> If your program does little from the disk, you are more likely to
> spend more time setting up the loading of the MFS than you will gain
> from program execution.  And a LOT more time recreating data /when/
> you forget to put the data back on real disk when you are done with

Nick and Michael:

 Thanks for the advice on this. The MFS was interesting to play with but
I will not use it. 

Kind regards,

More information about the Semibug mailing list