[U-Boot] [PATCH 5/5] mmc: sd: optimize erase
Peng Fan
van.freenix at gmail.com
Fri Aug 12 05:02:03 CEST 2016
Hi Fabio,
On Thu, Aug 11, 2016 at 09:53:31PM -0300, Fabio Estevam wrote:
>Hi Peng,
>
>On Thu, Aug 11, 2016 at 8:00 AM, Peng Fan <van.freenix at gmail.com> wrote:
>> To SD, there is no erase group, then the value erase_grp_size
>> will be default 1. When erasing SD blocks, the blocks will be
>> erased one by one, which is time consuming.
>>
>> use AU_SIZE as a group to speed up the erasing.
>
>Just curious: what was the measured increase in performace for the
>erase operation with your series?
Erasing 4MB.
Before applying this patch set
=> time mmc erase 0x100000 0x2000
MMC erase: dev # 0, block # 1048576, count 8192 ... 8192 blocks erased: OK
time: 44.856 seconds
After applying the patch set:
=> time mmc erase 0x100000 0x2000
MMC erase: dev # 0, block # 1048576, count 8192 ... 8192 blocks erased: OK
time: 0.335 seconds
Will add the test reults in V2 commit log.
Thanks,
Peng.
>
>Thanks
More information about the U-Boot
mailing list