News for hackers. Stuff that matters.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by belter on Wednesday April 07, 2021 @10:42AM (#26725626)
They have to do two things :-)

1) Use ECC memory

2) Go underground

"One experiment measured the soft error rate at the sea level to be 5,950 failures in time (FIT = failures per billion hours) per DRAM chip. When the same test setup was moved to an underground vault, shielded by over 50 feet (15 m) of rock that effectively eliminated all cosmic rays, zero soft errors were recorded.[6] In this test, all other causes of soft errors are too small to be measured, compared to the error rate caused by cosmic rays."

"Soft Errors" https://en.wikipedia.org/wiki/Soft_error#Cosmic_rays_creatin...

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by kevin_nisbet on Wednesday April 07, 2021 @11:13AM (#26726082)
> 1) Use ECC memory

Not exactly. When I was in telco, where I had this problem was in FPGA's, we had all ECC memory and I never linked any problems to bit flips in RAM. But as I remember, the FPGA's we had were using a type of SRAM cell, but because it's not a memory module the FPGA programming could bit flip. So the product had a checksum function, that read back the program on a cycle and reset itself if the program no longer matched the checksum. So we would see 1-2 crashes / restarts per week in our FPGAs that we believe were bit flips.

We then ran an anlysis on any of these that higher than expected error rates to try and identify actually bad hardware and replace them.

I think the vendor eventually came up with a way to reprogram the FPGA without just crashing and rebooting the entire board.

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by roamingryan on Wednesday April 07, 2021 @01:55PM (#26728399)
Many modern FPGAs now include dedicated logic for config SRAM "scrubbing." This logic continuously checks config frame checksums to identify upsets. These can then be fixed in real-time either using the error correction properties of the checksum technique, or from the non-volatile config memory (typically NOR flash). It's also important to note that only a subset of the SRAM config bits are critical for a given application. Usually this is a small percentage of the overall array.

https://www.xilinx.com/support/documentation/application_not...

If even higher levels of reliability are needed, there are rad-hard-by-design FPGA families (e.g. Xilinx Virtex 5QV). These have a special config SRAM cell that has more charge storage sites than a conventional SRAM cell. It is less area efficient than a conventional SRAM cell, but geometry of the charge storage sites ensures that a single cosmic ray can't flip the state of a majority of them. Essentially the cell can self-correct, no scrubbing required.

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by belter on Wednesday April 07, 2021 @12:26PM (#26727179)
Interesting and makes sense. Do you have any additional references you would suggest and particularly in the context of FPGAs ?

Would you say this quick reference is a good overview ? https://www.intel.com/content/dam/www/programmable/us/en/pdf...

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by kevin_nisbet on Wednesday April 07, 2021 @01:23PM (#26727919)
Sorry, I should have mentioned this was quite a few years ago, so I'm very out of date. So I don't have any known good references that are handy. That link you shared seems pretty good on a quick scan through and inline with what I remember, I'm pretty sure I dug up similar resources for other vendors, including one I think was looking at satellite hardware.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by viraptor on Wednesday April 07, 2021 @12:01PM (#26726834)
Compaq/HP handled this with many redundant resources / cores: https://en.wikipedia.org/wiki/Tandem_Computers
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by tyingq on Wednesday April 07, 2021 @11:07AM (#26726011)
Polyethylene is supposedly good at blocking cosmic rays. It would be funny to me if the fix was just a drop ceiling full of old grocery bags.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by robbmorganf on Wednesday April 07, 2021 @11:20AM (#26726189)
Have a source? That seems like an awesome way to recycle grocery bags.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by supernova87a on Wednesday April 07, 2021 @01:11PM (#26727759)
Water is also a good protector. And the polyethylene is actually a proxy for "hydrogen atoms". The reason is that dense hydrogen has a lot of protons to interact with the incoming radiation.

But unfortunately plastic bags are not dense polyethylene. You would kind of need full blocks of solid polyethylene...

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by teachtwolearn on Wednesday April 07, 2021 @04:41PM (#26730945)
You can make solid polyethylene out of plastic bags by pressing them in a mold heated to ~100-150C.

But it's quite flammable, so you might not want to use it as a building material.

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by tyingq on Wednesday April 07, 2021 @11:31AM (#26726342)
The peer comment posted a source that has lots of references.

Though most of them are tests in space, where I assume the thickness requirements would rule out grocery bags. I am curious how thick a layer of HDPE you would need on earth to make any notable difference.

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by ortusdux on Wednesday April 07, 2021 @12:33PM (#26727264)
That linked nature paper seems to indicate 10g/cm^2 for a 50% reduction. A standard shopping bag is about 5g, so you would need roughly 20k bags/m^2, or ~2k bags/ft^2. At 0.9g/cm^3, that would be roughly 11cm of solid polyethylene
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by robbmorganf on Saturday April 17, 2021 @12:13AM (#26841528)
I just squished a plastic bag as much as I could, and got it down to an inch cubed. So if I hypothetically did that for 2000 bags in 1ft^2 (sorry for English units), I think that would mean it could be 13-14in thick. So maybe it is reasonable to attenuate radiation by about 50% in a rather generous drop ceiling?
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by tyingq on Wednesday April 07, 2021 @04:57PM (#26731141)
Ah, so bags are out, as is practically the ceiling. But cut sheet HDPE is easy to find, so tiles atop your machine would be relatively cheap and easy.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by pezezin on Thursday April 08, 2021 @04:48AM (#26736526)
I work for a particle accelerator, and I can confirm you that our beam dump uses polyethylene for neutron shielding: https://www.sciencedirect.com/science/article/pii/S092037961...
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by 1-6 on Wednesday April 07, 2021 @11:22AM (#26726221)
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by wyldfire on Wednesday April 07, 2021 @11:48AM (#26726630)
Doesn't sound like that solution is plenum-rated.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by 1-6 on Wednesday April 07, 2021 @11:22AM (#26726217)
Nice, I'm going to line the rooftops with Tyvek now.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by raisedbyninjas on Wednesday April 07, 2021 @12:29PM (#26727214)
5950 failures per billion hours is approximately equal to 1 failure every 19 years.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by nightcracker on Wednesday April 07, 2021 @12:33PM (#26727263)
And if you have a datacenter with 200 machines, that's roughly once a month.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by lights0123 on Wednesday April 07, 2021 @08:09PM (#26733314)
Each machine is going to have way more than 1 DRAM chip. A 128GB DDR4 stick is going to have ~20 chips on one side (not sure if they're double sided, just looking at product listing), and you're going to have terabytes of RAM per machine.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by contravariant on Wednesday April 07, 2021 @10:45AM (#26725681)
That's a bit more than just 'go underground'. I've seen people dig for cables but I've never seen them dig a hole 15m deep.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by ourcat on Wednesday April 07, 2021 @11:19AM (#26726182)
A 'Faraday Cage' should also help.

edit: No idea why the downvotes. Faraday cages have long been thought of as a way to protect electrical devices from the electromagnetic waves which can be a result of solar flares.

I even chatted to someone from NASA’s Solar Dynamics Observatory about it in the past.

Re:Cosmic rays causing 30k network malfunctions in Japan eac... by titzer on Wednesday April 07, 2021 @03:13PM (#26729631)
Cosmic rays are not electromagnetic waves. They are highly energetic particles, like protons and naked helium nuclei.
Re:Cosmic rays causing 30k network malfunctions in Japan eac... by belter on Wednesday April 07, 2021 @12:44PM (#26727428)
Because a Faraday Cage would make it worst not better:

https://www.reddit.com/r/askscience/comments/1fsiv9/how_effe...