News for hackers. Stuff that matters.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by jaidan on Thursday February 17, 2022 @06:12AM (#30371859)
16ms is just longer than one AC cycle at 60Hz and less than one AC cycle at 50Hz.

I would has a guess that 16ms is the physical limit for most consumer hardware (and maybe commercial computing) to detect mains loss.

Of course there is industrial hardware that can detect quicker than this but it would add a LOT of cost for arguably little gain, or something that could be solved in another manner.

Re:Apple's custom NVMes are amazingly fast – if you don't ca... by dale_glass on Thursday February 17, 2022 @07:55AM (#30372543)
> I would has a guess that 16ms is the physical limit for most consumer hardware (and maybe commercial computing) to detect mains loss.

Doubtful. 16ms is an awfully long time these days. There's no reason why you couldn't detect power loss much sooner, given a good input signal. The concept also gets used quite often, in the form of SSRs with zero crossing detection. Those are used for dimmers.

The reason is likely related to the awful waveforms produced by some UPSes and inverters:

https://www.christidis.info/images/blog/scope_20.png

Unlike a nice sine wave, those spend a good while hovering near zero volts, so the PSU has to be able to tolerate that. Detecting loss of power sooner in this case isn't a question of cost, it's a question of that you don't have a good signal to do the detection on to start with.

Re:Apple's custom NVMes are amazingly fast – if you don't ca... by mschuster91 on Thursday February 17, 2022 @11:03AM (#30374559)
> Unlike a nice sine wave, those spend a good while hovering near zero volts, so the PSU has to be able to tolerate that.

That wave chart was atrocious. I wonder if the extra load on the DC-side caps leads to them having lower life expectancy than the ones in a PSU attached to a proper power grid?