From: Ric Wheeler <rwheeler@redhat.com>
To: Grant Grundler <grundler@google.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Jens Axboe <jens.axboe@oracle.com>,
Matthew Wilcox <matthew@wil.cx>,
Boaz Harrosh <bharrosh@panasas.com>,
linux-scsi@vger.kernel.org
Subject: Re: [DO NOT APPLY] sd take advantage of rotation speed
Date: Thu, 31 Jul 2008 18:26:58 -0400 [thread overview]
Message-ID: <48923C32.3040901@redhat.com> (raw)
In-Reply-To: <da824cf30807311400i59065c74q549aa1b62819781e@mail.gmail.com>
Grant Grundler wrote:
> On Mon, Jul 28, 2008 at 7:31 AM, Martin K. Petersen
> <martin.petersen@oracle.com> wrote:
>
>>>>>>> "Ric" == Ric Wheeler <rwheeler@redhat.com> writes:
>>>>>>>
>> Ric> One other thought - is there a way to give non-rotational devices
>> Ric> also some indication of latency? (FLASH is slower than enterprise
>> Ric> SSD is slower than DRAM ramdisk for example)?
>>
>> The current SBC draft only distinguishes between rotating media
>> speeds. There is only one classification for non-rotating media in
>> the block device characteristics VPD.
>>
>> For a mechanical disk drive the rpm isn't a terrible gauge for
>> performance. But for a solid state device I think it will be hard to
>> define a similar universal metric.
>>
>
> rpm isn't a great gauge of performance either since the perf is a
> function of rpm * bit density.
>
Is this real rotational latency, or normalized? I think that the avg
seek time is usually a bit more predictive of how well we do with the
worst case load (fsck).
>
>> Ignoring SLC vs. MLC for a moment I think it's also safe to predict
>> that the enterprise drive of today will be the consumer drive of
>> tomorrow.
>>
>> Maybe the ssd device could export the anticipated command response
>> time for a request that matches the Optimal Transfer Length field in
>> the block limits VPD?
>>
>
> erase and/or write times could be exported as well somehow for SSDs
> if the FS (or other higher layer that wants to know) can't avoid
> garbage collection and erase cycles. I was just told today that flash devices
> have 10x higher write time than read time. erase is another order of
> magnitude higher. This doesn't include any garbage collection overhead.
>
This is changing - they have various ways of getting them much closer
together. On the other hand, a USB flash drive is much slower than a
high end SSD which can hit 20,000 IOPS.
> I think new file systems should be tuned to work with SSDs before we
> worry so much about the differences between SSDs/flash technologies
> and vendors. And then prescribe a different FS for different
> storage technologies. This avoids the "layering violations" discussion
> and helps keep the FSs (testing and developement) substantially simpler.
>
> grant
>
If we have access to the parts, we will try to get them to self tune
given whatever we can grab.
ric
next prev parent reply other threads:[~2008-07-31 22:27 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 16:03 [DO NOT APPLY] sd take advantage of rotation speed Matthew Wilcox
2008-06-19 17:12 ` Mike Anderson
2008-06-19 18:10 ` Matthew Wilcox
2008-06-22 12:16 ` Boaz Harrosh
2008-06-22 13:19 ` Matthew Wilcox
2008-06-22 13:27 ` Boaz Harrosh
2008-06-22 13:38 ` James Bottomley
2008-06-22 14:03 ` Matthew Wilcox
2008-06-22 14:41 ` Martin K. Petersen
2008-06-22 18:44 ` Matthew Wilcox
2008-06-25 2:06 ` Martin K. Petersen
2008-06-22 17:26 ` James Bottomley
2008-06-25 13:47 ` Jens Axboe
2008-06-25 13:57 ` Jens Axboe
2008-06-25 14:24 ` Ric Wheeler
2008-06-25 16:25 ` Boaz Harrosh
2008-06-25 16:57 ` Jens Axboe
2008-06-25 17:20 ` Matthew Wilcox
2008-06-25 17:26 ` Jens Axboe
2008-06-25 17:34 ` Matthew Wilcox
2008-06-25 17:43 ` James Bottomley
2008-06-25 17:53 ` Matthew Wilcox
2008-06-25 18:01 ` Jens Axboe
2008-06-25 18:06 ` James Bottomley
2008-06-25 17:59 ` Jens Axboe
2008-06-25 18:06 ` Martin K. Petersen
2008-06-25 18:12 ` Jens Axboe
2008-07-28 13:36 ` Ric Wheeler
2008-07-28 14:10 ` James Bottomley
2008-07-28 14:31 ` Martin K. Petersen
2008-07-31 21:00 ` Grant Grundler
2008-07-31 21:19 ` Andrew Patterson
2008-07-31 22:26 ` Ric Wheeler [this message]
2008-07-31 23:44 ` Grant Grundler
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=48923C32.3040901@redhat.com \
--to=rwheeler@redhat.com \
--cc=bharrosh@panasas.com \
--cc=grundler@google.com \
--cc=jens.axboe@oracle.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=matthew@wil.cx \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.