Hello,

I am trying to speed up my ansible installation. I went from 20 minutes 
execution to 10 minutes by switching from centos6.4(paramiko) to 
fedora19(ssh+control persist). Enabling accelerate=true did not bring any 
speed up (??).

Here are the tests I ended up doing ; Can you help me understand the 
difference between the *debug:*, *script:* and *command:* measurements and 
what are my options to speed things up ?

what are your numbers on the same tests ? how can I measure what is a 
reasonable time from an ansible point of view versus bad configuration / 
bad vm hosting choices ?

what do you think is taking 3sec+ per task in accelerate mode with *command: 
echo "ping" ? *knowing that I have approximately 200 tasks in my actual 
playbook (output from --list-tasks), 200 tasks * 3 sec ~ 10 minutes which 
is what I am observing.

thank you for your help !
Jerome
--
*test procedure :*

* a simple playbook repeating 10 times a simple task on all hosts (3 remote 
hosts: cheap ovh vm)
* connection to remotes via ssh keys
* 2 runs only keep the values for the second run.

- hosts: all
  gather_facts: no
  tasks:
  - debug: msg="ping"
  .. repeated 10 times

*results:*

*10 x debug: msg="ping" *
 * ssh : 0.8 seconds
 * accelerate : 1.5 seconds

*10 x script: echo.sh *(the script only does echo "ping")
 * ssh: 15 seconds
 * accelerate: 10 seconds

*10 x command: echo "ping"*
 * ssh : 41 seconds
 * accelerate : 33.8 seconds



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to