Re: Phoronix article slaming BTRFS

Chris Mason
2009-06-23T16:30:10Z

On Tue, Jun 23, 2009 at 06:19:35PM +0200, Stephan von Krawczynski wrote:
> On Tue, 23 Jun 2009 10:41:23 -0400
> Chris Mason <chris.mason@oracle.com> wrote:
>
> > On Tue, Jun 23, 2009 at 02:51:41AM +0000, Mike Ramsey wrote:
> > > I ran across this article "Testing Out The SSD Mode In Btrfs".
> > > http://www.phoronix.com/scan.php?page=article&item=btrfs_ssd_mode&num=1
> > >
> > > At first I was disappointed. It gave a very disappointing set of benchmarks.
> > > However, a close reading revealed this:
> > >
> > > "With the OCZ Vertex SATA 2.0 SSD, which we used for this testing today, had its
> > > write caching always enabled. When attempting to disable the write cache through
> > > hdparm it would remain enabled regardless and when using sdparm it would report
> > > change_mode_page: failed setting page: Caching (SBC)."
> > >
> > > This invalidates the benchmark! Disabling the write cache would yield a 2X
> > > improvement.
> >
> > Hmmm, I'm not sure I follow. I'm guessing the write cache is critical
> > on the vertex drives because they are using it to queue up writes into
> > large enough units to fill an entire erasure block at once. If they
> > took the time to put 64MB of the stuff in there, it probably does
> > something good ;)
> >
> > Jens Axboe tried to reproduce the phoronix results on his ocz drive, and
> > generally found that each run was slower than the last regardless of
> > which mount options were used. This isn't entirely surprising, but it
> > did make it very difficult to nail down good or bad performance.
> >
> > -chris
>
> Can someone explain to a quite naive person like me why one should be
> interested in SSDs that perform worse than Intel? Why shouldn't I just buy the
> best-performing product? This is a moving market, and it is obvious that the
> bad performers will be left behind...

Fast, reliable, cheap, pick any two? If the filesystem has enough
smarts to write more efficiently to the SSD, you may even get to pick
all three (depending on how fast you really need).

But, it is clear the vertex firmware is still being shaken out. Take a
look at Jens Axboe's blog for some fun details.

http://axboe.livejournal.com/

-chris