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] fossil pb: FOUND!
Date: Sat, 14 Jan 2012 15:32:09 -0800	[thread overview]
Message-ID: <20120114233209.15BD4B85A@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Sat, 14 Jan 2012 17:42:12 EST." <3a789b771cbf86e9a6e7ddfff2b95bb4@chula.quanstro.net>

On Sat, 14 Jan 2012 17:42:12 EST erik quanstrom <quanstro@quanstro.net>  wrote:
> On Sat Jan 14 17:12:49 EST 2012, aram.h@mgk.ro wrote:
> > > content addressed means given the content, you can generate the address.
> > > this is NOT true of zfs at all.
> >
> > How come? With venti, the address is the SHA-1 hash, with ZFS, you get
> > to chose the hash, but it can still be a hash.
>
> because in zfs the hash is not used as an address (lba).

True.

> > My original claim was that fragmentation is a non issue if you have
> > SSDs.  I still claim this and I expanded on the context in my previous
> > post.  Of course that random I/O is slower than sequential I/O, SSD or
> > not, but in practice, filesystem fragmentation causes an amount or
> > random I/O much less than what a SSD can handle, so throughput in the
> > fragmented case is close to the throughput in the sequential case.
> >
> > I don't think that caching is completely irrelevant.  If I have to
> > chose between a complex scheme that avoids fragmentation and a simple
> > caching scheme that renders it irrelevant for a particular workload,
> > I'll chose the caching scheme because it's simpler.
>
> by all means, show us the numbers.  personally, i believe the mfgrs are not
> lying when they say that random i/o yields 1/10th the performance (at best)
> of sequential i/o.


Intel 320 300GB SSD numbers (for example):
seq read:  270MBps
rnd read:  39.5Kiops == 158Mbps @ 4KB
seq write: 205MBps
rnd write: 23.0Kiops == 92MBps  @ 4KB

SSDs don't have to contend with seek times but you have to pay
the erase cost (which can not be hidden in "backround GC" when
you are going full tilt).

For venti you'd pick 8k at least so the write throughput will
be higher that 92MBps (but not double). IIRC ZFS picks a much
larger block size so it suffers less here.

You have to check the numbers using the blocksizes relevant to
you.



  parent reply	other threads:[~2012-01-14 23:32 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 11:30 [9fans] fossil pb: a clue? tlaronde
2012-01-13 13:30 ` erik quanstrom
2012-01-13 13:38 ` [9fans] fossil pb: FOUND! tlaronde
2012-01-13 13:59   ` erik quanstrom
2012-01-13 14:08     ` tlaronde
2012-01-13 14:47       ` erik quanstrom
2012-01-13 16:01         ` tlaronde
2012-01-13 16:16           ` erik quanstrom
2012-01-13 16:34             ` tlaronde
2012-01-13 16:42               ` David du Colombier
2012-01-13 16:44               ` Vivien MOREAU
2012-01-13 16:50                 ` tlaronde
2012-01-13 16:17           ` David du Colombier
2012-01-13 16:41             ` tlaronde
2012-01-13 16:50               ` Charles Forsyth
2012-01-13 17:05                 ` tlaronde
2012-01-13 17:02               ` tlaronde
2012-01-13 17:11                 ` Charles Forsyth
2012-01-13 17:24                 ` Nicolas Bercher
2012-01-13 17:44                   ` tlaronde
2012-01-13 17:37               ` erik quanstrom
2012-01-13 17:58                 ` tlaronde
2012-01-13 18:14                   ` erik quanstrom
2012-01-13 21:00                     ` Yaroslav
2012-01-13 22:14                       ` Charles Forsyth
     [not found]                   ` <CAG3N4d8c56DRSbt30k3EkgnyvrPSLbFkWH-kKapm7CVmKsu9og@mail.gmail.c>
2012-01-13 21:02                     ` erik quanstrom
     [not found]                   ` <CAOw7k5hU=F2tynnFHtoz=AJ=HiFq2oLYhz4Rg-QgM+rv_gu5Ow@mail.gmail.c>
2012-01-13 22:17                     ` erik quanstrom
2012-01-13 23:10                       ` Aram Hăvărneanu
2012-01-13 23:14                         ` Francisco J Ballesteros
2012-01-13 23:23                           ` Aram Hăvărneanu
2012-01-14  0:30                           ` Bakul Shah
2012-01-14  1:01                             ` dexen deVries
2012-01-14 13:26                               ` erik quanstrom
2012-01-14 15:00                                 ` hiro
2012-01-14 15:06                                   ` Charles Forsyth
     [not found]                                   ` <CAOw7k5h2T+xuxbJhwTxPMOjG3K14KarrJPXFmH9EHdHJnXFpPA@mail.gmail.c>
2012-01-14 15:29                                     ` erik quanstrom
2012-01-14 16:16                                       ` Aram Hăvărneanu
     [not found]                                       ` <CAEAzY3_9jpi6j-C1u87OKaEazajOBwkvbEBdO5f1eUJysJbH1A@mail.gmail.c>
2012-01-14 16:32                                         ` erik quanstrom
2012-01-14 18:01                                           ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39pUNCTs6kMYnYoukx3TH8OuhgcmhSF+nVW5jX0iTCYvA@mail.gmail.c>
2012-01-14 20:43                                             ` erik quanstrom
2012-01-14 21:39                                               ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY3842EWp=WByCPAm7yGEK2h5b+1hkbwm5NoRPTH_2F5CVA@mail.gmail.c>
2012-01-14 21:54                                             ` erik quanstrom
2012-01-14 22:11                                               ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39GD4QoTRf2S0Nd4rN+vSyG1tsKyP3rFWu5a0mFN=sH6w@mail.gmail.c>
2012-01-14 22:42                                             ` erik quanstrom
2012-01-14 23:03                                               ` Aram Hăvărneanu
2012-01-14 23:32                                               ` Bakul Shah [this message]
2012-01-14 23:45                                                 ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39ddvxRSwSP+Eh7kujJEs3nYh4kQegfuSisgdgB9qMQ4g@mail.gmail.c>
2012-01-15 13:12                                             ` erik quanstrom
2012-01-15 14:07                                               ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY3-mPRW3jGYWbXeTk7Sc+nC6Xn1NhK2a=Tb2yKkm06EStQ@mail.gmail.c>
2012-01-15 14:25                                             ` erik quanstrom
2012-01-15 14:39                                               ` Charles Forsyth
2012-01-14 18:39                                       ` Charles Forsyth
2012-01-14 13:27                               ` erik quanstrom
2012-01-13 23:24                         ` cinap_lenrek
     [not found]                   ` <CAEAzY39VJhaWD03PruMoS2A+bCP62XDTdgob1hgtjp6qHtjdSA@mail.gmail.c>
2012-01-14 13:07                     ` erik quanstrom
2012-01-13 13:59 ` [9fans] fossil pb: a clue? David du Colombier
2012-01-13 14:11   ` tlaronde

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=20120114233209.15BD4B85A@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).