Re: [ANNOUNCE] Ramback: faster than a speeding bullet

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Willy Tarreau
Date: Saturday, March 15, 2008 - 11:56 pm

On Sat, Mar 15, 2008 at 07:33:07PM -0800, Daniel Phillips wrote:

What I mean is that in a PC, RAM contents are very fragile :
 - weak batteries in your UPS => end of game
 - loosy power cable between UPS and PC => end of game (BTW I have a customer
   who had such a problem, cables had both disconnected because of their own
   weight).
 - kernel panic => end of game
 - user error during planned maintenance => end of game
 - flaky driver writing to wrong memory location => can't trust your data

In a normal PC, even if the RAM itself is a reliable component (ECC, ...)
a lot of such problems which may happen will render it unusable. If you
have to reboot, your BIOS will clean it up for you. That's why people are
trying to explain to you that linux is not reliable enough to work like
this.

Now if you have all your RAM on a PCI-E board with a battery and which is
not initialized by the BIOS so that it survives reboots, it changes a LOT
of things, because all the problems mentionned above go away. Let me
repeat it, the problem is not that those components are too unreliable
to build a transactional system, it is that used in this manner, a very
simple failure of any of them is enough to lose/corrupt all of your data.
Reason why people insist on ordered writes with regular flushes.


That was not my experience when I was a student. We would buy very cheap
diskettes which were only sold by 100. 20% of them were already defective,
and 20% of the remaining ones could not keep our data till the next morning!
I knew guys who finally stopped copying games due to those diskettes, so
we believed they were sold by game editors :-)


If you have understood what I explained above, now you'll understand that
I'm not underestimating the reliability of my PC, just the fact that keeping
access to my RAM contents involves a lot of components, any of which will
definitely ruin my data in case of failure.


unfortunately, new servers are often USB-only.


I thought this stupidity disappeared about 5 years ago ? I was about to
build PIC-based PS/2 "terminators" to plug into machines to avoid this
problem at that time.


I never spoke about waiting for disk transactions. The RAM must be the
only source and target of user data. Disk is there for permanent storage
and should be written to in the background. YOU proposed the write-through
alternative with your "echo 1". But obviously this voids any advantage of
your work.


Hey thanks, but we're not on freshmeat : "here's version 0.1 of foobar,
right now it does nothing but given a massive amount of contributors it
will replace a datacenter in a matchbox".


Daniel, you must understand that it is not because it suits *your* needs
that your project will get broad adoption. Many people are showing you
what they don't like in it, and it's not even a design problem, it's just
the way data are synchronized. I think that if you spent your time on
your code instead of arguing by mail against each of us, you would have
already got ordered writes working.


"always" is far from being a certitude here. "still" is right though.
Prices are driven by customer demand. And building a 128 GB flash
requires a lot less efforts than a hard drive containing a lot of
fragile mechanics. However, I'm not sure that flash will be as much
resistant to environmental annoyances that we're happy to ignore
today, such as solar winds and cosmic rays. Future will tell.


Tapes are used for long-term archival. You can read a tape 20 years
after having written it. A disk... well, the interface to plug it
does not exist anymore, even the electronics process have changed,
as well as voltage levels. Check in your boxes if you have an old
MFM or RLL disk, and see where you can plug it. Maybe you'll find
an old ISA controller with a corrupted BIOS (too old) or at least
which does not support machines faster than 25 MHz.

Tape vendors will still sell you the tape drive (at an amazing
price BTW).

Willy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 9, 11:46 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Grzegorz Kulewski, (Mon Mar 10, 12:51 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 10, 1:23 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Artur Skawina, (Mon Mar 10, 7:51 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Chris Snook, (Mon Mar 10, 11:49 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Rik van Riel, (Mon Mar 10, 12:01 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Lars Marowsky-Bree, (Mon Mar 10, 2:03 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 10, 8:50 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 10, 9:23 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 10, 9:28 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 10, 10:22 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Tue Mar 11, 4:14 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Lars Marowsky-Bree, (Tue Mar 11, 4:23 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Tue Mar 11, 4:50 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Artur Skawina, (Tue Mar 11, 6:32 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Artur Skawina, (Tue Mar 11, 7:31 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Chris Friesen, (Tue Mar 11, 10:26 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Tue Mar 11, 12:56 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Tue Mar 11, 1:53 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Lars Marowsky-Bree, (Tue Mar 11, 2:56 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Tue Mar 11, 4:02 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Tue Mar 11, 4:30 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 1:17 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, tvrtko.ursulin, (Wed Mar 12, 5:01 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Mike Snitzer, (Wed Mar 12, 7:41 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 10:27 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 10:29 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Chris Friesen, (Wed Mar 12, 11:11 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 3:56 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Wed Mar 12, 10:39 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Wed Mar 12, 10:45 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 11:14 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 11:17 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Wed Mar 12, 11:30 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Wed Mar 12, 11:50 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Thu Mar 13, 12:05 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:12 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:13 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 1:06 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Matthias Schniedermeyer, (Thu Mar 13, 2:15 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 2:16 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 2:49 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Ric Wheeler, (Thu Mar 13, 6:27 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:02 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Ric Wheeler, (Thu Mar 13, 12:12 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:14 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:32 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 12:38 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Thu Mar 13, 12:50 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 1:03 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Rik van Riel, (Thu Mar 13, 1:27 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Rik van Riel, (Thu Mar 13, 1:34 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 7:20 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 7:23 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Thu Mar 13, 10:22 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Thu Mar 13, 10:42 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, John Stoffel, (Fri Mar 14, 7:00 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Jeff Moyer, (Fri Mar 14, 10:53 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Pavel Machek, (Sat Mar 15, 6:32 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Pavel Machek, (Sat Mar 15, 1:18 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 1:22 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Pavel Machek, (Sat Mar 15, 1:26 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Mike Snitzer, (Sat Mar 15, 1:40 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 1:51 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Sat Mar 15, 1:59 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 2:05 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 2:17 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 2:25 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Pavel Machek, (Sat Mar 15, 2:33 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 2:47 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 2:51 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Sat Mar 15, 2:54 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 3:00 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 3:33 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Bernd Eckenfels, (Sat Mar 15, 4:18 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Sat Mar 15, 4:22 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Krzysztof Halasa, (Sat Mar 15, 4:57 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sat Mar 15, 8:33 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Sat Mar 15, 10:24 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Sat Mar 15, 10:42 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Sat Mar 15, 11:56 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Theodore Tso, (Sun Mar 16, 12:04 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 1:48 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 2:57 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Krzysztof Halasa, (Sun Mar 16, 3:02 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Krzysztof Halasa, (Sun Mar 16, 3:12 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Krzysztof Halasa, (Sun Mar 16, 3:15 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 3:36 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 3:38 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Krzysztof Halasa, (Sun Mar 16, 4:08 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 4:39 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 4:43 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Sun Mar 16, 6:31 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 7:42 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 16, 10:52 pm)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Mon Mar 17, 12:14 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 17, 1:16 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Mon Mar 17, 1:25 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Ric Wheeler, (Mon Mar 17, 6:52 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Willy Tarreau, (Mon Mar 17, 10:30 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, David Newall, (Mon Mar 17, 11:56 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Pavel Machek, (Sun Mar 23, 2:33 am)
Re: [ANNOUNCE] Ramback: faster than a speeding bullet, Daniel Phillips, (Sun Mar 23, 1:44 pm)