Problem: flux overlay status makes some unnecessary RPCs that slow things way down on el cap. Specifically, the overlay.health RPC is made to leaf nodes despite the fact that the parent already knows the status of its children.
Eliminating that gets us about a 4x speedup on el cap.
before
[garlick@elcap1:cmd]$ time /usr/bin/flux overlay status >/dev/null
real 1m28.377s
user 0m56.726s
sys 0m0.905s
After
[garlick@elcap1:cmd]$ time ./flux overlay status >/dev/null
real 0m19.892s
user 0m18.275s
sys 0m0.209s
Problem:
flux overlay status
makes some unnecessary RPCs that slow things way down on el cap. Specifically, theoverlay.health
RPC is made to leaf nodes despite the fact that the parent already knows the status of its children.Eliminating that gets us about a 4x speedup on el cap.
before
After