9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Is fossil/venti file system a good choice for SSD?
Date: Sat,  3 Feb 2018 15:46:45 -0800	[thread overview]
Message-ID: <20180203234701.3460A156E80B@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Sat, 03 Feb 2018 21:46:42 +0000." <CACo5X5hn7-SDoABR8WafjMPb1VQ=hVxN287CEV17Uu9n_Tr7Lw@mail.gmail.com>

On Sat, 03 Feb 2018 21:46:42 +0000 "Digby R.S. Tarvin" <digbyt42@gmail.com> wrote:
Digby R.S. Tarvin writes:
> 
>  Thats why I described my use case - to make the MTBF figures meaningful.  As
> I said, I have my system configured so that most heavy write accesses go to
> rotating media. I typically try to have my system partitions mounted read
> only, except var and tmp. I am currently using 32GB uSD devices for
> raspberry pi based servers, with about 100GB per year in writes (as
> reported by iostat), plus perhaps an initial 100GB in writing that occurs
> during installation and configuring. The last failure I had was about 3
> months ago, on uSD card that had been in use for just under 2 years.
>
> I can only speak of the experience that I have had, but I don't think my
> usage is sufficiently atypical to not count as 'in practice' for use as
> computer storage (ie I am not talking about  music players and cameras,
> phones etc).

Note that consumer grade uSD cards are much worse than SSDs --
they are mainly for the video recording market where capacity
is more important.  Not to mention The RasPis are poor at
reliability.  Even a xenon flash or near a RasPi could power a
RasPi2 down! And since they do no onboard power regulation,
people had lots of problems early on -- add one more USB
device and the thing can become unreliable.

At 100GB per year the SSD I am talking about should
last 3000 years!

Newer *high endurance* SanDisk microSDXC cards for example can
do 10k hours of video recording at a rate of 26Mbps speed.
That translates to about 117TBW. At 100GB writes/year they
should last over 1000 years.

> So from my experience, I would still tend to go along with Erik's advice
> (as relayed by Steve), or perhaps be even more fastidious about backups
> when using flash...

I think this has shifted more in favor of SSDs in the past
couple years.

The convention wisdom for ZFS was to not use SSDs for its
intent log (as all writes go through it) but it was okay to
use SSDs for the read cache, L2ARC (though that may not be
very effective). This is similar to Erik's recommendation.
But this falls apart if you use SSDs as your main storage.

To use a 300TBW device for 10 years, you'd have to *average*
over 82GB a day per device. I certainly don't see traffic
anywhere near that. If it weren't for the cost, I would
rebuilt my zfs array using SSDs. [Note that ZFS does its own
checksumming and has redundancy of its own]



  reply	other threads:[~2018-02-03 23:46 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-03  9:39 lchg
2018-02-03 10:54 ` Ethan Grammatikidis
2018-02-03 12:45 ` Steve Simon
2018-02-03 13:25   ` hiro
2018-02-03 14:53     ` Steve Simon
2018-02-03 16:53       ` hiro
2018-02-03 18:49         ` Digby R.S. Tarvin
2018-02-03 20:10           ` Bakul Shah
2018-02-03 21:46             ` Digby R.S. Tarvin
2018-02-03 23:46               ` Bakul Shah [this message]
2018-02-04  9:45                 ` [9fans] RasPi why? Ethan Grammatikidis
2018-02-04 15:05                   ` Rui Carmo
2018-02-04 16:36                   ` Steve Simon
2018-02-04 21:00                   ` Lyndon Nerenberg
2018-02-04 21:55                   ` Bakul Shah
2018-02-04 22:23                     ` hiro
2018-02-04 23:46                   ` Skip Tavakkolian
2018-02-04 23:52                     ` Lyndon Nerenberg
2018-02-05  9:22                     ` hiro
2018-02-05  9:27                       ` Rui Carmo
2018-02-05  9:48                         ` hiro
2018-02-05  9:49                           ` hiro
2018-02-04 10:02                 ` [9fans] Is fossil/venti file system a good choice for SSD? hiro
2018-02-04 23:46                   ` Bakul Shah
2018-02-05  8:50                     ` hiro
2018-02-04  9:52               ` hiro
2018-02-04 16:15                 ` Digby R.S. Tarvin
2018-02-04 21:46                   ` hiro
2018-02-04 22:47                     ` Digby R.S. Tarvin
2018-02-05  9:54                       ` hiro
2018-02-04  9:49           ` hiro
2018-02-04 22:22 ` Ole-Hjalmar Kristensen

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=20180203234701.3460A156E80B@mail.bitblocks.com \
    --to=bakul@bitblocks.com \
    --cc=9fans@9fans.net \
    /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).