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.
mitogen/ansible_mitogen
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
7 years ago
..
compat/simplejson issue #477: vendorize the last 2.4-compatible simplejson 7 years ago
plugins ansible: synchronize module needs '.docker_cmd' attr for Docker plugin. 7 years ago
__init__.py ansible: restructure to avoid intermediate imports 8 years ago
affinity.py ansible: new multiplexer/workers configuration 7 years ago
connection.py issue #499: respect C.BECOME_ALLOW_SAME_USER. 7 years ago
loaders.py issue #400: rework the monkeypatch. 7 years ago
logging.py issue #61: unused import (reported by LGTM) 7 years ago
mixins.py issue #477: target.file_exists() wrapper. 7 years ago
module_finder.py ansible: fix 3.x dependency scanning on OS X 8 years ago
parsing.py issue #291: support UNIX hashbang syntax for ansible_*_interpreter. 8 years ago
planner.py issue #477 / ansible: avoid a race in async job startup. 7 years ago
process.py ansible: new multiplexer/workers configuration 7 years ago
runner.py issue #527: catch new-style module tracebacks like vanilla. 7 years ago
services.py issue #461: Ansible 2.3-compatible _get_candidate_temp_dirs(). 7 years ago
strategy.py ansible: new multiplexer/workers configuration 7 years ago
target.py issue #477 / ansible: avoid a race in async job startup. 7 years ago
transport_config.py issue #477: fix sudo_args selection. 7 years ago