lkml.org 
[lkml]   [2008]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] Ramback: faster than a speeding bullet
On Fri, Mar 14, 2008 at 11:47:04AM -0400, Ric Wheeler wrote:
> The ingest rate at the time of a power hit makes a huge difference as well
> - basically, pulling the power cord when a box is idle is normally not
> harmful. Try that when you are really pounding on the disks and you will
> see corruptions a plenty without barriers ;-)

Oh, no question. But the fact that it mostly works when the box is
idle means the hard drive firmware is reasonably aggressive about
pushing data from the write cache out to the platters when it can.

> One note - the barrier hit for apps that use fsync() is just half an order
> of magnitude (say 35 files/sec instead of 120 files/sec). If you don't
> fsync() each file, the impact is lower still.
>
> Still expensive, but might be reasonable for home users on a box with
> family photos, etc.

It depends on the workload, obviously. I thought I remember someone
on this thread talking about benchmark where they went from ~2000 to
~20 ops/sec once they added fsync(). I'm sure that was an extreme
benchmarking workload that isn't at all representative of real-life
usage, where you're usually do something else modifying the metadata
of many tiny files over and over again. :-)

It's also the case that a home user's fileserver is generally
quiscent, which is probably why we aren't hearing lots of stories
about home NAS servers (which I bet probably don't enable write
barriers) trashing vast amounts of user data.....

- Ted




\
 
 \ /
  Last update: 2008-03-14 17:53    [W:0.149 / U:20.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site