All of lore.kernel.org
 help / color / mirror / Atom feed
* Using fio to test SSD (SNIA)
@ 2013-10-13  2:34 Matthew Eaton
  2013-10-13  7:03 ` Georg Schönberger
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Eaton @ 2013-10-13  2:34 UTC (permalink / raw)
  To: fio

Hi guys,

I'm using fio apply an enterprise SNIA test on a single SATA SSD but
one thing that confuses me is how to choose the number of threads and
oio per thread. What settings would you guys recommend?

I'm currently using 16 threads and 64 oio per thread so total oio is
1024. Is that overkill?

Also, I've been wondering since an SSD has a queue depth of 32, where
are the oios >32 stored?

Thank you for any insight here.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using fio to test SSD (SNIA)
  2013-10-13  2:34 Using fio to test SSD (SNIA) Matthew Eaton
@ 2013-10-13  7:03 ` Georg Schönberger
  0 siblings, 0 replies; 2+ messages in thread
From: Georg Schönberger @ 2013-10-13  7:03 UTC (permalink / raw)
  To: Matthew Eaton; +Cc: fio

Hi Matthew,

----- Original Message -----
> From: "Matthew Eaton" <m.eaton82@gmail.com>
> To: fio@vger.kernel.org
> Sent: Sunday, 13 October, 2013 4:34:05 AM
> Subject: Using fio to test SSD (SNIA)
> 
> Hi guys,
> 
> I'm using fio apply an enterprise SNIA test on a single SATA SSD but
> one thing that confuses me is how to choose the number of threads and
> oio per thread. What settings would you guys recommend?
> 
> I'm currently using 16 threads and 64 oio per thread so total oio is
> 1024. Is that overkill?
> 
> Also, I've been wondering since an SSD has a queue depth of 32, where
> are the oios >32 stored?
> 
> Thank you for any insight here.

I have written a Performance Test Tool using Fio implementing the complete Solid State Storage Performance Test Specification Enterprise v1.0 (http://www.snia.org/sites/default/files/SSS_PTS_Enterprise_v1.0.pdf).
The tool is Open Source, if you are interested in it. You can find it at http://git.thomas-krenn.com/TKperf_v1.git/
I am also preparing an Ubuntu package that is nearly finished. It will be on our Ubuntu Repo shortly.

Concerning jobs and outstanding IOs I am mostly using 2 jobs and 16 outstanding IOs. 
A limiting factor IMO are the IO scheduler and the driver dispatch queues. You have to keep in mind the the number of outstanding IOs at the application side can be different from that on the device side. Thats why Fio is also reporting the IO depths statistics:
[...]
  IO depths    : 1=0.1%, 2=0.1%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%

There you can inspect which IO depths fio used effectively.
Best Regards, Georg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-13  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-13  2:34 Using fio to test SSD (SNIA) Matthew Eaton
2013-10-13  7:03 ` Georg Schönberger

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.