Skip to content

Parallel processing throughput keeps decreasing #228

@aallrd

Description

@aallrd

Hello,

I am trying to use lcov to process a lot of coverage data from a big project.
The server I am using has 56 cores available, I am using --parallel 12 and I see 12 geninfo child processes running as expected.
I would expect constant files/s processing but I observe the reported throughput on the stdout going down as time passes, and the remaining time going up.

$ lcov --version
lcov: LCOV version 2.0-1
$ geninfo --version
geninfo: LCOV version 2.0-1
$ lcov \
  --parallel 12 \
  --test-name 639717 \
  --rc geninfo_unexecuted_blocks=1 \
  --output-file coverage.639717.info \
  --gcov-tool $(pwd)/gcov \
  --capture \
  --build-directory SOURCES \
  --directory COVERAGE/639717
Capturing coverage data from COVERAGE/639717
geninfo cmd: 'geninfo COVERAGE/639717 --output-filename coverage.639717.info --test-name 639717 --build-directory SOURCES --gcov-tool /opt/bin/gcov --rc geninfo_unexecuted_blocks=1 --parallel 12 --memory 0'
Found gcov version: 11.2.1
Using intermediate gcov format
Writing temporary data to /tmp/geninfo_datVndA
Scanning COVERAGE/639717 for .gcda files ...
Found 44782 data files in COVERAGE/639717
files remaining: 44582 (101.31 files/s - predict 7.33 minutes remaining)
files remaining: 44382 (74.21 files/s - predict 9.97 minutes remaining)
files remaining: 44182 (60.64 files/s - predict 12.14 minutes remaining)
files remaining: 43982 (53.95 files/s - predict 13.59 minutes remaining)
files remaining: 43782 (49.13 files/s - predict 14.85 minutes remaining)
files remaining: 43582 (45.17 files/s - predict 16.08 minutes remaining)
files remaining: 43382 (41.93 files/s - predict 17.24 minutes remaining)
[...]
files remaining: 39382 (15.89 files/s - predict 41.31 minutes remaining)
[...]

I am not seeing any resource issue / contention on the server.
Do you have an idea why the lcov throughput is going down?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions