On Thursday 13 March 2008 00:55, david@xxxxxxx wrote:if you are not measuring the time to get from ram to disk (which you are
not doing in your ramback device) syncs are meaningless.
There was a time when punchcards ruled and everybody was nervous about
storing their data on magnetic media. I remember it well, you may not.
But you are repeating that bit of history, there is a proverb in there
somewhere.
Why am I reminded of old arguments like "if men were meant to fly, God
would have given them wings"? Please just give me your microsecond
scale transaction processing solution and I will be impressed and
grateful. Until then... here is mine. Service with a smile.
if you don't have to worry about unclean shutdowns then your system is not
needed. all you need to do is to create a ramdisk that you populate with
dd at boot time and save to disk with dd at shutdown. problem solved in a
couple lines of shell scripts and no kernel changes needed.
if you want the data to be safe in the face of unclean shutdowns and
crashes, then you need to figure out how to make the image on disk
consistant, and at this point you have basicly said that you don't think
that it's a problem. so we're back to what you can do today with a couple
lines of scripting.
Feel free. You use your script, and somebody with a reliable UPS or
two can use my driver, once it is stabilized of course. Just don't be
in business against them if being a few milliseconds slower on the
uptake means money lost.