• Klaus Aehlig's avatar
    Improve speed of iterateAlloc by a trying two step sizes · 70efca11
    Klaus Aehlig authored
    Currently, iterateAlloc tries one guess on the remaining capacity
    and falls back to small steps if that guess turns out to be too
    optimistic. In the typical case, that the allocation is bound by
    memory that initial guess works quite well; however, in some cases
    other requirements limit the amount of instances allocatable on a
    cluster. Instead of immediately giving up in this case, try smaller
    guess-and-verify steps to avoid having to check for global N+1 redundancy
    too often.
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
    70efca11
Name
Last commit
Last update
..
Confd Loading commit data...
Cpu Loading commit data...
Curl Loading commit data...
Daemon Loading commit data...
DataCollectors Loading commit data...
HTools Loading commit data...
Hs2Py Loading commit data...
Hypervisor Loading commit data...
JQScheduler Loading commit data...
JQueue Loading commit data...
Locking Loading commit data...
Logging Loading commit data...
Metad Loading commit data...
Monitoring Loading commit data...
Objects Loading commit data...
OpCodes Loading commit data...
Query Loading commit data...
Storage Loading commit data...
THH Loading commit data...
Utils Loading commit data...
WConfd Loading commit data...
BasicTypes.hs Loading commit data...
Codec.hs Loading commit data...
Common.hs Loading commit data...
Compat.hs Loading commit data...
Config.hs Loading commit data...
ConfigReader.hs Loading commit data...
ConstantUtils.hs Loading commit data...
Constants.hs Loading commit data...
Daemon.hs Loading commit data...
DataCollectors.hs Loading commit data...
Errors.hs Loading commit data...
Hash.hs Loading commit data...
JQScheduler.hs Loading commit data...
JQueue.hs Loading commit data...
JSON.hs Loading commit data...
Jobs.hs Loading commit data...
Kvmd.hs Loading commit data...
Lens.hs Loading commit data...
Logging.hs Loading commit data...
Luxi.hs Loading commit data...
Network.hs Loading commit data...
Objects.hs Loading commit data...
OpCodes.hs Loading commit data...
OpParams.hs Loading commit data...
Parsers.hs Loading commit data...
PartialParams.hs Loading commit data...
Path.hs Loading commit data...
PyValue.hs Loading commit data...
Rpc.hs Loading commit data...
Runtime.hs Loading commit data...
SlotMap.hs Loading commit data...
Ssconf.hs Loading commit data...
THH.hs Loading commit data...
Types.hs Loading commit data...
UDSServer.hs Loading commit data...
Utils.hs Loading commit data...
VCluster.hs Loading commit data...
Version.hs.in Loading commit data...