Skip to content

0.3.1 --- a remembered okb admission reads no byte of the member - #19

Merged
Sunrisepeak merged 1 commit into
mainfrom
okb-admission-shape
Nov 2, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
okb-admission-shape

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

okrun admitted a remembered okb member with okld_okb_admit and no manifest, which computes the member's CRC-32: a pass over the whole member on every start (0.1 s of processor time for clangd's 71 MB image; the engine's warm-prime starts 176 workers of clangd.okb in a cold build, and measured the image at 3.45x the native engine on CI). okld_okb_admit_layout admits by shape alone; the remembered path uses it.

Locally: okrun clangd.okb --version 0.11 s / 2 200 page faults before, 0.00 s / 28 after (the admission remembered).

0.3.1 for ld, run, tools and bind.

The runner admitted a member it had compared before, on the same file, by
calling okld_okb_admit without a manifest, which computes the CRC-32 the
archive states: a pass over the whole member on every start, 0.1 s of
processor time for clangd's 71 MB image on each of the 176 workers a cold
build of 176 modules starts. okld_okb_admit_layout admits by shape alone
(stored, within the archive, aligned), and the remembered path uses it.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit b9cb44c into main Nov 2, 2026
5 checks passed
@Sunrisepeak
Sunrisepeak deleted the okb-admission-shape branch November 2, 2026 11:47
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.

1 participant