[Semibug] Semibug Digest, Vol 64, Issue 1

Matthew Mattox mmattox at support.tools
Sun Dec 5 15:16:22 EST 2021


Question, is mount_mfs different than a RAM disk (mount -t tmpfs -o size=1024m myramdisk /tmp/ramdisk) ?

Sent from my iPhone

> On Dec 5, 2021, at 11:00, semibug-request at lists.nycbug.org wrote:
> 
> Send Semibug mailing list submissions to
>    semibug at lists.nycbug.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.nycbug.org:8080/mailman/listinfo/semibug
> or, via email, send a message with subject or body 'help' to
>    semibug-request at lists.nycbug.org
> 
> You can reach the person managing the list at
>    semibug-owner at lists.nycbug.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Semibug digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Use mount_mfs to speed up programs (Jonathan Drews)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 3 Dec 2021 21:51:09 -0700
> From: Jonathan Drews <jondrews at fastmail.com>
> To: semibug at lists.nycbug.org
> Subject: Re: [Semibug] Use mount_mfs to speed up programs
> Message-ID: <YarzvWPMci9rLyuT at leo.easyfashionclothing.com>
> Content-Type: text/plain; charset=us-ascii
> 
>> 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,
> Jonathan
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Semibug mailing list
> Semibug at lists.nycbug.org
> http://lists.nycbug.org:8080/mailman/listinfo/semibug
> 
> 
> ------------------------------
> 
> End of Semibug Digest, Vol 64, Issue 1
> **************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/semibug/attachments/20211205/5d7f72ff/attachment.htm>


More information about the Semibug mailing list