diff options
| author | eunhhu <[email protected]> | 2026-09-28 19:57:27 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-28 19:57:27 +0100 |
| commit | 5f8c14f774b81bd6d65d531035eae61b79b1d12c (patch) | |
| tree | 230b95b30326b4077732d44858bea4eac4204820 /docs/research/094-idle-links.md | |
| parent | 354a73d82a3f16d7fdc215c2c63d8fe9afd5ef00 (diff) | |
| download | pure-5f8c14f774b81bd6d65d531035eae61b79b1d12c.tar.gz pure-5f8c14f774b81bd6d65d531035eae61b79b1d12c.zip | |
Measure a restart under load and a first contact (095)
M2 and M4 of design 011. Ten thousand devices send an order every five
seconds (2,000 a second); the receiver is killed (-9) at about 21 s and
started again at once. With its secrets remembered the node shows no
100 ms step without an order stored, catches up in 0.2 s, spends no more
CPU than before and makes no X25519; 34 orders were sent again, and
every order made was applied once (three rounds; on the SD card the
same, with 0.2 s silent). Without the memo it makes 10,000 X25519, 1.6 s
of CPU. quinn under the same load stops for 1.0 s and catches up after
10.9 s: 10,115 new connections, about 7 s more of the service's CPU and
8 s of the clients'. A first contact takes Pure one round trip and QUIC
two, at 10, 50 and 100 ms of RTT.
run.py --restart and --first-contact make them; the quinn harness gains
a fixed port with a reset key from its key, clients that connect again,
and a drain for M5.
Diffstat (limited to 'docs/research/094-idle-links.md')
| -rw-r--r-- | docs/research/094-idle-links.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/research/094-idle-links.md b/docs/research/094-idle-links.md index 57fc736..573db98 100644 --- a/docs/research/094-idle-links.md +++ b/docs/research/094-idle-links.md @@ -133,8 +133,8 @@ H1의 뒷부분("프로세스 메모리는 활성 링크 수에만 비례")은 � ## 한계와 다음 - **재시작의 비대칭 연산.** 활성 상태를 비우면 비밀도 잊는다. 그래서 재시작한 노드는 링크마다 X25519를 한 번 한다(169 µs). - 011의 M2 중단 기준("이어지는 데 링크 수에 비례하는 비대칭 연산")에 걸린다. 다음 일은 비밀의 메모다. 키 파일 옆 파일에 - 보내는 이마다 64 B 칸을 두고 매핑한다. 쉬는 링크의 칸은 상주하지 않는다. + 011의 M2 중단 기준("이어지는 데 링크 수에 비례하는 비대칭 연산")에 걸린다. [095](095-restart-and-first-contact.md)에서 비밀의 + 메모로 풀었다. 키 파일 옆 파일에 보내는 이마다 64 B 칸을 두고 매핑한다. 쉬는 링크의 칸은 상주하지 않는다. - **받는 쪽의 처리량.** 새 보내는 이를 받는 속도는 초당 약 3,700이다. 노드 CPU의 대부분이 X25519다. - **보내는 쪽.** 링크마다 스레드와 소켓이 하나씩이다. 노드가 기기 100만 대에 보내는 방향은 아직 안 된다. 보내는 쪽도 한 스레드와 한 소켓에 여러 링크를 둬야 한다. |
