svn commit: r229085 - in head/sys: amd64/amd64 i386/i386

Bjoern A. Zeeb bz at FreeBSD.org
Sat Dec 31 13:35:49 UTC 2011


On 31. Dec 2011, at 13:24 , Gavin Atkinson wrote:

> Author: gavin
> Date: Sat Dec 31 13:24:53 2011
> New Revision: 229085
> URL: http://svn.freebsd.org/changeset/base/229085
> 
> Log:
>  Default to not performing the early-boot memory tests when we detect we
>  are booting inside a VM.  There are three reasons to disable this:
> 
>  o  It causes the VM host to believe that all the tested pages or RAM are
>     in use.  This in turn may force the host to page out pages of RAM
>     belonging to other VMs, or otherwise cause problems with fair resource
>     sharing on the VM cluster.
>  o  It adds significant time to the boot process (around 1 second/Gig in
>     testing)

Well for that argument the tunable exists...
 

>  o  It is unnecessary - the host should have already verified that the
>     memory is functional etc.
> 
>  Note that this simply changes the default when in a VM - it can still be
>  overridden using the hw.memtest.tests tunable.
> 

Thanks a lot for committing this!  May I ask for a slightly earlier MFC
than 4 weeks?

/bz

-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!



More information about the svn-src-head mailing list