Opened 16 months ago

Last modified 13 months ago

#5345 closed enhancement

Resolve (some of) parallelism bottlenecks in test suites — at Version 1

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 12.1
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Xi Ruoyao)

There are some parallelism bottlenecks in test suites:

  • Autoconf, Libtool, Tar, and maybe others
    • Solution: set TESTSUITEFLAGS=-j$N globally (like MAKEFLAGS)
  • Automake (with more than 4 cores)
    • Solution: set -j $(($N > 4 ? $N : 4)) instead of just -j4
  • OpenSSL
    • Solution: HARNESS_JOBS=$N make test
  • Perl
    • Solution: TEST_JOBS=$N make test_harness
  • Binutils, Libffi, and Findutils
    • Not solvable, limitation of DejaGNU. GCC has managed to resolve the issue but the solution is very complex.

Change History (1)

comment:1 by Xi Ruoyao, 16 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.