[Semibug] Semibug Digest, Vol 64, Issue 1
Nick Holland
nick at holland-consulting.net
Mon Dec 6 08:17:44 EST 2021
yes...
As I recall, the mfs code was considered somewhat old and crufty,
and tmpfs was hoped to be a replacement. However, there were
bugs in the new code and no one was actively working on them, so
at one point, tmpfs was disabled. It seems while mount_tmpfs is
still built, it is disabled in the kernel, the idea is if someone
wants to step up and make it work better, it is there.
Personally, I had used it a fair amount, never saw issues with it,
but mfs works fine for me, too.
Nick.
On 12/5/21 3:16 PM, Matthew Mattox wrote:
> 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
>> **************************************
>
> _______________________________________________
> Semibug mailing list
> Semibug at lists.nycbug.org
> https://lists.nycbug.org:8443/mailman/listinfo/semibug
>
More information about the Semibug
mailing list