From: Sascha Hauer <s.hauer@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/2] USB fastboot onto eMMC: make 30% faster!
Date: Mon, 2 Mar 2020 09:15:22 +0100 [thread overview]
Message-ID: <20200302081522.GF3335@pengutronix.de> (raw)
In-Reply-To: <20200227165825.1624-1-a.fatoum@pengutronix.de>
On Thu, Feb 27, 2020 at 05:58:23PM +0100, Ahmad Fatoum wrote:
> I got a 2.9G image that I flash via fastboot to the eMMC and that takes
> quite a while on my i.MX6Q.
>
> Instead of fixing my image generation to make proper use of the sparse
> format's don't care chunk types to save oneself from writing all these
> holes at the end of the partitions, I went the easy route by tweaking the
> block layer a bit:
>
> barebox v2020.02.0: 445s
> With first patch: 376s
> With second patch: 300s
>
> Of these 300s, 180s are spent writing zeroes...
>
> Cheers,
> Ahmad Fatoum (2):
> usb: gadget: fastboot: call discard_range for sparse files as well
> Revert "block: Adjust cache sizes"
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-03-02 8:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-27 16:58 Ahmad Fatoum
2020-02-27 16:58 ` [PATCH 1/2] usb: gadget: fastboot: call discard_range for sparse files as well Ahmad Fatoum
2020-02-28 9:58 ` [PATCH] fixup! " Ahmad Fatoum
2020-02-27 16:58 ` [PATCH 2/2] Revert "block: Adjust cache sizes" Ahmad Fatoum
2020-03-02 8:15 ` Sascha Hauer [this message]
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=20200302081522.GF3335@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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