Skip to content

Cut cell startup: most of it is cloning a 30 GiB root disk #8

Description

@wrkode

Measured startup is 4m45s from cell creation to Ready, of which roughly 3 minutes is cloning the 30 GiB root disk. Demand to usable capacity is 6m14s end to end (the pool notices demand on its resync, up to requeueSteady = 2 min).

So the remaining latency is storage, not software — baking already cut this from ~14 minutes. Options worth measuring:

  • a smaller root disk in the reference image (30 GiB is generous for a node that runs containers on an overlay)
  • a copy-on-write clone strategy instead of copy, where the storage class supports it
  • shortening the demand-detection lag by watching inner pods rather than relying on the resync

At ~5 minutes this sits exactly on the line the design drew for itself: reactive autoscaling stays worthwhile, but a latency-sensitive pool should keep minReplicas above zero rather than scaling to zero. Halving it would change that advice.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions