You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to one of our internal developers, calling makefs as-is in tools/do_gpt.sh is very slow. I've provided the patch below.
I would go one step further and say that the filesystem disk should be created in a sparse manner, not as a densely populated disk image.
Also, the block size is small (1kB). It could and should be larger (1MB at least).
A lot of this should be fixed/improved with the mkimg utility in 11+, but that's a different utility for a different day...
commit e10947989b275767e1e2e5a4e0bd89b8b342f788
Author: Russell Cattelan
Date: Wed May 21 14:51:19 2014 -0500
Speed up the disk.img creation.
Pointing makefs directly at the md mapped disk
image is really slow. So use a temp file to create
the file system image and then dd that directly
to the md<>p2 partition
Please note that ${FSIMG}.$$ also needs to be removed in do_exit.
ngie-eign
changed the title
tools/do_gpt.sh calls makefs in an inefficient manner
[PATCH] tools/do_gpt.sh calls makefs in an inefficient manner
Oct 10, 2014
According to one of our internal developers, calling makefs as-is in tools/do_gpt.sh is very slow. I've provided the patch below.
I would go one step further and say that the filesystem disk should be created in a sparse manner, not as a densely populated disk image.
Also, the block size is small (1kB). It could and should be larger (1MB at least).
A lot of this should be fixed/improved with the mkimg utility in 11+, but that's a different utility for a different day...
The text was updated successfully, but these errors were encountered: