On Nov 23, 2009, at 12:48 PM, Miles Nordin wrote:
"tc" == Tim Cook <t...@cook.ms> writes:
tc> I believe that opensolaris can do the ECC scrubbing in
tc> software even of the motherboard BIOS doesn't support it.
yeah, I don't really understand how the solaris idle page scrubbing
interacts with whatever.
It has been a while since I looked, but it can be as simple as
just reading everything in a loop. The trick is that some processors
(e.g. modern SPARC) can do non-cache-polluting reads for main
memory, which is what you want to do for a scrub. Each proc can
be a little different, but the general algorithm is described in
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/sun4u/os/memscrub.c
Page retire is intimately related, and has a decent description in
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/vm/page_retire.c
-- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss