Hi,
We have about 500 hosts and we were testing the ssh connections that run in parallel at a given point before running the actual playbooks as we were hitting bottlenecks.
Ansible version being used: 2.10.5
Its a simple playbook which runs "ls" command on all the hosts.
QUERY 1:
-----------
Set the forks to 200 but i see the increment happening at max 64 ssh sessions/second using a watch command: (RAM 64 gb, 8 cores)
I was under the impression that Forks when set would indicate that many hosts the ssh connections would be created in parallel but thats not the case.
I should be seeing 200 ssh connection at once.
Can you please let me know if i am missing anything here? (pipelining, controlpath everything is set)
QUERY 2:
-------------
Also tried with the mitogen and non mitogen strategy and see the following:
strategy: free
Monday 18 October 2021 00:25:15 -0700 (0:00:05.505) 0:00:17.968 ********
===============================================================================
Run traffic from sources ------------------------------------------------------------------------------------------------------------ 5.51s
Here it says plabook took 5.51 seconds but if you see the time above its 17 minutes
with Mitogen
Monday 18 October 2021 00:26:29 -0700 (0:00:12.428) 0:00:12.529 ********
===============================================================================
Run traffic from sources ----------------------------------------------------------------------------------------------------------- 12.43s
Here the time almost matches.
Why this discrepancies seen for strategy set time does not match? Any reason?
what time should be considered here?
Regards
Aprameya