diff options
| author | eunhhu <[email protected]> | 2026-09-30 03:19:45 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-30 03:19:45 +0100 |
| commit | 41cb1cca55c67dd2aac2afa2f96bdc09a5d50b78 (patch) | |
| tree | e2929b52580a1d52544178c18e2f5cfaea50f993 /docs/design/012-link-protocol.md | |
| parent | 385754c2d00ba3f4c74a22f55d4756e101f215b1 (diff) | |
| download | pure-41cb1cca55c67dd2aac2afa2f96bdc09a5d50b78.tar.gz pure-41cb1cca55c67dd2aac2afa2f96bdc09a5d50b78.zip | |
Say where a node's memory goes, and the budget it now keeps (104, 013)
104 measures a node's memory under a receiver that is down and under a
snapshot held for long (021's run.py: resident memory against what was
posted, 30 s a case). A held snapshot grew the node without end (6.4 to
678 MiB, fixed in d1e8f38); a slow receiver grows it by what was sent,
221 B a send, which is state until delivered, so the budget bounds state
and refuses past it.
013 is that budget's design: what it counts (state bytes, deterministic),
what an event over it does, why an answer takes its send's room, how
links and HTTP wait, what it does not count and those bounds, and the
checks. With --memory 4000000 the same load fills it in about 4 s and
the node stays at 9.6-9.8 MiB (45.9 MiB and growing without).
012 records the hole the budget found in the link (the full flag), and
103 that its clock fix fell short (385754c). CHECKPOINT gains the row.
Diffstat (limited to 'docs/design/012-link-protocol.md')
| -rw-r--r-- | docs/design/012-link-protocol.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/design/012-link-protocol.md b/docs/design/012-link-protocol.md index f2e9820..99d7a91 100644 --- a/docs/design/012-link-protocol.md +++ b/docs/design/012-link-protocol.md @@ -346,3 +346,7 @@ LOST는 그 패킷의 번호를 담아 에폭 0의 키로 봉인한다. 답 run� 갔다. 기록의 상한을 16 MiB로 맞췄다. - 받는 쪽은 피어마다 run 자리를 둘만 두었다. 한 노드의 출력 셋 이상이 같은 노드로 가면 run들이 서로 자리를 밀어내어, 답이 다른 run으로 갔다. 살아 있는 run이 더 오면 자리를 늘린다. +- 앱의 메모리 예산([013](013-memory-budget.md))을 더하며 하나를 더 찾았다. 앱이 가득 차 전달을 거절하면, 받는 쪽은 같은 + 기록을 곧바로 다시 넘겨 한 코어를 태웠고(2초에 거절 27,809번), 보내는 쪽은 받은 것이 1초째 저장되지 않자 창 전체를 매초 + 다시 보냈다(시뮬레이션에서 5초 동안 21,640건). 가득 참 깃발(2)과 다시 넘기는 간격을 더했다. 같은 조건에서 거절은 7번, + 다시 보낸 기록은 0건이다. |
