lkml.org 
[lkml]   [1996]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Memory testing program
Date
From
> 
> I have tried this program several times. It has not produced results
> that agree with other memory testers, and I don't trust it. I would

> Paul Matthews
> email: paul@matthews.com

But you can read the source code in memtest! All it does it write a
pattern at specified locations (increasing in linear order) and read it
back. If it is not what it wrote it logs an error. Fin. At the very
worst it's a conservative (i.e. it will miss some faults) test, but it
can't be wrong when it reports an error.

This is the write pattern code:
for (p = start; p < end; p++) {
*p = p1;
}
This is the read pattern code:
for (p = start; p < end; p++) {
if (*p != p1) {
error(p, p1, *p);
}

I don't see how you can claim that it is untrustworthy.
(it is my experience that the DOS memory testers are untrustworthy: run
them against each other on a known faulty machine and see what they say
:')

Sorry to prolong the thread. But memory errors ought to be eliminated
from the discussion of bugs, and advertising a memory tester as simple
as this is one way of doing it.

Peter T. Breuer
,---------------------------------------------------------------------------
|Departamento de Ingenieria de Sistemas Telematicos, Universidad Politecnica
|de Madrid, Escuela Tecnica Superior de Ingenieros de Telecomunicacion,
|Ciudad Universitaria, E--28040 Madrid, SPAIN.
|Tel. Office : +34 (1)336 6831
| Fax : +34 (1)543 2077 or 336 7333
|Internet : <ptb@eng.cam.ac.uk, ptb@comlab.ox.ac.uk, ptb@dit.upm.es>
| URL : http://www.dit.upm.es:80/~ptb/
`---------------------------------------------------------------------------

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.059 / U:2.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site