[ECOS] why scrub memory?

Mark Salter msalter@redhat.com
Fri Jun 20 19:38:00 GMT 2003


>>>>> Aaron Richardson writes:

> I see on several platforms (including the one that I am working on) that 
> memory scrubbing is occuring.  Why is this done and can I remove it?  I am 
> tired of waiting the time for this occur.  I have 256 MB of memory right now, 
> but plan on having much more in the future.

When the ECC memory is first powered on, it must be written to
before it is read. This syncs the ECC code bits with the data
bits. The simplest approach is taken and all of memory is
scrubbed before any is used. If the application that RedBoot
boots (or the standalone eCos app) is not going to muck with
the MMU, then the HAL could be enhanced to defer scrubbing a
given memory page until that page is first touched. But only
if that's not a performance problem for the app.

--Mark





-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list