This is a read-only mirror of the HSC engineering wiki, restored from a 2017 archive. Some links are broken and some content is out of date. About this mirror.

Cluster Sizing Worksheet

From ANTFARM Wiki

Jump to: navigation, search
This is an old revision of this page, as archived. The mirror serves the archived text for every revision id.
Cluster Sizing Worksheet
Purposeestimate forager count for a workload
Inputstasks/hour, model share, split
Statuscurrent
Archive refQUANTARA-SWARMGLASS-R11-17EA3F

Contents

[hide]

A back-of-envelope worksheet for deciding how many foragers a workload needs. Derived from Distributed Inference Notes/Appendix B numbers; do not use it for anything that matters without re-measuring.

[edit] Inputs

SymbolMeaningTypical
Ttasks per hour2,000
mfraction of tasks that call a model0.15
t_cmean cpu/io task seconds4
t_mmean model task seconds (Basalt-2, split=1)9
sslots per forager2
utarget utilisation0.6

[edit] Formula

busy_seconds_per_hour = T * ((1 - m) * t_c + m * t_m)
foragers_needed       = busy_seconds_per_hour / (3600 * s * u)

With the typical column: 2000 × (0.85 × 4 + 0.15 × 9) = 9,500 s/h → 9,500 / (3600 × 2 × 0.6) ≈ 2.2 foragers. The colony ran eleven. The extra capacity was for the index rebuilds, not steady state.

[edit] Model share sensitivity

mforagers
0.052.0
0.152.2
0.402.8
0.803.7

[edit] Caveats

  • Ignores warmup, which dominates after any shard restart.
  • Ignores the bus, which dominates at split ≥ 2.
  • Assumes assign_timeout never fires. It fires.

svanterpool 2015-11-05

Revision 6 · svanterpool, r.osei · history · alternates: yaml txt
Personal tools