Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > New MS Ram diagnostic tool..

Reply
Thread Tools

New MS Ram diagnostic tool..

 
 
Jay
Guest
Posts: n/a
 
      08-05-2003
Robert Mathews wrote:

> On Tue, 05 Aug 2003 18:39:40 +1000, Jay <> wrote:
>
>>Nicholas Sherlock wrote:
>>
>>> "Jay" <> wrote in message
>>> news:bgmn7b$qu8r9$...
>>>> Nicholas Sherlock wrote:
>>>> > They run from a bootdisk or cd and only use about 50kb of memory. The
>>>> > chances of a fault being in the first little bit are pretty slim. If
>>>> > it doesn't work, then you know that your memory is ****ed anyway so
>>>> > it has done it's job .
>>>>
>>>> But what if it appears to work? How do you tell if it doesn't work?
>>>> Does the program pop up a dialog saying "I am not working properly"?
>>>>
>>>
>>> If it isn't working properly, it'll collapse in a screaming, twitching,
>>> quivering heap. You can't mix up CPU instructions and continue executing
>>> as if nothing is wrong.

>>
>>Yes you can. A "bne" can become a "beq" and the program will
>>just take a different logic path. That is, you'll get the wrong answer
>>but the program will work.
>>
>>You are quite wrong.

>
>
>
> No You bloody are, go back to your PS2 as PC's are way out of you depth.


No you are bloody stupid and wrong.
You probably don't have any brains either.
Maybe you should be getting yourself a brain testing program.
But don't bother reading the results with your defective brain.

An Intel opcode of, say, 0x72 (jc) could become 0x73 (jnc) with just a
single bit error. That would most probably not result in a spectacular
failure at all. The program could appear to be working properly.

In fact, it might just result in the program *not* reporting an error.
Or the program might just skip a test loop.

 
Reply With Quote
 
 
 
 
Jay
Guest
Posts: n/a
 
      08-05-2003
Ben Perston wrote:

> Jay wrote:
>> Ben Perston wrote:

>
>>>What do you get if you calculate the probability of this diagnostic
>>>(taking 50k of memory) failing to spot an error on say a system with 256
>>>MB? I.e. that the dodgy bit will be used by the programme and that it
>>>will cause this specific scenario?

>>
>>
>> A probability greater than zero.

>
> Any idea of its magnitude?
>
> Other events with probabilities greater than zero include the failure of
> an otherwise perfect memory tester due to cosmic ray strike, after all...


It depends on the RAM failure rate.
What is the RAM failure rate?
If it is 'r' bits per second then the probability for a 100k program in 32MB
memory running for t seconds would be r * t * 0.1/32 wouldn't it?

Can't you figure that out?
Or is multiplication a bit too difficult for you?


 
Reply With Quote
 
 
 
 
Ben Perston
Guest
Posts: n/a
 
      08-06-2003
Jay wrote:
> Ben Perston wrote:
>
>
>>Jay wrote:
>>
>>>Ben Perston wrote:

>>
>>>>What do you get if you calculate the probability of this diagnostic
>>>>(taking 50k of memory) failing to spot an error on say a system with 256
>>>>MB? I.e. that the dodgy bit will be used by the programme and that it
>>>>will cause this specific scenario?
>>>
>>>
>>>A probability greater than zero.

>>
>>Any idea of its magnitude?
>>
>>Other events with probabilities greater than zero include the failure of
>>an otherwise perfect memory tester due to cosmic ray strike, after all...

>
>
> It depends on the RAM failure rate.
> What is the RAM failure rate?


Well, what makes RAM fail? I don't know very much about how RAM works.
Does a faulty RAM module usually have some bits that have a much
higher probability than the rest of failing, or just an overall
probability for any event to go wrong that's high enough to be observed?
If the former I think your problem must be irrelevant...

> If it is 'r' bits per second then the probability for a 100k program in 32MB
> memory running for t seconds would be r * t * 0.1/32 wouldn't it?


