performance issue regarding global explorers ( cdist/conf/explorer ) #2
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
explorers on
cdist/conf/explorer
make the connection slower. it would be interesting to catch the eye how this is done and what kind of optimizations could be doneif the function or process that manage the global explorers is the same as for all explorer's types, it could be responsible of a general slow down of cdist operation
I just want to document here the tests, and let other people know. and from there, at least, understand why this happens and what can be done. and how much it affects
TODO: I would like to know how to execute all the chain of explorers to know how much time they need. This does not work:
time sh cdist/conf/explorer/*
TODO: another interesting test would be to add a lot of dummy explorers
reproducibility
change myhost with other ssh hosts to test other possibilities
localhost
bad remote host on same lan
bad remote host in my case is a laptopt with a broken wifi driver (so lots of packets are drop, etc.)
good remote host
same laptop with iwlwifi and power management OFF (that way, lots of packets are dropped) and in the same LAN
a bad remote host is a host where lots of packets are dropped
well I saw this and I just wanted to share my tests. Given the entire source code of the cdist project, I am saying that maybe we should review or discuss the part where explorers are uploaded to the remote host and how are executed there. Maybe another approach would improve overall speed of cdist.
changed the description
Firstly, I don't understand what the difference between a "good" and a "bad" remote host is (and how that is related to iwlwifi?).
But, given that my cdist runs are usually around 120 seconds with
-j4
the difference in run times with and without explorers seems insignificant to me (0.3s for localhost, 1.6s for good remote host).@pedro Can you elaborate a bit more?
My gut feeling is that, in this case, it makes more sense to fix the bad remote host instead of tuning the way explorers are executed.
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description