In a previous question I asked how to only let a heavy job run if two of two executors are available. This assures, that fast builds always have an executor not being blocked by a heavy one.
Fast jobs are below 10 minutes, heavies can take hours.
It the next level I look at Jenkins build clusters. Imagine one master and n build slaves with each m executors in a giant build environment. Short: A random big number of executors.
How can I assure that at least x% of the executors are available for fast jobs? If x% is less than 1 executor (e.g. 10% of 4 executors), 1 executor shall be available.