Open
Description
Describe the bug
Running a DSLX interpreter can consume a huge amount of RAM for larger designs like ZSTD decoder.
Additionally, we noticed that the resources are not released between different test cases, and RAM consumption increases steadily over time.
To Reproduce
Steps to reproduce the behavior:
- Checkout to the zstd_compressed_block_dec branch
- Run any program for monitoring RAM usage (
top
,htop
) - Run
bazel run -- //xls/modules/zstd:zstd_dec_dslx_test --logtostderr
- Observe growing RAM consumption
Expected behavior
The interpreter should not consume that much RAM on larger designs.
Ideally, for a correct design that reads data from all its channel queues, it should be possible to run the DSLX interpreter simulation infinitely with a (more or less) constant RAM consumption.
I will try to provide more debug/profiling information and append to this issue.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status