4-core / 24GB ARM / 8 tunnels
FTNN instance budget
| 建議 sustained | 4 instances |
|---|---|
| 短期 pilot 上限 | 6 instances,只限live-only、≤100 SIDs、無history burst |
| 8 tunnels | 只代表8條network path,唔等於CPU可安全跑8個FTNN |
| 8 instances | 唔建議未壓測就上;FEX/event loop/decoder/fsync burst會先撞CPU latency |
預算依據
- 舊GUI candidate RSS約1.2–1.6GB;24GB RAM理論夠,但要留OS/page cache/log/rollback headroom。
- 單instance light flow約0.2–0.4 ARM core平均,訂35 SIDs/OB/tick有burst;history會引發stall,必須分phase。
- 無頭瘦身可以減Chromium/Qt RSS,但FTNN/FEX quote core仍存在,CPU唔會按GUI比例歸零。
部署gate
- 先1→2→4 instance階梯壓測,每階≥30分鐘;
- 量p95 event lag、CPU steal/load、RSS、log fsync、drop/gap、rollback;
- 4個穩定先試6;任何p95 lag>2s、gap、RSS swap即退一級;
- 每instance固定一tunnel、一profile、一≤100 SID shard;history獨立時段。
結論:規劃值4,實驗上限6;8唔係目前安全預算。