You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nomad's NetworkIndex struct serves 3 purposes during scheduling:
Assigning an IP address for each network.port stanza
Ensuring the job's static ports are not already in use on the node being ranked
Choosing an unused port for job's dynamic ports
However we build this index regardless of whether or not a job even requires networking! Not only does this impact performance, but it means any bugs in NetworkIndex (such as #13505) affect jobs which don't even require networking!
Sadly I don't think making computing the NetworkIndex conditional will be straightforward since where we initialize the NetworkIndex and where we check for the existence of network stanzas and use the NetworkIndex are spread apart.
The text was updated successfully, but these errors were encountered:
Nomad's
NetworkIndex
struct serves 3 purposes during scheduling:network.port
stanzaHowever we build this index regardless of whether or not a job even requires networking! Not only does this impact performance, but it means any bugs in NetworkIndex (such as #13505) affect jobs which don't even require networking!
Sadly I don't think making computing the NetworkIndex conditional will be straightforward since where we initialize the NetworkIndex and where we check for the existence of
network
stanzas and use the NetworkIndex are spread apart.The text was updated successfully, but these errors were encountered: