ChunkingΒΆ

Very fast experiments with a high repetition rate (>1 Hertz) are challenging. A particular problem are the time it takes the core device to switch from one run/kernel to the next. Atomiq tries to reduce this overhead by grouping together different runs in so-called chunks. Runs within a chuck are packed into the same ARTIQ kernel and are thus executed back-to-back (even without breaking real-time if you like) without the timing overhead of starting a new kernel. In principle one would like to pack all runs into a single kernel, but memory on the core device is limited, and thus we have to compromise and find a reasonable AtomiqExperiment.CHUNKSIZE that can be overwritten as a class-level attribute for your experiment class

_images/chunking.svg