* REQ_META performance impact on eMMC
@ 2015-06-19 16:06 Luca Porzio (lporzio)
2015-06-21 14:02 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Luca Porzio (lporzio) @ 2015-06-19 16:06 UTC (permalink / raw)
To: linux-fsdevel@vger.kernel.org
Cc: Alex Lemberg, ulf.hansson@linaro.org, tlinder@codeaurora.org
In some tests onto a typical daily usage pattern of an embedded device with v3.10 kernel using EXT4 we found the following write stats (LBA = 512B):
- Total Metadata [in lbas]: 144104
- Total Data [in lbas]: 392640
- Ratio Metadata and Data : 2.724699
That said, it appears that every ~2.7 writes there is REQ_META write access to non volatile storage (i.e. metadata write) which causes relevant performance impact.
This performance impact comes from the existing MMC SW driver solution where each IO request marked with REQ_META is handled as a "Reliable Write" operation.
Pretty much as a as a FUA write access, a "Reliable write" means that the data will be written to the non-volatile memory.
Due to the fact that every REQ_META is immediately bypassing the internal cache of eMMC device, write performance is affected significantly.
Please advise how critical is to send REQ_META as "Reliable Write"?
Can REQ_META be sent as a regular Write operation?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: REQ_META performance impact on eMMC
2015-06-19 16:06 REQ_META performance impact on eMMC Luca Porzio (lporzio)
@ 2015-06-21 14:02 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2015-06-21 14:02 UTC (permalink / raw)
To: Luca Porzio (lporzio)
Cc: linux-fsdevel@vger.kernel.org, Alex Lemberg,
ulf.hansson@linaro.org, tlinder@codeaurora.org
On Fri, Jun 19, 2015 at 04:06:49PM +0000, Luca Porzio (lporzio) wrote:
> This performance impact comes from the existing MMC SW driver solution where each IO request marked with REQ_META is handled as a "Reliable Write" operation.
> Pretty much as a as a FUA write access, a "Reliable write" means that the data will be written to the non-volatile memory.
> Due to the fact that every REQ_META is immediately bypassing the internal cache of eMMC device, write performance is affected significantly.
>
> Please advise how critical is to send REQ_META as "Reliable Write"?
Not at all.
> Can REQ_META be sent as a regular Write operation?
Yes, and it should.
The MMC driver is doing something completely dumb here.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-21 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-19 16:06 REQ_META performance impact on eMMC Luca Porzio (lporzio)
2015-06-21 14:02 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).