scopehal-apps icon indicating copy to clipboard operation
scopehal-apps copied to clipboard

Swap older history waveforms out to disk

Open azonenberg opened this issue 4 years ago • 1 comments

Not all glscopeclient users have 192GB of RAM on their workstation. It would be nice to allow extremely deep history even on low-memory machines by flushing sample data from older history waveforms to disk (keeping metadata in RAM for fast indexing).

Ideally the maximum RAM and disk history cache sizes would be specified in MB/GB under separate preferences, rather than forcing the user to specify history depth in waveforms (which may change RAM usage as capture settings change).

azonenberg avatar Mar 24 '21 19:03 azonenberg

Additionally, we should avoid burning GPU memory on older historical waveforms. Care may be needed to ensure that we properly recycle CPU+GPU waveforms to avoid wasting time on allocations, etc.

azonenberg avatar Sep 06 '22 17:09 azonenberg