음성 재생과 운영 배포 정리
This commit is contained in:
parent
8ed185ce6c
commit
ac7db95542
1020 changed files with 46863 additions and 2175 deletions
35
docs/ops/engine-rss-smoke-2026-06-28.md
Normal file
35
docs/ops/engine-rss-smoke-2026-06-28.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Engine RSS Smoke — 2026-06-28
|
||||
|
||||
목적: `engine_gateway`가 만든 상주 `claude -p` 세션 1개의 Windows RSS/Private memory를 실측한다.
|
||||
|
||||
환경:
|
||||
- OS/셸: Windows 11 + Windows PowerShell 5.1
|
||||
- Gateway: `http://127.0.0.1:9099`
|
||||
- Gateway process: `python.exe -m uvicorn engine_gateway.gateway:app --host 127.0.0.1 --port 9099`
|
||||
|
||||
절차:
|
||||
1. `GET /health`로 gateway healthy 및 sessions=0 확인.
|
||||
2. `POST /session`으로 probe 세션 1개 생성.
|
||||
3. gateway PID의 하위 프로세스 트리를 `Get-CimInstance Win32_Process` + `Get-Process`로 계측.
|
||||
4. `POST /session/{session_id}/turn`에 `Reply with exactly OK.` 한 턴 전송.
|
||||
5. 닫기 전 같은 프로세스 트리를 재계측.
|
||||
6. `DELETE /session/{session_id}`로 세션 종료.
|
||||
|
||||
실측 결과:
|
||||
|
||||
| 시점 | PID | 부모 PID | 프로세스 | WorkingSet MB | Private MB | 비고 |
|
||||
|---|---:|---:|---|---:|---:|---|
|
||||
| after_create | 51592 | 31720 | `python.exe` | 16.1 | 46.2 | engine gateway |
|
||||
| after_create | 51688 | 51592 | `claude.exe` | 343.8 | 613.5 | `claude -p --input-format stream-json --output-format stream-json ...` |
|
||||
| after_create | 64468 | 51688 | `bun.exe` | 42.8 | 49.3 | Claude plugin runtime |
|
||||
| after_create | 54580 | 64468 | `bun.exe` | 135.6 | 557.9 | Claude plugin server |
|
||||
| after_turn | 51592 | 31720 | `python.exe` | 16.2 | 46.2 | engine gateway |
|
||||
| after_turn | 51688 | 51592 | `claude.exe` | 363.3 | 628.8 | resident engine session |
|
||||
| after_turn | 64468 | 51688 | `bun.exe` | 42.8 | 49.3 | Claude plugin runtime |
|
||||
| after_turn | 54580 | 64468 | `bun.exe` | 135.8 | 558.5 | Claude plugin server |
|
||||
|
||||
해석:
|
||||
- 상주 엔진 세션 1개의 핵심 `claude.exe` RSS는 한 턴 후 약 363.3MB다.
|
||||
- gateway Python 자체 RSS는 약 16.2MB다.
|
||||
- Claude CLI가 plugin runtime을 함께 띄우는 현재 환경에서는 자식 `bun.exe` 2개가 추가로 약 178.6MB RSS를 사용한다.
|
||||
- 이 값은 Windows 작업 집합 기준이며, 모델/플러그인/Claude CLI 버전과 세션 프롬프트에 따라 변할 수 있다.
|
||||
Loading…
Add table
Add a link
Reference in a new issue