Archive

Posts Tagged ‘error’

CPUs also exhibit hardware faults

October 31st, 2009 Derek-Jones No comments

The cpu is the one element of a computing platform that people rarely treat as a source of error caused by physically malfunction, i.e., randomly flipping a bit in a register or instruction pipeline. I once worked on a compiler for the Mototola 88000 using a test platform that contained alpha silicon (i.e., not yet saleable components where some of the instructions were known not to work; the generated assembler code was piped through a sed script that mapped these instructions into an alternative instruction sequence that did work) and the cpus in a few of the hardware updates turned out to be temperature sensitive; some of the instructions changed their behavior when they got too hot. People who write compilers using alpha silicon learn to expect this sort of thing.

Quite a bit has been published on faults in other hardware components. Some of the best recent empirical hardware fault data and analysis I have seen is that published by Google engineers on hard disc and dram memory fault occurrences in their server farms. They might have a problem publishing such results for the cpus they use because these commodity items generally don’t have the ability to report any detailed fault data, they just die or one of the programs being executed crashes.

As device fabrication continues to shrink erroneous behavior caused by cosmic ray impact will become more and more common. Housing a computer farm at a high altitude might not be a good idea (at 7500 ft cosmic ray-induced neutrons that can lead to soft errors are 6.4 times more common than at sea level).

IBM’s Power4 chip (”Power4 System Design for High Reliability” by Bossen, Tendler and Reick) is one of the few that provides error checking of cache contents, while IBM’s System z9 is one of the very few that provide parity checking on the cpu registers (”Enhanced I/O subsystem recovery and availability on the IBM System z9″ by Oakes et al).

One solution to the problem of unreliable cpu behavior is for the compiler to insert consistency checks into the generated code. Two such checking methods are:

  • ‘Signature Analysis’ which performs consistency checks between signatures calculated at compile time and runtime. A signature is associated with every basic block with the current signature being derived from the execution history. This technique can detect spurious changes to the flow of control caused by a hardware glitch.
  • ‘Error Detection by Duplicated Instructions’ generates code which duplicates the behavior of some instruction sequence and compares the result calculated by both sequences, i.e., a source language construct is executed twice and an error raised if the results are different. The parallel instruction sequences use different sets of registers on the same cpu and ideally the instructions are scheduled to exploit instruction level parallelism

At the moment cosmic-ray induced hardware faults are probably very small change compared to faults in the code. Will code quality increase to the point where cosmic-ray faults become an issue or will devices get so small that they have to be lead lined to prevent background radiation corrupting them? Let the race begin.

Monte Carlo arithmetic operations

December 5th, 2008 Derek-Jones No comments

Working out whether software based calculations involving floating-point values delivers a sensible answer requires lots of mathematical sophistication and in practice is often impractical or intractable. The vast majority of developers make no effort, indeed most don’t even know why the effort is needed. Various ‘end-user’ solutions have been proposed, e.g., interval arithmetic.

One interesting solution is to perturb the result of floating-point operations and measure the effect on the final answer. Any calculation that is sensitive to small random changes in the result of an operation (there is randomness present in any operation that operates on values that can only be represented to a finite precision) will produce answers that depend on the direction and magnitude of the perturbation. Comparing the answers from several program executions provides a measure of one kind of error present in the calculation.

Monte Carlo arithmetic is a proposed extension of floating-point arithmetic that operates by randomly selecting how round-off errors occur (the proposer provides sample code).

With computing power continuing to increase, running a program several times is often a viable option (we don’t all number crunch for cpu days). Most of the transistors on a modern CPU chip are devoted to memory cache, using a few of these to support Monte Carlo arithmetic instructions is entirely practical. Perhaps when vendors get over supporting the base-10 radix required by the latest IEEE 754R standard and are looking for something new to attract customers they will provide a mechanism that makes it practical to obtain estimates of some of the error in floating-point calculations.

www.wenn.com
FireStats icon Powered by FireStatswww.tinynibbles.com cialis overnight delivery

cialis 20 mg

cialis 5 mg

canadian pharmacies cialis

generic cialis next day shipping

cialis soft pills

cialis 5 mg italia

buy propecia online prescription

levitra where to buy

cialis cheap us pharmacy

lowest propecia prices

canadian pharmacy cialis

i need to buy propecia

cost of propecia

levitra now online

5 mg original brand cialis

cheap viagra from uk

order cheapest propecia online

buy now propecia

cheap cialis

cialis no prescription

canada meds viagra

generic propecia effective

cheap levitra prescription

lowest priced propecia

cheap prescription propecia

cheap propecia 5mg

cialis daily dosage pharmacy

order prescription propecia

generic levitra online

lowest cost levitra

cialis and ketoconazole

buying cialis next day delivery

generic viagra made in usa

buy propecia canada

cialis online

order viagra or levitra

order generic levitra

levitra online prescription

online propecia uk

get cialis

online propecia prescription

buy propecia now

levitra in canada

canadian viagra and healthcare

cialis by mail

cheap cialis soft

cialis next day

cialis cheap

next day delivery cialis

generic propecia online pharmacy

generic viagra made in india

getting cialis from canada

bestellen levitra online

buy viagra china

buy fast propecia

online cialis

cheap viagra online

