Source: ggml
Version: 1.0.0-1
When tests are run in a build from source, particularly
test-backend-ops, please pass it a "-j N" option based on
parallel=N in DEB_BUILD_OPTIONS.
There is some parallelism visible in the test run without such an
option, but it completes in much less time with. If the specified
parallelism is N, then it seems something like N/4 should be
passed to -j on the test.
For reference, here are "time --verbose" outputs for a couple of
test runs on a system with 80 CPUs:
Command being timed:
"/tmp/ggml-1.0.0/obj-x86_64-linux-gnu/bin/test-backend-ops -b CPU"
User time (seconds): 4177.05
System time (seconds): 203.35
Percent of CPU this job got: 630%
Elapsed (wall clock) time (h:mm:ss or m:ss): 11:34.24
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 5674308
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 5479638
Voluntary context switches: 1220020
Involuntary context switches: 181315
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
Command being timed:
"/tmp/ggml-1.0.0/obj-x86_64-linux-gnu/bin/test-backend-ops -b CPU -j 20"
User time (seconds): 3490.90
System time (seconds): 291.34
Percent of CPU this job got: 3056%
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:03.74
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 9168664
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 4395627
Voluntary context switches: 7303355
Involuntary context switches: 196442
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
I would be happy to run additional tests, if helpful.