GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(phase-14): memory profile at scale — RSS per resident world and compaction spike · Issue #13086 · developing-today/code

id(phase-14): memory profile at scale — RSS per resident world and compaction spike #13086

New issue
Copy link
New issue
Copy link
Closed
#13224
Closed
id(phase-14): memory profile at scale — RSS per resident world and compaction spike#13086
#13224
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Part of the #6304 v1 large-world stress program (Phase 14 core topic #6281). Design: pkgs/id/doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/2026-11-23T07-53-00Z_design_scale_perf_stress_v1.md. Depends on the stress generator slice of #6304's breakdown.

Scope

Memory profile of the world stack at scale: RSS per resident world at the 1x and 10x tiers, resident-set growth under the existing per-world memory budget / eviction behaviour (#557 criteria), and the memory spike during checkpoint compaction of a large journal (the committed compaction baseline is 10,972 us at 2,000 entries; measure at a 100k-entry journal).

Acceptance

  • RSS-per-resident-world numbers at 1x and 10x on the reference laptop, recorded in the id(phase-14): Scale & performance hardening — v1 — first-iteration design #6304 limits table.
  • Compaction peak-memory number at a 100k-entry journal, recorded alongside the existing 2,000-entry baseline.
  • Any tier at which the resident set cannot be held is reported as a measured limit (the wall is a result, not a failure).

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    design/id-phase-14Design: id-phase-14 - all issues of this effort carry it
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4775

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane RF (archer) claiming this slice.

    Plan: extend the stress bench surface in pkgs/id/benches/world_bench.rs (beside the stress_gen profile landed in #13083) with a memory-profile measurement — RSS per resident world at the 1x and 10x tiers, and peak memory during checkpoint compaction of a 100k-entry journal (alongside the committed 2,000-entry baseline). Numbers go into the #6304 design doc's limits table; any tier that cannot hold its resident set is recorded as a measured wall, per the acceptance criteria.

  4. developing-today
    added
    status:in-review
    on Nov 23, 2026
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — Lane RF: PR #13224 is open with the full slice.

    Landed in the PR: the stress_mem profile in world_bench (RSS per resident world at a tier; compaction peak memory at 2,000 and 100,000 entries), the verbatim stress_world_entries extraction it shares with the generator, and the three measured rows in the #6304 design's limits table.

    Headline results (reference laptop, medians of 5 runs): 1x resident set fully held — 21,011 B/world blended over 1,101 worlds; 10x fully held — 18,223 B/world over 11,001 worlds, no wall at either tier; compaction spike 4.88 MiB over pre-op RSS at 2,000 entries and 89.41 MiB at 100,000 entries. Full numbers and verification are in the PR.

  6. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    docs(id): record post-merge stress_mem medians in the #6304 limits ta…

    5c2839e

    Merge pull request #13224 from developing-today/lane-rf-13086

    36b25a0
  7. dezren39
    closed this as completedin #13224on Nov 23, 2026
  8. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done — Lane RF. PR #13224 merged (36b25a094169), this issue auto-closed as completed, and the change is verified present on main.

    What landed:

    • stress_mem profile in pkgs/id/benches/world_bench.rs: RSS per resident world at a stress tier (idle/active/hot restored through WorldCore::restore and held, RSS sampled between phases) and the compaction peak-memory measurement (recover via FileJournal::open, restore, hold, FileJournal::compact to the 64-entry checkpoint set) at 2,000 and 100,000 entries. ID_BENCH_STRESS_MEM_PART splits the parts per process.
    • The generator's entry construction extracted verbatim into stress_world_entries (character-identical, 1,224 chars; stress_gen --quick hot hash 8ef2ffc8a61f687b unchanged before/after and after the merge with id(phase-14): frame cost vs world state size — view fuel and wall time at 10k/100k/1M events #13085/fix(id-bench): recover stress_gen after interrupted generation #13181).
    • Three measured rows in the id(phase-14): Scale & performance hardening — v1 — first-iteration design #6304 design's limits table.

    Acceptance, against the merged tree (reference laptop, medians of 5 runs):

    • RSS per resident world: 1x — 21,834 B/world blended (1,101 worlds held, 28.56 MiB total; idle 11,350 B/world; active 93,593 B/world; hot +3,280,896 B). 10x — 18,320 B/world blended (11,001 worlds held, 197.90 MiB total; idle 9,334 B/world; active 87,945 B/world; hot +20,250,624 B).
    • Compaction peak memory: 5.59 MiB over pre-op RSS at 2,000 entries; 89.34 MiB at 100,000 entries, recorded directly under the 10,972 µs / 2,000-entry baseline row.
    • Walls: none — both tiers' resident sets are fully held on the reference laptop, and no eviction engages on the restore path (eviction lives in the hub/actor layer); resident-set growth is the recorded phase progression.

    Verification: release bench build clean on the merged tree (no new warnings), cargo fmt --check clean for the bench file, --quick smokes green for stress_gen, stress_mem, and the co-merged frame_cost. The numbers in the table are the post-merge re-measurement (the pre-merge batch differed by ≤ ~9% on the idle marginal, within baseline-RSS drift; the table carries the merged-tree values).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.