Linux block layer
 help / color / mirror / Atom feed
From: Ziji Hu <huziji@marvell.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "Linus Walleij" <linus.walleij@linaro.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	linux-block@vger.kernel.org,
	"Adrian Hunter" <adrian.hunter@intel.com>,
	"Ritesh Harjani" <riteshh@codeaurora.org>,
	"Avri Altman" <Avri.Altman@sandisk.com>,
	"Arnd Bergmann" <arnd@arndb.de>, "Christoph Hellwig" <hch@lst.de>,
	"Jens Axboe" <axboe@kernel.dk>,
	"Paolo Valente" <paolo.valente@linaro.org>,
	"Per Förlin" <per.forlin@axis.com>
Subject: Re: Some throughput tests with MQ and BFQ on MMC/SD
Date: Sat, 18 Feb 2017 12:36:53 +0800	[thread overview]
Message-ID: <6c65cd92-117f-9d40-caaa-05163160923a@marvell.com> (raw)
In-Reply-To: <CAPDyKFo_-SykPX5LjUB2VMBVaa05EPJ0OYzpCLCpCO9Sug+Feg@mail.gmail.com>

Hi Ulf,

On 2017/2/17 20:09, Ulf Hansson wrote:
> [...]
> 
>>
>>         I would like to suggest that you should try the multiple thread
>>         test mode of iozone, since you are testing *Multi* Queue.
> 
> Yes. That seems reasonable.
> 
> However, the most important part here is the comparison between the
> different code bases.
> 
>>
>>         Besides, it seems that your eMMC transfer speed is quite low.
>>         It is normal that read speed can reach more than 100MB/s in HS400.
>>         Could you try a higher speed mode? The test result might be
>>         limited by the bus clock frequency.
> 
> Perhaps if Linus can share a branch of the code integrated for the
> different tests, we all can help out running them on those HW we have
> at hand. Would you be willing to help out here?
> 
	I'm glad to.
	But my available platforms all stay in Linux v4.4/v4.1.
	I can help when my platforms can upgrade.

>>
>>>
>>> As you can see there are no huge performance regressions with these
>>> kinds of "raw" throughput tests.
>>>
>>> These iozone figures are unintuitive unless your head can
>>> plot logarithmic, look at the charts here for a more visual presentation
>>> of the iozone results:
>>> https://docs.google.com/spreadsheets/d/1rm72TiGlTnzDeGLR__aqvjcJ2UkA-Ro3-XyKA8r1M-c
>>>
>>> Compare this to the performance change we got when first introducing
>>> the asynchronous requests:
>>> https://wiki.linaro.org/WorkingGroups/KernelArchived/Specs/StoragePerfMMC-async-req
>>>
>>> The patches need some issues fixed from the build server
>>> complaints and some robustness hammering, but after that I
>>> think they will be ripe for merging for v4.12.
>>>
>>
>>         Actually I have been following your thread for some time.
>>         But currently I'm a little confused.
>>         May I know the purpose of your patch?
> 
> I want MMC to move to the new BLKMQ interface and I want that because
> of several reasons, see below.
> 
> 1. It's new blk interface, all new development happens here. We should
> use it to benefit from that.
> 2. The BLKMQ interface allow the MMC block device driver to be
> significantly cleaner implemented - and I need that to be able to
> maintain the code.
> 3. We want to make use of Paolo's BFQ-MK I/O scheduler, which
> addresses provides guaranteed low latency. For example being able to
> play a video clip, while doing a disc backup without getting frame
> drops.
> 
	Got it. Thanks a lot for your detailed explanation.
	If we focus on the low latency, we shall get a cleaner result
	of IOPS in tests.
	IOPS is a more common performance index in eMMC/SD.

	Thank you.

Best regards,
Hu Ziji
> Kind regards
> Uffe
> 

  reply	other threads:[~2017-02-18  4:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17  9:33 Some throughput tests with MQ and BFQ on MMC/SD Linus Walleij
2017-02-17 11:53 ` Ziji Hu
2017-02-17 12:09   ` Ulf Hansson
2017-02-18  4:36     ` Ziji Hu [this message]
2017-02-17 13:22   ` Linus Walleij
2017-02-18  4:57     ` Ziji Hu
2017-02-20  8:03     ` Adrian Hunter
2017-02-20 11:04       ` Ziji Hu
2017-02-20 11:19         ` Adrian Hunter
2017-02-20 13:46       ` Linus Walleij
2017-02-20 15:32         ` Adrian Hunter

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=6c65cd92-117f-9d40-caaa-05163160923a@marvell.com \
    --to=huziji@marvell.com \
    --cc=Avri.Altman@sandisk.com \
    --cc=adrian.hunter@intel.com \
    --cc=arnd@arndb.de \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=paolo.valente@linaro.org \
    --cc=per.forlin@axis.com \
    --cc=riteshh@codeaurora.org \
    --cc=ulf.hansson@linaro.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