From your print_stats()
output (reformatted here,)
Job execution statistics:
job count | % of all jobs | job time sum | time per job | job server
4 | 100.00 | 16.0401 | 4.010028 | local
Time elapsed since server creation 4.04183793068
0 active tasks, 4 cores
everything seems to be fine. You have 4 CPU cores; you could complete 4 jobs within 4 seconds after the creation of the job server; the system consumed 16 CPU seconds in total to get all the jobs done.
You may want to try top -H
, htop
or Windows Sysinternals Process Monitor
to observe CPU consumption in real time.