From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j8gEW-0006Ps-DC for barebox@lists.infradead.org; Mon, 02 Mar 2020 08:15:25 +0000 Date: Mon, 2 Mar 2020 09:15:22 +0100 From: Sascha Hauer Message-ID: <20200302081522.GF3335@pengutronix.de> References: <20200227165825.1624-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200227165825.1624-1-a.fatoum@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 0/2] USB fastboot onto eMMC: make 30% faster! To: Ahmad Fatoum Cc: barebox@lists.infradead.org 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