Slow boot with 256GB of RAM?

Allan Jude freebsd at allanjude.com
Sat Nov 16 20:31:51 UTC 2013


On 2013-11-16 13:36, James R. Van Artsdalen wrote:
> On 11/16/2013 8:52 AM, Allan Jude wrote:
>> I see this was in the release notes for 9.0 and 8.3, but other than
>> that, I don't see how anyone was supposed to find out about this. 
>> Maybe it would make sense to print 'Starting memory test, set
>> hw.memtest.test=0 to disable' before that starts, so anyone stuck
>> waiting will have a hint about what to do. 

A patch for the FAQ to add an entry about the hw.memtest.test=0 to speed
up boot on machines with a lot of ram


-- 
Allan Jude

-------------- next part --------------
Index: en_US.ISO8859-1/books/faq/book.xml
===================================================================
--- en_US.ISO8859-1/books/faq/book.xml	(revision 43198)
+++ en_US.ISO8859-1/books/faq/book.xml	(working copy)
@@ -3669,6 +3669,26 @@
 	    in &man.tunefs.8;.</para>
 	</answer>
       </qandaentry>
+
+      <qandaentry>
+	<question xml:id="slow-boot-memtest">
+	  <para>Why does &os; pause for a long time at boot when the
+	    system has large amounts of ram?</para>
+	</question>
+
+	<answer>
+	  <para>&os; does a short memory test early in the boot
+	    process.  This test usually only takes several seconds,
+	    however if the system has many 10s or 100s of gigabytes
+	    of memory it can take up to a few minutes.  This test
+	    can be disabled by setting the
+	    <literal>hw.memtest.tests</literal> to
+	    <literal>0</literal> in
+	    <filename>/boot/loader.conf</filename></para>
+
+	  <para>For more details, see &man.loader.conf.5;.</para>
+	</answer>
+      </qandaentry>
     </qandaset>
 
     <sect1 xml:id="all-about-zfs">
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20131116/1e3743bb/attachment.sig>


More information about the freebsd-doc mailing list