Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson c6d5aa29ba ansible: new multiplexer/workers configuration
Following on from 152effc26c9a5918cb7ead7a97fe7fa7f81b6764,

* Pin mux to CPU 0
* Pin top-level CPU 1
* Pin workers sequentially to CPU 2..n

Nets 19.5% improvement on issue_140__thread_pileup.yml when targetting
64 Docker containers on the same 8 core/16 thread machine.

Before (prior to last scheme, no affinity at all):

    2294528.731458      task-clock (msec)         #    6.443 CPUs utilized
        10,429,745      context-switches          #    0.005 M/sec
         2,049,618      cpu-migrations            #    0.893 K/sec
         8,258,952      page-faults               #    0.004 M/sec
 5,532,719,253,824      cycles                    #    2.411 GHz                      (83.35%)
 3,267,471,616,230      instructions              #    0.59  insn per cycle
                                                  #    1.22  stalled cycles per insn  (83.35%)
   662,006,455,943      branches                  #  288.515 M/sec                    (83.33%)
    39,453,895,977      branch-misses             #    5.96% of all branches          (83.37%)

     356.148064576 seconds time elapsed

After:

    2226463.958975      task-clock (msec)         #    7.784 CPUs utilized
         9,831,466      context-switches          #    0.004 M/sec
           180,065      cpu-migrations            #    0.081 K/sec
         5,082,278      page-faults               #    0.002 M/sec
 5,592,548,587,259      cycles                    #    2.512 GHz                      (83.35%)
 3,135,038,855,414      instructions              #    0.56  insn per cycle
                                                  #    1.32  stalled cycles per insn  (83.32%)
   636,397,509,232      branches                  #  285.833 M/sec                    (83.30%)
    39,135,441,790      branch-misses             #    6.15% of all branches          (83.35%)

     286.036681644 seconds time elapsed
6 years ago
.ci ci: fix incorrect partition/rpartition from 8a4caea84f 6 years ago
.github github: tweak issue template. 6 years ago
ansible_mitogen ansible: new multiplexer/workers configuration 6 years ago
docs docs: update Changelog. 6 years ago
examples core: many docstring updates and an example substitute for Channel 6 years ago
mitogen ansible: new multiplexer/workers configuration 6 years ago
scripts misc: rename to scripts. tab completion!! 6 years ago
tests utils: pad out reset_affinity() and integrate with detach_popen() 6 years ago
.gitignore Add venvs/ to gitignore 6 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml issue #477: travis.yml typo. 6 years ago
LICENSE Add license text everywhere. 7 years ago
README.md Motivational shame badges back in README 6 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 6 years ago
preamble_size.py add --dump to preamble_size.py. 6 years ago
run_tests Allow independant control of coverage erase and reporting 6 years ago
setup.cfg Ignore another annoying flake8 message. 7 years ago
setup.py Drop 'alpha' trove classifier 6 years ago
tox.ini Aggregate code coverage data across tox all runs 6 years ago

README.md