From: "Ian S. Worthington" <ianworthington@usa.net>
To: Damien Le Moal <Damien.LeMoal@wdc.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Using fio for testing for SMR
Date: Sat, 19 Sep 2020 12:47:24 +0100 [thread overview]
Message-ID: <893yisLUy8768Set.1600516044@web06.cms.usa.net> (raw)
In-Reply-To: <CY4PR04MB3751C2D2477B316DE66AC058E7200@CY4PR04MB3751.namprd04.prod.outlook.com>
Hi Damien --
> > This tells us that the maximum size the device can support is 256KB
> > (max_hw_sectors_kb)
> > and the maximum size that the kernel allows is 256KB (max_sectors_kb).
>
> Which highly depends on the HBA since the hard-disk interface will accept
much
> larger commands. This 256KB on your system seems to be very low. What HBA
are
> you using ? These days, most SAS HBAs have at least 128 or 256 segments,
which
> allow up to 512KB/1MB IOs. SATA/AHCI is limited at 169 segments for up to
32MB
> max_hw_sectors_kb (and 1280 KB max_sectors_kb).
>
> > Additionally, the DMA engine is limited to 2048 segments of IO,
> > each with a max size of 64KB.
>
> That's a lot. I wonder why max_hw_sectors_kb end up so small.
I'm trying a Raspberry Pi for this testing so only have a USB3 interface
available. Seems to be fast enough but maybe that's why it's giving numbers
that seem odd to you?
> The list of WD drives using SMR as drive-managed is published. See:
>
> https://blog.westerndigital.com/wd-red-nas-drives/
>
> and
>
>
https://blog.westerndigital.com/wp-content/uploads/2020/07/WD_SMR_SKUs_vDS.pdf
>
> Your drive is not on the list :)
I wasn't sure that the list was reliable when it came to white label drives,
but it's good to have it confirmed.
Many thanks!
Ian
...
next prev parent reply other threads:[~2020-09-19 11:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-05 13:30 Using fio for testing for SMR Ian S. Worthington
2020-09-06 14:13 ` Sitsofe Wheeler
2020-09-07 1:38 ` Damien Le Moal
2020-09-08 14:02 ` Ian S. Worthington
2020-09-08 23:45 ` Damien Le Moal
2020-09-12 18:20 ` Ian S. Worthington
2020-09-15 2:28 ` Damien Le Moal
2020-09-19 11:47 ` Ian S. Worthington [this message]
2020-09-23 1:00 ` Damien Le Moal
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=893yisLUy8768Set.1600516044@web06.cms.usa.net \
--to=ianworthington@usa.net \
--cc=Damien.LeMoal@wdc.com \
--cc=fio@vger.kernel.org \
/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