diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2022-02-19 17:54:22 +0200 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2022-03-29 13:32:31 +0100 |
commit | df2ae8826ced4f374bcb693b44d8a113ad150d70 (patch) | |
tree | 5a02f5343f5ab1021bb5857cbe50138c16f85487 /tools/libtool/files/libtool-v1.5.patch | |
parent | 34fb36e165d5b6e6e37d33b4b0da789a8f1430bb (diff) | |
download | upstream-df2ae8826ced4f374bcb693b44d8a113ad150d70.tar.gz upstream-df2ae8826ced4f374bcb693b44d8a113ad150d70.tar.bz2 upstream-df2ae8826ced4f374bcb693b44d8a113ad150d70.zip |
image: let mksquashfs4 use all processors
Drop the -processors argument from the mksquashfs4 call, so it will use
all available processors. This dramatically reduces the time to create
squashfs filesystems.
The times below are observed when building an image for my main router,
the WatchGuard Firebox M300 (qoriq target):
Before:
real 4m45,973s
After:
real 0m23,497s
With this commit `mksquashfs` may use more cores than defined via `-j`.
This is the same behaviour as for archive creation of ImageBuilder, SDK
or toolchain. There is no trivial way to limit `mksquashfs` CPU core
usage to the amount of "free" make jobs since two running `mksquashfs`
instances would each run with the total allowed number (-j) of threads.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
[extended reasoning in commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'tools/libtool/files/libtool-v1.5.patch')
0 files changed, 0 insertions, 0 deletions