irt: tools/squashfs4: enable parallel builds

Elliott Mitchell ehem+openwrt at m5p.com
Mon Apr 3 14:23:08 PDT 2023


On Mon, Apr 03, 2023 at 09:43:28PM +0800, 刘林辉 wrote:
> The reason may be that my computer is under high load all the time.
> 
> So I wrote a simple workflow to test squashfs4 using github actions
> https://github.com/lovehackintosh/Actions-OpenWrt/actions/runs/4597175958.

Okay, I can believe that.  Just an issue that it made the commit message
misleading.  Parallel building *can* slow things down.  `squashfs4` does
look a bit risky for that since most of its source is in 3 files and
everything else is tiny.

Might want to ensure your background jobs have been run via `nice` or
run `renice` on them later.  This makes benchmarks better guides.



On Mon, Apr 03, 2023 at 09:12:47PM +0200, Paul Oranje wrote:
> 
> > Op 3 apr. 2023, om 00:28 heeft Elliott Mitchell <ehem+openwrt at m5p.com> het volgende geschreven:
> > 
> > Am I the only person who finds commit 3efd49a588
> Cannot find that one, but have you seen 82e1f041f9a6cf9232c9f73938ef3b11c34cca0f ?
> 

3efd49a588 is about allowing the build process of `squashfs4` to use
multiple processors.  Whereas 82e1f041f9 is about allowing `squashfs4`
to use multiple processors during its runtime.  Thus these two do not
conflict and do make sense together.

(FYI `git rev-parse --short 82e1f041f9a6cf9232c9f73938ef3b11c34cca`)


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445






-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445





More information about the openwrt-devel mailing list