Skip to content

Train space estimate from measured project.licht; evict train entries last - #29

Merged
pgodlews merged 1 commit into
mainfrom
claude/busy-wright-hrw8u5
Oct 4, 2026
Merged

pgodlews merged 1 commit into
mainfrom
claude/busy-wright-hrw8u5

Conversation

@pgodlews

@pgodlews pgodlews commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Issue #28: a 9M, SH 3 run with 9 snapshots was estimated at 104 GB (about
23 GB expected), more than the disk had free, so gc_cache evicted the
previous job's finished train directory, project.licht and all its
snapshots, and only the service's stdout said so.

  • space_estimate("train"): project.licht at one generation per snapshot
    plus the final (2 without snapshots), 131 B + 2.1 B per SH coefficient
    per splat per generation, the line through the two measurements (3M/SH 1:
    156 B, 6M/SH 3: 231 B). The restore-point copy is charged only when
    restore points are on. 6M/SH 3/9 snapshots: 69.9 -> 21.1 GB (15.7 GB
    measured); 9M: 104 -> 31 GB.
  • gc_cache evicts train entries after every other stage's, LRU within
    each: they hold the only copy of a job's snapshots and resume point.
  • ensure_space(job_id=) records what it evicted with the job that needed
    the room: the stage log (under the command line), runs/job/
    evictions.json, the job API (evictions) and telemetry (evictions,
    docs/job-telemetry.md).

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Sf6XcYDnVaUaV1YZGbQyho

… last

Issue #28: a 9M, SH 3 run with 9 snapshots was estimated at 104 GB (about
23 GB expected), more than the disk had free, so gc_cache evicted the
previous job's finished train directory, project.licht and all its
snapshots, and only the service's stdout said so.

- space_estimate("train"): project.licht at one generation per snapshot
  plus the final (2 without snapshots), 131 B + 2.1 B per SH coefficient
  per splat per generation, the line through the two measurements (3M/SH 1:
  156 B, 6M/SH 3: 231 B). The restore-point copy is charged only when
  restore points are on. 6M/SH 3/9 snapshots: 69.9 -> 21.1 GB (15.7 GB
  measured); 9M: 104 -> 31 GB.
- gc_cache evicts train entries after every other stage's, LRU within
  each: they hold the only copy of a job's snapshots and resume point.
- ensure_space(job_id=) records what it evicted with the job that needed
  the room: the stage log (under the command line), runs/job<id>/
  evictions.json, the job API (`evictions`) and telemetry (`evictions`,
  docs/job-telemetry.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sf6XcYDnVaUaV1YZGbQyho
@pgodlews
pgodlews merged commit 0e4d665 into main Oct 4, 2026
3 checks passed
@pgodlews
pgodlews deleted the claude/busy-wright-hrw8u5 branch October 4, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants