difftest icon indicating copy to clipboard operation
difftest copied to clipboard

Batch: support data split to reduce transmission bubble

Open klin02 opened this issue 1 year ago • 0 comments

Previously, we view data collected from same cycle as a whole, end batch assembling when step data longer than available space. It results in bubble in transmission, and cannot handle situation when step data longer than Max width in a single transmission.

This change support spliting step data according to collector, appending part of data to output and updating remained to state. To shorten logic length, we divide complex logic to three stage.

Note step data may be splited to different batch func, and should be read as a whole, so we avoid buffer-zone switch when batch enabled.

klin02 avatar Sep 26 '24 19:09 klin02