Stock Z-Stack & EmberZNet vs ZeroStack
ZeroStack v1.0.0 is benchmarked across two layers: real-world PoE/TCP smart-home workloads on unmodified Zigbee2MQTT & Home Assistant ZHA (TI SLZB-06P7U and Silicon Labs SLZB-06Mg24U), and hardware-level DWT->CYCCNT cycle counts on a TI CC1352P7 at 48.0 MHz (1 µs = 48 cycles).
Real-world smart-home outcomes (Part 3, TI + SiLabs)
Section titled “Real-world smart-home outcomes (Part 3, TI + SiLabs)”See Part 3: real-world smart-home benchmarks for full methodology and per-scenario tables.
| Smart-home scenario | Stock TI Z-Stack (SLZB-06P7U) | Stock EmberZNet (SLZB-06Mg24U) | ZeroStack v1.0.0 (TI / SiLabs) |
|---|---|---|---|
| 10-light room scenes (25 bursts) | 1,232.6 ms p95 spread | 591.0 ms p95 / 1,820.8 ms max full-room | 249.4 ms p95 spread (4.9× tighter TI) · 255.2 ms p95 spread, 100% delivery (SiLabs) |
| Live 2 Hz control during 64 KB OTA | 1,247.8 ms p95 / 3,523.9 ms max, 2 timeouts | 264.5 ms p95 / 1,771.2 ms max, 221.6 s OTA | 129.3 / 142.7 ms @ 115200 (9.6× lower p95, TI) · 119.3 ms p95, 97.4 s OTA (2.28× faster, SiLabs) |
| 2× concurrent 64 KB OTAs (131 KB) | 333.2 s, 58 retries, 13 timeouts | 397.8 s (329.8 B/s) | 216.4 s, 0 retries @ 460800 (TI) · 87.9 s (1,492.4 B/s, 4.52× faster, SiLabs) |
| Multi-hop large payloads (1–7 hops) | 10 / 21 FAIL (0x10 MEM_ERROR) |
— | 21 / 21 PASS (100%), 0 memory errors |
| 48-device startup storm & switch speed | 6.80 s (1 timeout), 6,089.4 ms max | 7.14 s, 7,132.3 ms max | 1.81 s (48/48, 18–21 ms switch, TI) · 1.75 s (48/48, 4.08× faster, SiLabs) |
Silicon cycle-level impact (Part 1 & Part 2, TI CC1352P7)
Section titled “Silicon cycle-level impact (Part 1 & Part 2, TI CC1352P7)”D is the mesh and non-volatile table depth (D=150 for security and storm tests, D=300 for the join flood). k is the number of heap holes.
Production impact, by category
Section titled “Production impact, by category”| What changes in production | Stock TI Z-Stack | SMLIGHT ZeroStack (v1.0.0) | Real-world impact |
|---|---|---|---|
| Per-frame NWK security (D=150) | Encrypt 533,156 cyc (11.11 ms). Decrypt 532,182 cyc (11.09 ms). Routed hop 22.19 ms. | Encrypt 3,968 cyc (82.7 µs, 0 flash reads). Decrypt 3,824 cyc (79.7 µs, 0 flash reads). Routed hop 7,792 cyc (162 µs). | 134.4× faster encrypt, 139.2× faster decrypt. Routed ceiling >6,100 pkt/s against ~45 pkt/s (135×). |
| TCLK key lookup miss (300-entry table, first contact) | 1,486,228 cyc (30.96 ms) | 326 cyc (6.8 µs, 0 flash reads) | 4,559× faster. The oldest-record hit is 1,915× faster. Removes pairing-interview timeouts. |
| Flash wear and NVRAM compaction | Unchanged 100 B write: 100,714 cyc (2.10 ms), flash written 48/48 times. First compaction at write #69. | Unchanged 100 B write: 3,770 cyc (78.5 µs), 0 B written 48/48 times. First compaction at write #1,013 (13.7 ms stall). | 14.7× lower compaction rate, 26.7× faster idempotent writes, 0% unnecessary flash wear. |
| Power-cut and brownout recovery | Torn record: 20,232 B written and 62 page erases on the next boot. 1 NOR write-verify conflict. | Torn record: 27 B written and 0 page erases. 0 lost or corrupted records across 22,959 power-cut points plus 2,000,000 shadow-fuzz operations. | 749× lower post-brownout flash I/O, 0 lost records. |
| Hostile UART framing and noise (6 scenarios, 115,200 baud) | 8.84 s blackout (44 consecutive lost pings) on a 300 × SOF storm. 1 lost ping (203 ms) per truncated frame. | 0 lost pings across all 6 scenarios, 3–55 ms wire-speed recovery, Δheap 0 B. SYS_PING reply path 816 cyc against 4,921. |
Eliminates SRSP - SYS - ping after 6000ms lockups. 53% fewer total SYS_PING cycles, 83% fewer on the reply path. |
| Broadcast storm (50 routers, 1,000 echoes, D=150) | 143,865 cyc (3.00 ms) per echo, 3.00 s total CPU. Broadcast table: 30 active slots. | 7,076 cyc (147 µs p50) per echo, 151.16 ms total CPU. Broadcast table: 40 slots (+33%). | 19.9× lower total CPU, 20.3× faster per echo. The 64-frame post-outage flood drops from 200.25 ms to 18.87 ms (10.6×). |
Memory allocator (malloc, k=64 holes) |
2,550 cyc (53.1 µs), O(k) hole walk | 218 cyc (4.5 µs), O(1) constant time | 11.7× faster, 0% fragmentation penalty. |
| Malformed over-the-air NWK/APS frames | Remote CPU frame-processing fault within ~3.0 ms (SYS_RESET_IND). Accepts malformed routing headers (144,127 cyc). |
0 crashes across 12 fault classes and 3,255 MAC boundary vectors. Rejection in 320–6,631 cyc (6.7–138 µs). | Remote reset eliminated, up to 402× lower CPU cost on rejection. |
Additional measured subsystems
Section titled “Additional measured subsystems”| Subsystem | Stock TI Z-Stack | SMLIGHT ZeroStack (v1.0.0) | Measured speedup |
|---|---|---|---|
| TCLK lookup hit (300-entry table, oldest record, age 383) | 620,396 cyc (12.92 ms) | 324 cyc (6.75 µs, 0 flash reads) | 1,915× (Slot 0 hit: 7.1×, Slot 299 hit: 9.1×) |
| Per-frame APS TX security (300-peer table, D=0..100) | 52,909–409,301 cyc (up to 8.53 ms) | 5,410–5,424 cyc (113 µs) | Up to 75.5× |
| Device authentication check (Slot 0 → 299) | 1,656 → 42,243 cyc (up to 880 µs) | 181 → 179 cyc (3.7 µs) | Up to 236× |
| NVM stack key read (D = 0 → 150) | 2,347 → 64,817 cyc (up to 1.35 ms) | 302–303 cyc (6.3 µs) | Up to 213.9× |
| Timer start (T=39 timers, 64 heap holes) | 10,034 cyc (209.0 µs, heap-coupled) | 1,448 cyc (30.2 µs, heap-independent) | 6.9× |
Inter-task event enqueue (msgSend, Q=64) |
935 cyc (19.5 µs, O(Q) walk) | 322 cyc (6.7 µs, O(1) flat) | 2.9× |
| 1,000-frame cryptographic replay flood (D=150) | 143,802 cyc (3.0 ms) per replay, 2.99 s total CPU | 1,550 cyc (32 µs) per replay, 32.4 ms total CPU | 92.8× |
| Authenticated header, ciphertext or MIC tamper (D=150) | 143,058–143,065 cyc (2.98 ms) per frame | 4,760–4,771 cyc (99 µs) per frame | 30.0× |
| 50-device unauthenticated join / TCLK-miss flood (D=300) | 33.9 ms per miss, 1.70 s total stall | 4 µs (208 cyc) on-CPU, 0.22 s total wire time | 7.7× |
Where the numbers come from
Section titled “Where the numbers come from”- Engineering whitepaper: full Part 1 and Part 2 tables, methodology, and failure-mode analyses.
- Engineering whitepaper: full Part 1, Part 2, and Part 3 tables, methodology, and failure-mode analyses, plus the Part 1 PDF.
- Machine-readable output via the
zerostack-mcpget_zerostack_benchmarkstool.