Well, 0.098... /32, but you're close enough. You have missed the
proportion of errors that don't cause the programme to fail in the
manner Nicholas described as another factor. Any idea what that would be?

> Can't you figure that out?
> Or is multiplication a bit too difficult for you?


I was just wondering if you could produce any estimates based on a
decent understanding of how RAM works as to whether the problem you're
talking about is genuine or something that would not be observed in any
practical experiment.

 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      08-06-2003
Ben Perston wrote:

> Jay wrote:
>> Ben Perston wrote:
>>
>>
>>>Jay wrote:
>>>
>>>>Ben Perston wrote:
>>>
>>>>>What do you get if you calculate the probability of this diagnostic
>>>>>(taking 50k of memory) failing to spot an error on say a system with
>>>>>256
>>>>>MB? I.e. that the dodgy bit will be used by the programme and that it
>>>>>will cause this specific scenario?
>>>>
>>>>
>>>>A probability greater than zero.
>>>
>>>Any idea of its magnitude?
>>>
>>>Other events with probabilities greater than zero include the failure of
>>>an otherwise perfect memory tester due to cosmic ray strike, after all...

>>
>>
>> It depends on the RAM failure rate.
>> What is the RAM failure rate?

>
> Well, what makes RAM fail? I don't know very much about how RAM works.
> Does a faulty RAM module usually have some bits that have a much
> higher probability than the rest of failing, or just an overall
> probability for any event to go wrong that's high enough to be observed?
> If the former I think your problem must be irrelevant...


Single bit errors are the most common.

>
>> If it is 'r' bits per second then the probability for a 100k program in
>> 32MB memory running for t seconds would be r * t * 0.1/32 wouldn't it?

>
> Well, 0.098... /32, but you're close enough. You have missed the
> proportion of errors that don't cause the programme to fail in the
> manner Nicholas described as another factor. Any idea what that would be?


Simple branch instructions are one of the most common.
I would estimate they amount to about 7% of all instructions
in a typical program. They might be short (2 byte) or longer.
So another factor of, say 0.07.
Are they relatively innocuous? Well the program usually expects
the branch to be taken or not taken (that is why it is a conditional
branch). To a "jc" changing into a "jnz" or even a "jo" might
be relatively harmless.

BTW my factor 0.1/32 isn't quite right because for each opcode there
are a number of 1-bit different opcodes that are similar.
Most others will probably result in a bad opcode fault because either
the mutated opcode has a different length (so following opcode is garbage)
or the opcode itself is garbage.

>> Can't you figure that out?
>> Or is multiplication a bit too difficult for you?

>
> I was just wondering if you could produce any estimates based on a
> decent understanding of how RAM works as to whether the problem you're
> talking about is genuine or something that would not be observed in any
> practical experiment.


Because there is a large number of quite different opcodes it would
take some effort to work it out. But whether a mutation into a different
opcode is relatively benign (superficially) is more difficult
to estimate.

Anyhow, the best memory testing uses known good ram or rom.

Unfortunately the best memory tests do not generate the inductive fields
and sudden dc supply surges that peripherals that are connected to
you computer can produce (including hard disks, monitors etc). Not to
mention mains earth loop effects, stray electromagnetic fields, etc.

The best way to test memory is to swap it.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW RAM V OLD RAM Allan Birnbaum Ditlevsen Computer Information 2 06-07-2004 01:50 PM
New Model Diagnostic Card - Worth to take a look Winter_Kwong Computer Information 0 10-11-2003 07:59 PM
Re: New Model Diagnostic Card - Worth to take a look Winter_Kwong Computer Information 0 10-03-2003 04:02 PM
New Model Diagnostic Card - Worth to take a look Winter_Kwong Computer Information 0 09-27-2003 05:59 AM
New Model Diagnostic Card - Worth to take a look Winter_Kwong Computer Information 0 09-22-2003 07:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57