Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 12:36:52 -0600
From:      "James R. Van Artsdalen" <james-freebsd-current@jrv.org>
To:        Allan Jude <freebsd@allanjude.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Slow boot with 256GB of RAM?
Message-ID:  <5287BB44.4020104@jrv.org>
In-Reply-To: <528786C9.9070409@allanjude.com>
References:  <5286F670.2050305@jrv.org> <5287071B.3020209@petermann-it.de> <528786C9.9070409@allanjude.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 

It takes less effort to speed it up than to document that it is slow.. 
For now, in my sources, I've lengthened the testing stride to 64KB.

A better fix would leave the cache on (don't fight the cache in a memory
test - it is your friend! :-) and to group all writes and reads
together  in a larger chunk - say 16MB - so as to take advantage of
write combining and cache line fetching.  And add writes of
address-specific values so address space aliasing can be detected.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5287BB44.4020104>