linaro-media-create speedup

Loïc Minier loic.minier at linaro.org
Wed Oct 6 20:27:33 UTC 2010


On Tue, Oct 05, 2010, Tom Gall wrote:
> As a side project I've created a fairly simple performance improvement
> for the linaro-media-create tool. Basically the copying of the root_fs
> happens earlier in the process such that hwpack and a number of other
> steps are done in parallel and then at the end there's one last rsync
> to make sure adjusted files, further installed files are correctly
> copied.

 There might be an interesting speedup + bugfix in aligning the rootfs
 partition on a power of two, e.g. 1 MiB boundary, as the SD/MMC is
 flash internally, and undergoes erase/write cycles for fs meta-data.
 I think only OMAP has constraints on the number of heads/sectors, but
 we could take a factor of that: 63*255 can't really be factored well,
 but we could use LBA addressing and start in the middle of a cylinder.

-- 
Loïc Minier



More information about the linaro-dev mailing list