All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Chris Worley <worleys@gmail.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	"Majed B." <majedb@gmail.com>,
	Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Intel Updates SSDs, Supports TRIM, Faster Writes
Date: Tue, 10 Nov 2009 15:11:30 -0500	[thread overview]
Message-ID: <yq11vk6nnrh.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <f3177b9e0911100922u435993behd0889ae284cf0ec4@mail.gmail.com> (Chris Worley's message of "Tue, 10 Nov 2009 10:22:13 -0700")

>>>>> "Chris" == Chris Worley <worleys@gmail.com> writes:

Chris> I'm not talking about memory-based or -looking devices.  A block
Chris> device is all you need, and you don't have to re-write file
Chris> systems to put one atop a block device.

And a SATA/SCSI-fronted flash disk isn't a block device how?

Do you have any compelling evidence as to why using a protocol like SCSI
is bad?  A SCSI command is typically 16 bytes.  A typical HBA IOCB
slightly bigger but includes the inevitable scatterlist.  We're talking
a pretty dense format for expressing an I/O operation here.

You seem to be arguing that letting a device speak "block" instead of
SCSI would make things faster.  I'm not convinced.  Also, SCSI gives us
a nice way to track outstanding I/Os via command queueing plus much
more.  All in a open, non-vendor-specific format requiring no custom
drivers.  Unlike, say, the SSS board you mentioned elsewhere in this
thread.

On top of that Linux is used all over the place in deployments that have
throughput and IOPS figures above and beyond the numbers you quote here.
Despite "legacy" controllers being in the mix.


Chris> Those using legacy controller technology can overcome the issue
Chris> by using multiple devices.  We've been talking single device
Chris> performance. I can get 6GB/s using 8 SSS drives.

And adding another flash-backed SAS board isn't giving you exactly the
same benefit?


Chris> And I do appreciate all your work.  I fear, in this case, discard
Chris> will be optimized for the slower technology... we won't be
Chris> getting all that's available from it.

Discard isn't "optimized" for anything.  It's a command.  Filesystem
issues it, it gets sent to the storage device (DSM/TRIM, WRITE SAME, or
UNMAP depending on target type).


Chris> CPU's have much more performance for handling the management
Chris> needed by NAND, and there are so many cores these days going
Chris> unused.

You seem to think that the limiting factor in SSD design is the speed of
the ASIC and not the speed of the actual flash chips behind it.


Chris> SSD's do win the "compatibility" argument.  It's too bad we
Chris> didn't invent thumb drives that were floppy compatible ;)

There are many good reasons for that.  drivers/block/floppy.c contains a
several of them.  Keep a bag of expletives handy.


>> Because initial TRIM performance was absolutely appalling

Chris> Only on SSD's behind legacy controllers.  It worked great as-is
Chris> with SSS.

Please elaborate.

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2009-11-10 20:11 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 17:57 Intel Updates SSDs, Supports TRIM, Faster Writes Bill Davidsen
2009-11-08 22:30 ` Thomas Fjellstrom
2009-11-09  1:13 ` Majed B.
2009-11-09 16:37   ` Chris Worley
2009-11-09 16:42     ` Majed B.
2009-11-09 16:59       ` Chris Worley
2009-11-10  9:42         ` Kasper Sandberg
2009-11-10 15:39           ` Chris Worley
2009-11-10 15:43             ` Majed B.
2009-11-10 15:58               ` Chris Worley
2009-11-10 16:01                 ` Majed B.
2009-11-10 16:15                   ` Robin Hill
2009-11-10 16:31                     ` Chris Worley
2009-11-10 16:18                   ` Chris Worley
2009-11-10 18:31                     ` Majed B.
2009-11-10 23:03                       ` Mathieu Chouquet-Stringer
2009-11-11  2:52                         ` Majed B.
2009-11-10 18:40                     ` Kasper Sandberg
2009-11-10 15:48             ` Asdo
2009-11-10 16:04               ` Chris Worley
2009-11-11 18:02                 ` Default User
2009-11-10 18:38             ` Kasper Sandberg
2009-11-10 16:36         ` Martin K. Petersen
2009-11-10 17:22           ` Chris Worley
2009-11-10 20:11             ` Martin K. Petersen [this message]
2009-11-10 20:45               ` Chris Worley
2009-11-10 22:35                 ` Martin K. Petersen
2009-11-11 18:17                   ` Chris Worley
2009-11-10 21:01               ` Greg Freemyer
2009-11-10 21:17                 ` Chris Worley
2009-11-10 22:56                 ` Martin K. Petersen
2009-11-11 17:00                   ` Greg Freemyer
2009-11-12  5:50                     ` Martin K. Petersen
2009-11-09 18:42   ` Greg Freemyer

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=yq11vk6nnrh.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=majedb@gmail.com \
    --cc=worleys@gmail.com \
    /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.