cheap levitra tablets

drug generic propecia

get levitra

buy cialis cannada

buy cialis canada

discount levitra purchase

cialis overnight

cialis uk

buy cialis fedex shipping

canada online pharmacy levitra

online generic cialis 100 mg

cialis en mexico

online levitra

cialis tablets

canada online pharmacy propecia

cialis for woman

indian cialis

buying generic propecia

does generic cialis work

buy viagra germany canadian meds

buy viagra mexico

best price levitra

buy cheap generic propecia

cialis one a day

cialis prescription

levitra order prescription

generic propecia for sale

canada viagra generic

levitra sales uk

buying viagra in canada

natural viagra

cialis buy overnight

canada viagra

order cheap levitra

cheap propecia no prescription

how to get viagra

buy levitra us

discount us propecia

levitra discount

buy viagra on line

cialis 100 mg

lowest price for propecia

best price for generic cialis

levitra prescription

lowest propecia prices in canada

how strong is 5 mg of cialis

cost levitra low

buy cialis usa

generic propecia sale

cheap propecia uk

canadian propecia rx

levitra cost

buy levitra vardenafil

buy real cialis

buy cialis online uk

buying online propecia

canadian viagra 50mg

buy cialis for daily use

levitra pill

cialis strenght mg

levitra online no prescription

buy canada levitra

cialis daily in canada

cheap levitra

cialis woman

cialis dosage mg

cheap levitra without prescription

discount generic propecia

cheapest overnight cialis

cheapest propecia uk

lowest price propecia best

levitra for sale

discount drug propecia

cheapest viagra online

cialis delivered overnight

get levitra online

genuine cialis pills

discount levitra rx

low cost propecia

brand name cialis overnight

buying cialis soft tabs 100 mg

daily dosage cialis

levitra online sales

levitra buy online

levitra mg

buy cialis once daily

buy levitra uk

levitra low price

buy propecia where

buying cialis

overnight delivery cialis

online cheap viagra

next day viagra

buy discount viagra

buy levitra overnight

cialis fast delivery

cheap propecia online prescription

cialis fast delivery usa

cialis price

cialis 5 mg buy

mail order levitra

generic propecia alternative

generic viagra canadian

mail order propecia

buy propecia in the uk

cialis pharmacy

cialis 100 mg generic

obtain viagra without prescription

generic viagra canada

discount levitra online

best viagra

online pharmacy propecia viagra

cheap levitra uk

buy generic viagra india rx

cialis professional 100 mg

online ordering propecia

cialis discount

canadian pharmacy viagra

buy cheap levitra online

once daily cialis

cialis professional no prescription

cialis next day delivery

get cialis online

online pharmacy propecia renova

brand name cialis

order propecia

generic propecia fda approved

discount propecia propecia

levitra canadian

generic cialis soft tabs

buy propecia prescriptions online

generic propecia finasteride

brand cialis for sale

female viagra pills

best price for propecia

herbal propecia

cialis generic 100 mg

generic viagra india

buy generic cialis

buy real viagra online

levitra in india

canadian healthcare

combine cialis and levitra

buying propecia online

for sale levitra

cheap viagra canada or india

levitra from canadian pharmacy

cheapest viagra usa

lowest price levitra

internet pharmacy propecia

best way to use cialis

ordering propecia online

cialis 50 mg

buy 5 mg cialis

buy propecia on line

levitra online overnight delivery

low cost levitra

buy viagra online

levitra online us

buy viagra

generic viagra 100 mg

buy cialis without prescription

generic levitra overnight delivery

canadian drugs propecia

low cost canadian viagra

buying propecia

canadian viagra india

cheapest price propecia cheap

buy branded viagra

how much cialis

cheap order prescription propecia

indian cialis generic

levitra 10mg

buy cheapest propecia

levitra online

cialis from canada

levitra next day delivery

cialis profesional

canadian pharmacy

name brand cialis

online propecia prescriptions

best price generic propecia

how much is viagra

levitra viagra online

cheapest viagra

buy propecia online pharmacy

generic cialis sale

cialis and diarrhea

cost of viagra

cialis to buy

5 mg daily cialis

cheap propecia online

buy propecia generic

lowest propecia 1 mg

hydrochlorothiazide cialis

cialis and canada custom

overnight delivery viagra

buy cialis in usa

canada viagra pharmacies scam

buy prescription propecia without

generic cialis from india

cialis discounts

cheap discount levitra

levitra viagra cialis

cialis alternative

50 mg cialis

best price propecia

canadian pharmacy discount code viagra

cialis tablets foreign

order cheap propecia

levitra cheap fast

buy levitra online viagra

buy generic levitra

indian generic levitra

how to get cialis in canada

brand viagra professional

gele viagra

order levitra online

buy can from i propecia who

fda levitra

cialis from mexico

buy cheap levitra

generic levitra vardenafil

levitra tabs

cialis professional 20 mg

low price levitra

generic levitra cheap

mexico pharmacy cialis

once a day viagra

canada levitra

mexico levitra

cialis headaches

buy propecia cheap

info levitra

brand viagra over the net

generic levitra canada

ganeric cialis

get propecia online pharmacy

canada cheap propecia

cialis daily

buying levitra online

buy propecia online