Opened 15 months ago

Last modified 12 months ago

#5345 closed enhancement

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

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.
  • Make
    • Not solvable, test suite just does not support parallelism.

Change History (2)

comment:1 by Xi Ruoyao, 15 months ago

Description: modified (diff)

comment:2 by Xi Ruoyao, 15 months ago

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