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 levitra in india

levitra where to buy

indian viagra

how much to buy viagra in pounds

canadian healthcare pharmacy

canada viagra

cialis tablets foreign

cialis on women

cialis discount

buy propecia in the uk

fda levitra

buy dosages levitra

buying generic propecia

cialis professional 20 mg

generic levitra vardenafil

cheap viagra from uk

buy cialis online canada

canadian viagra 50mg

how much does cialis cost

cheapest propecia uk

buy propecia cheap

cost of propecia

cialis overnight delivery

obtain viagra without prescription

cialis discounts

generic levitra online

online propecia prescription

buy cheapest propecia

cialis 50 mg

cheap canadian viagra

buying propecia online

buy propecia generic

levitra next day delivery

cheapest propecia sale uk

drug generic propecia

generic viagra online

once a day viagra

cialis and ketoconazole

buy viagra germany canadian meds

buy viagra china

buy viagra

cialis 5 mg italia

buying cialis soft tabs 100 mg

get cialis

cialis price 100 mg

buy viagra online

levitra viagra online

best price for generic cialis

order cheapest propecia online

cialis overnight

cialis 100 mg

levitra buy online

how much cialis

cialis buy overnight

get propecia online pharmacy

cialis pharmacy

can i get viagra in mexico

cialis transdermal

low cost levitra

get levitra

discount levitra purchase

canadian pharmacy discount code viagra

buy cialis canada

online cheap viagra

generic viagra canada

canadian online pharmacy cialis

cialis generic 100 mg

cheap viagra online

best price cialis

levitra viagra cialis

canadian drugs propecia

buy can from i propecia who

buy cialis once daily

best price generic propecia

levitra cost

once daily cialis

cheapest prices for viagra

low price levitra

generic viagra 100 mg

cialis cheap

canada meds viagra

buy 5 mg cialis

overnight delivery viagra

cialis strenght mg

levitra online us

cialis professional 100 mg

get cialis online

getting cialis from canada

canadian viagra and healthcare

levitra mail order

generic cialis next day shipping

cheap levitra uk

cheap levitra tablets

canada levitra

cheapest propecia prescription

cheap levitra prescription

cialis for woman

levitra online overnight delivery

for sale levitra

levitra online prescription

buy generic propecia

levitra 10mg

canadian viagra

cheapest viagra usa

cialis en mexico

canada online pharmacy levitra

buy propecia where

combine cialis and levitra

canadian healthcare

cheap propecia online

indian cialis generic

cialis soft pills

cheap propecia no prescription

buying generic cialis mexico rx

levitra cheap fast

levitra from canadian pharmacy

buy viagra online cheap us

cialis refractory

cialis delivered overnight

natural viagra

buy propecia online

cialis 20 mg

buy viagra without prescription

buy real cialis

levitra canadian

online pharmacy propecia renova

name brand cialis

next day viagra

5 mg daily cialis

buy generic cialis

discount drug propecia

levitra now online

cialis daily

cialis fast delivery usa

levitra online

generic cialis from india

cheapest viagra online

generic propecia online pharmacy

buy generic levitra

buy propecia online pharmacy

discount cialis india

cheapest overnight cialis

cost of viagra

mail order levitra

buying viagra in canada

cheap viagra canada or india

low cost propecia

generic propecia effective

how to buy cialis in canada

lowest propecia 1 mg

buy cialis usa

ordering propecia online

cialis 5 mg buy

levitra online sales

buying online propecia

buy cheap generic propecia

levitra order prescription

levitra tabs

cheap prescription propecia

mail online order propecia

cialis headaches

canadian pharmacy

levitra low price

buy propecia on line

cialis dosage mg

generic viagra canadian

cialis from mexico

generic propecia finasteride

buying levitra online

best way to use cialis

lowest price propecia best

levitra prescription

cialis and diarrhea

herbal propecia

overnight delivery cialis

buy cheap levitra online

lowest propecia prices in canada

generic levitra cheap

generic propecia alternative

buy cialis fedex shipping

china viagra

lowest price propecia

hydrochlorothiazide cialis

how much is viagra

online viagra gel to buy

buy fast propecia

buy viagra on line

discount propecia rx

canada propecia prescription

generic cialis sale

how to get viagra

levitra discount

generic propecia 5mg

order generic levitra

canada generic propecia

bio viagra herbal

online propecia uk

canada viagra pharmacies scam

i need to buy propecia

cheap discount levitra

canada cheap propecia

mexico pharmacy cialis

discount propecia online

cialis by mail

cialis one a day

cialis next day delivery

discount levitra rx

discount levitra online

cialis purchase

best price propecia

generic cialis soft tabs

cialis tablets

healthcare canadian pharmacy

buying propecia

cheap propecia uk

buy cialis 5 mg

brand viagra professional

cialis profesional

50 mg cialis

discount us propecia

cost of daily cialis

lowest cost levitra

cheap fast levitra

brand name cialis

lowest price on non generic levitra

lowest propecia prices

cialis 100 mg generic

lowest price levitra

buy levitra online from canada

cialis in mexico

cialis vs levitra

buy propecia online prescription

next day delivery cialis

discount generic propecia

ordering cialis gel

gele viagra

buy cheap generic levitra

internet pharmacy propecia

generic viagra made in india

buy real viagra online

cialis price in canada

how to get cialis in canada

order propecia

levitra pill

mexico levitra

cheap levitra

generic propecia sale

canadian pharmacy viagra

cialis professional no prescription

canadian healthcare viagra

cost levitra low

cheap cialis

buy cialis cannada

cialis price

cialis online

buy cialis online uk

buy discount viagra

cialis prescription

buy levitra online no prescription

order cheap levitra

low cost canadian viagra

levitra for sale

levitra sales uk

buy levitra us

indian generic levitra

does generic cialis work

generic viagra made in usa

cialis alternative

generic viagra india

cialis woman

indian cialis

cheap propecia online prescription

buy propecia now

cialis daily in canada

cialis 5 mg

canadian pharmacy cialis

cialis from canada

genuine cialis pills

best price levitra

buy cialis in usa

how strong is 5 mg of cialis

buy levitra vardenafil

ganeric cialis

cialis next day

buy online prescription propecia

brand name cialis overnight

online ordering propecia

cialis and canada custom

canadian viagra india

best viagra

buy now propecia

buy viagra mexico

generic propecia fda approved

cheap order prescription propecia

lowest priced propecia

brand cialis for sale

cheapest viagra

brand viagra over the net

get levitra online

buy propecia prescriptions online