Commit 2482aa2
Remove per-packet backpressure: streaming 3x faster (#35)
With COBS trailing zero bug fixed + D-cache enabled, per-packet ACK
is no longer needed. Pure streaming at 921600 baud:
Before (per-packet ACK): 16MB in 9 min (30 KB/s)
After (streaming): 16MB in 3.5 min (77 KB/s)
Selfupdate also switched to streaming mode.
Verified: 16MB CRC32 match on hi3516ev300.
Co-authored-by: Dmitry Ilyin <widgetii@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 49226c4 commit 2482aa2
2 files changed
Lines changed: 8 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
338 | 336 | | |
339 | 337 | | |
340 | 338 | | |
| |||
540 | 538 | | |
541 | 539 | | |
542 | 540 | | |
543 | | - | |
544 | | - | |
| 541 | + | |
545 | 542 | | |
546 | 543 | | |
547 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | 338 | | |
344 | 339 | | |
345 | 340 | | |
| |||
603 | 598 | | |
604 | 599 | | |
605 | 600 | | |
606 | | - | |
| 601 | + | |
607 | 602 | | |
608 | 603 | | |
609 | 604 | | |
| |||
613 | 608 | | |
614 | 609 | | |
615 | 610 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | 611 | | |
623 | 612 | | |
624 | 613 | | |
| |||
0 commit comments