Skip to content

Conversation

gardar
Copy link
Contributor

@gardar gardar commented May 13, 2025

Should speed up playbook execution significantly for most users.
While pipelining is already enabled and reduces per-task work inside each SSH session, ControlPersist reduces the cost of establishing SSH sessions by reusing the master connection.

@spantaleev
Copy link
Owner

Not sure if there's anything special in my environment (not that I know of), but doing this doesn't seem to have any impact.

time just run-tags install-all shows about ~300 seconds for a remote server I manage.

@gardar
Copy link
Contributor Author

gardar commented May 16, 2025

Perhaps you already have controlpersist in your ssh config?

@aine-etke
Copy link
Collaborator

the impact depends on how fast you establish a connection from your device (like laptop) to a server. With a fast internet connection and low ping to the server, you may not see any difference.
So, while having that option enabled by default is a good idea, you won't notice any changes with proper internet connection and server location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants