<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Question, is mount_mfs different than a RAM disk (<span style="caret-color: rgb(53, 53, 53); color: rgb(53, 53, 53); -webkit-text-size-adjust: 100%;">mount -t tmpfs -o size=1024m myramdisk /tmp/ramdisk) ?</span><br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Dec 5, 2021, at 11:00, semibug-request@lists.nycbug.org wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Send Semibug mailing list submissions to</span><br><span>    semibug@lists.nycbug.org</span><br><span></span><br><span>To subscribe or unsubscribe via the World Wide Web, visit</span><br><span>    http://lists.nycbug.org:8080/mailman/listinfo/semibug</span><br><span>or, via email, send a message with subject or body 'help' to</span><br><span>    semibug-request@lists.nycbug.org</span><br><span></span><br><span>You can reach the person managing the list at</span><br><span>    semibug-owner@lists.nycbug.org</span><br><span></span><br><span>When replying, please edit your Subject line so it is more specific</span><br><span>than "Re: Contents of Semibug digest..."</span><br><span></span><br><span></span><br><span>Today's Topics:</span><br><span></span><br><span>   1. Re: Use mount_mfs to speed up programs (Jonathan Drews)</span><br><span></span><br><span></span><br><span>----------------------------------------------------------------------</span><br><span></span><br><span>Message: 1</span><br><span>Date: Fri, 3 Dec 2021 21:51:09 -0700</span><br><span>From: Jonathan Drews <jondrews@fastmail.com></span><br><span>To: semibug@lists.nycbug.org</span><br><span>Subject: Re: [Semibug] Use mount_mfs to speed up programs</span><br><span>Message-ID: <YarzvWPMci9rLyuT@leo.easyfashionclothing.com></span><br><span>Content-Type: text/plain; charset=us-ascii</span><br><span></span><br><span>On Tue, Nov 30, 2021 at 08:15:21AM -0500, Nick Holland wrote:</span><br><blockquote type="cite"><span>On 11/30/21 4:00 AM, Jonathan Drews wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hi Folks:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>  I used Michael's book "Absolute OpenBSD" to setup MFS (Memory File</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>System). It is also in man 8 mount_mfs. I did:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span># mount_mfs -s 2048m /dev/sd0b /mnt</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Quoting D. J. Bernstein: "Benchmark, don't speculate"</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Having an MFS be 100x faster than your hard drive only matters if</span><br></blockquote><blockquote type="cite"><span>your hard drive is a significant bottleneck.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>If your program does little from the disk, you are more likely to</span><br></blockquote><blockquote type="cite"><span>spend more time setting up the loading of the MFS than you will gain</span><br></blockquote><blockquote type="cite"><span>from program execution.  And a LOT more time recreating data /when/</span><br></blockquote><blockquote type="cite"><span>you forget to put the data back on real disk when you are done with</span><br></blockquote><span></span><br><span>Nick and Michael:</span><br><span></span><br><span> Thanks for the advice on this. The MFS was interesting to play with but</span><br><span>I will not use it. </span><br><span></span><br><span>--</span><br><span>Kind regards,</span><br><span>Jonathan</span><br><span></span><br><span></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>Subject: Digest Footer</span><br><span></span><br><span>_______________________________________________</span><br><span>Semibug mailing list</span><br><span>Semibug@lists.nycbug.org</span><br><span>http://lists.nycbug.org:8080/mailman/listinfo/semibug</span><br><span></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>End of Semibug Digest, Vol 64, Issue 1</span><br><span>**************************************</span><br></div></blockquote></body></html>