9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Flash
Date: Sat,  7 Mar 2009 11:34:28 -0500	[thread overview]
Message-ID: <f1ec48f31f8a57a165b0a62cea11dd9f@quanstro.net> (raw)
In-Reply-To: <dd6fe68a0903070739q4111e594xa258ed24185d6fda@mail.gmail.com>

> i don't understand this.  your "worm" is magnetic disk, right?
> why would you put the ssd in the slow half (the worm)
> instead of the fast half (the cache)?

the current setup is that the worm and the "cache" are
the same speed (in fact, the cache is slower because
it's on two disks rather than 4).  i found it was needlessly
expensive to copy data from the worm to cache, so the
only data that makes it to the cache are dirty blocks.
it's used as a write buffer, not a cache.
http://www.quanstro.net/plan9/disklessfs.pdf.

if i simply reenabled the cache and replaced the two
hard drives with ssd, i don't think we'd see much performance
increase as we're not thrashing the ram cache yet.  and
for heavy write loads with a caching appliance, i think that
8 disk-limited disks would compete well with 2 sata-limited
drives.  i think  one would get better bang/buck by replacing
the worm drives with a greater number of smaller hard drives;
ssds would be even better.

on the other hand, a fusion i/o device would be a compelling
reason to reinstitute a true cache.

> similarly, someone on this thread said they'd use ssd
> for just the arenas (which are mostly linear access),
> when if i had to make the choice i would use it for just
> the index (which is mostly random access and would
> benefit more from dropping the seek penalities).

i guess the $640 question is, how good is that wear leveling.

- erik



  reply	other threads:[~2009-03-07 16:34 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 11:52 [9fans] threads vs forks hugo rivera
2009-03-03 15:19 ` David Leimbach
2009-03-03 15:32   ` Uriel
2009-03-03 16:15     ` hugo rivera
2009-03-03 15:33   ` hugo rivera
2009-03-03 18:11   ` Roman V. Shaposhnik
2009-03-03 18:38     ` Bakul Shah
2009-03-06 18:47       ` Roman V Shaposhnik
2009-03-06 20:38         ` David Leimbach
2009-03-07  8:00           ` Bakul Shah
2009-03-07  0:21         ` Bakul Shah
2009-03-07  2:20           ` Brian L. Stuart
2009-03-03 23:08     ` J.R. Mauro
2009-03-03 23:15       ` Uriel
2009-03-03 23:23         ` J.R. Mauro
2009-03-03 23:54           ` Devon H. O'Dell
2009-03-04  0:33             ` J.R. Mauro
2009-03-04  0:54               ` erik quanstrom
2009-03-04  1:54                 ` J.R. Mauro
2009-03-04  3:18                   ` James Tomaschke
2009-03-04  3:30                     ` erik quanstrom
2009-03-04  4:44                       ` James Tomaschke
2009-03-04  5:05                         ` J.R. Mauro
2009-03-04  5:50                           ` erik quanstrom
2009-03-04  6:08                             ` andrey mirtchovski
2009-03-04 16:52                             ` J.R. Mauro
2009-03-04 17:14                               ` ron minnich
2009-03-04 17:27                                 ` William Josephson
2009-03-04 18:15                                 ` erik quanstrom
2009-03-05  3:32                                 ` J.R. Mauro
2009-03-05  3:39                                   ` erik quanstrom
2009-03-05  3:55                                   ` William K. Josephson
2009-03-05  4:00                                     ` erik quanstrom
2009-03-05  4:16                                       ` William K. Josephson
2009-03-07  3:01                                         ` William Josephson
2009-03-07  3:31                                           ` erik quanstrom
2009-03-07  6:00                                             ` William Josephson
2009-03-07 13:58                                               ` erik quanstrom
2009-03-07 14:37                                                 ` William Josephson
2009-03-07 15:05                                                   ` erik quanstrom
2009-03-07 15:28                                                     ` William K. Josephson
2009-03-07  5:00                                           ` lucio
2009-03-07  5:08                                             ` William Josephson
2009-03-07  5:19                                               ` erik quanstrom
2009-03-07  5:45                                                 ` [9fans] Flash William K. Josephson
2009-03-07 14:42                                                   ` erik quanstrom
2009-03-07 14:56                                                     ` William Josephson
2009-03-07 15:39                                                     ` Russ Cox
2009-03-07 16:34                                                       ` erik quanstrom [this message]
2009-03-07  5:24                                               ` [9fans] threads vs forks lucio
2009-03-04  5:19                   ` David Leimbach
2009-03-04  2:47                 ` John Barham
2009-03-04  5:24                 ` blstuart
2009-03-04  5:37                   ` erik quanstrom
2009-03-04 16:29                   ` Roman V Shaposhnik
2009-03-04 16:56                   ` john
2009-03-06  9:39             ` maht
2009-03-04  5:07     ` David Leimbach
2009-03-04  5:35     ` John Barham
2009-03-03 16:00 ` ron minnich
2009-03-03 16:28   ` hugo rivera
2009-03-03 17:31     ` ron minnich
2009-03-03 16:47 ` John Barham
2009-03-04  9:37   ` Vincent Schut
2009-03-04  9:58     ` hugo rivera
2009-03-04 10:30       ` Vincent Schut
2009-03-04 10:45         ` hugo rivera
2009-03-04 11:15           ` Vincent Schut
2009-03-04 11:33             ` hugo rivera
2009-03-04 13:23               ` Uriel
2009-03-04 14:57         ` ron minnich
  -- strict thread matches above, loose matches on Subject: below --
2008-02-09 22:08 [9fans] Flash Richard Uhtenwoldt
2008-02-10  0:04 ` Paul Lalonde
2008-02-10  0:11   ` Pietro Gagliardi
2008-02-10  1:28   ` Richard Uhtenwoldt
2008-05-07  9:15     ` Harri Haataja
2008-05-07 15:03       ` hiro
2008-05-10 14:58         ` Rodolfo Garcia (kix)
2008-05-10 18:55           ` hiro
2008-05-11  6:03           ` bblochl

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=f1ec48f31f8a57a165b0a62cea11dd9f@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).