3 ms·
Keeping the disks alive is certainly doable. At a rough estimate of 10W per drive, even storage servers would only need very moderate batteries. But what would
by wongarsu 9y ago
Keeping the disks alive is certainly doable. At a rough estimate of 10W per drive, even storage servers would only need very moderate batteries. But what would you gain by that?
More interesting (in my eyes) would be to power down spinning disks and processors, but keep caches and ram alive. Then once power is restored, you could basically supply power and continue where you left off, without any reboots etc.
Then again, power loss should be fairly infrequent, and you have to architect against connection cuts or physical disruptions anyway.
- StillBored 9y agoCongratulations, you just invented the ACPI S3 power state. Also known as standby or suspend to ram. I've been pretty happy with it since ~1998 when I started returning hardware that didn't support it properly. Although these days even linux on a laptop tends to work properly with S3 and S4 (hibernate, or suspend to disk). That said the concept was also part of the earlier APM standard which was a lot more hit/miss. Anyway, its great, I used it today to ride out a nearly hour long power outage with a couple of fairly trivial UPSs connected to my NAS, desktop, etc. The desktop was already in standby because that is its default state after being idle for 30 mins. But the NAS went into that mode when the UPS indicated 70% battery life. The problem of course is that UPSs/etc have miserable power conversion efficiencies when supplying just a couple watts of power, like 10-30% efficiency, so they tend to have max run-times less than 2 hours even when completely unloaded. More on point, for servers, if your server is lightly loaded, or loaded for only parts of the day, using WOL to wake it and going into standby after a few minutes can save a fair amount of power. With SSDs, the resume times are generally less than a second unless you have bad cards/drivers that take forever to reinit.