linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan von Krawczynski <skraw@ithnet.com>
To: Gordan Bobic <gordan@bobich.net>
Cc: <linux-btrfs@vger.kernel.org>
Subject: Re: SSD Optimizations
Date: Thu, 11 Mar 2010 13:59:09 +0100	[thread overview]
Message-ID: <20100311135909.a7acc23e.skraw@ithnet.com> (raw)
In-Reply-To: <ce25fe08b6b07e1993f62f6e34670e52@localhost>

On Thu, 11 Mar 2010 12:17:30 +0000
Gordan Bobic <gordan@bobich.net> wrote:

> On Thu, 11 Mar 2010 12:31:03 +0100, Stephan von Krawczynski
> <skraw@ithnet.com> wrote:
> >> > > >On Wed, Mar 10, 2010 at 11:49 AM, Gordan Bobic <gordan@bobich.net>
> >> > > >wrote:
> >> > > >>Are there options available comparable to ext2/ext3 to help
> reduce
> >> > > >>wear and improve performance?
> >> > 
> >> > With SSDs you don't have to worry about wear.
> >> 
> >> Sorry, but you do have to worry about wear. I was able to destroy a
> >> relatively
> >> new SD card (2007 or early 2008) just by writing on the first 10MiB
> over
> >> and
> >> over again for two or three days. The end of the card still works
> >> without
> >> problems but about 10 sectors on the beginning give write errors.
> > 
> > Sorry, the topic was SSD, not SD.
> 
> SD == SSD with an SD interface.

That really is quite a statement. You really talk of a few-bucks SD card (like
the one in my android handy) as an SSD comparable with Intel XE only with
different interface? Come on, stay serious. The product is not only made of
SLCs and some raw logic.
 
> > SSDs have controllers that contain heavy
> > closed magic to circumvent all kinds of troubles you get when using
> > classical flash and SD cards.
> 
> There is absolutely no basis for thinking that SD cards don't contain wear
> leveling logic. SD standard, and thus SD cards support a lot of fancy copy
> protection capabilities, which means there is a lot of firmware involvement
> on SD cards. It is unlikely that any reputable SD card manufacturer
> wouldn't also build wear leveling logic into it.

I really don't guess about what is built into an SD or even CF card. But we
hopefully agree that there is a significant difference compared to a product
that calls itself a _disk_.
 
> > Honestly I would just drop the idea of an SSD option simply because the
> > vendors implement all kinds of neat strategies in their devices. So in
> the
> > end you cannot really tell if the option does something constructive and
> not
> > destructive in combination with a SSD controller.
> 
> You can make an educated guess. For starters given that visible sector
> sizes are not equal to FS block sizes, it means that FS block sizes can
> straddle erase block boundaries without the flash controller, no matter how
> fancy, being able to determine this. Thus, at the very least, aligning FS
> structures so that they do not straddle erase block boundaries is useful in
> ALL cases. Thinking otherwise is just sticking your head in the sand
> because you cannot be bothered to think.

And your guess is that intel engineers had no glue when designing the XE
including its controller? You think they did not know what you and me know and
therefore pray every day that some smart fs designer falls from heaven and
saves their product from dying in between? Really?
 
> > Of course you may well discuss about an option for passive flash devices
> > like ide-CF/SD or the like. There is no controller involved so your fs
> > implementation may well work out.
> 
> I suggest you educate yourself on the nature of IDE and CF (which is just
> IDE with a different connector). There most certainly are controllers
> involved. The days when disks (mechanical or solid state) didn't integrate
> controllers ended with MFM/RLL and ESDI disks some 20+ years ago.

I suggest you don't talk to someone administering some hundred boxes based on
CF and SSD mediums for _years_ about pro and con of the respective
implementation and its long term usage.
Sorry, the world is not built out of paper, sometimes you meet the hard facts.
And one of it is that the ssd option in fs is very likely already overrun by
the ssd controller designers and mostly _superfluous_. The market has already
decided to make SSDs compatible to standard fs layouts.

-- 
Regards,
Stephan


  reply	other threads:[~2010-03-11 12:59 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10 19:49 SSD Optimizations Gordan Bobic
2010-03-10 21:14 ` Marcus Fritzsch
2010-03-10 21:22   ` Marcus Fritzsch
2010-03-10 23:13   ` Gordan Bobic
2010-03-11 10:35     ` Daniel J Blueman
2010-03-11 12:03       ` Gordan Bobic
2010-03-10 23:12 ` Mike Fedyk
2010-03-10 23:22   ` Gordan Bobic
2010-03-11  7:38     ` Sander
2010-03-11 10:59       ` Hubert Kario
2010-03-11 11:31         ` Stephan von Krawczynski
2010-03-11 12:17           ` Gordan Bobic
2010-03-11 12:59             ` Stephan von Krawczynski [this message]
2010-03-11 13:20               ` Gordan Bobic
2010-03-11 14:01                 ` Hubert Kario
2010-03-11 15:35                   ` Stephan von Krawczynski
2010-03-11 16:03                     ` Gordan Bobic
2010-03-11 16:19                       ` Chris Mason
2010-03-12  1:07                         ` Hubert Kario
2010-03-12  1:42                           ` Chris Mason
2010-03-12  9:15                           ` Stephan von Krawczynski
2010-03-12 16:00                             ` Hubert Kario
2010-03-13 17:02                               ` Stephan von Krawczynski
2010-03-13 19:01                                 ` Hubert Kario
2010-03-11 16:48             ` Martin K. Petersen
2010-03-11 14:39           ` Sander
2010-03-11 17:35             ` Stephan von Krawczynski
2010-03-11 18:00               ` Chris Mason
2010-03-13 16:43                 ` Stephan von Krawczynski
2010-03-13 19:41                   ` Hubert Kario
2010-03-13 21:48                   ` Chris Mason
2010-03-14  3:19                   ` Jeremy Fitzhardinge
2010-03-11 12:09         ` Gordan Bobic
2010-03-11 16:22           ` Martin K. Petersen
2010-03-11 11:59       ` Gordan Bobic
2010-03-11 15:59         ` Asdo
     [not found]         ` <4B98F350.6080804@shiftmail.org>
2010-03-11 16:15           ` Gordan Bobic
2010-03-11 14:21 ` Chris Mason
2010-03-11 16:18   ` Gordan Bobic
2010-03-11 16:29     ` Chris Mason
  -- strict thread matches above, loose matches on Subject: below --
2010-12-12 17:24 SSD optimizations Paddy Steed
2010-12-13  0:04 ` Gordan Bobic
2010-12-13  5:11   ` Sander
2010-12-13  9:25     ` Gordan Bobic
2010-12-13 14:33       ` Peter Harris
2010-12-13 15:04         ` Gordan Bobic
2010-12-13 15:17       ` cwillu
2010-12-13 16:48         ` Gordan Bobic
2010-12-13 17:17   ` Paddy Steed
2010-12-13 17:47     ` Gordan Bobic
2010-12-13 18:20     ` Tomasz Torcz
2010-12-13 19:34       ` Ric Wheeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100311135909.a7acc23e.skraw@ithnet.com \
    --to=skraw@ithnet.com \
    --cc=gordan@bobich.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).