Perf and memory issues for >kHz time series data #5904
Labels
🪳 bug
Something isn't working
🐑🐑 duplicate
This issue or pull request already exists
🚀 performance
Optimization, memory use, etc
📈 plot
Plots, charts, graphs, timeseries, …
Rerun looks great! I have many hours of 1+ kHz IMU data to analyze, so I am hoping rerun can help with that. I know it is early days of support for the time series visualizations support for kHz data, but I saw https://www.rerun.io/blog/fast-plots and figured it would be good to provide some more data.
To Reproduce
Steps to reproduce the behavior:
cargo install rerun
✅rerun
✅cargo run --release
✅Expected behavior
I would expect memory usage 1-10x greater than the accelerometer in the data frame. Here I had 5M rows of ts, x, y, z (32 bytes total), so I expected between 150MiB and 1.5GiB.
Screenshots
![Screenshot 2024-04-10 at 5 23 43 PM](https://private-user-images.githubusercontent.com/8592049/321419403-b3e4a904-c6c4-4b1d-aa56-b0ad5fd3b5e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODMwMTUsIm5iZiI6MTczOTE4MjcxNSwicGF0aCI6Ii84NTkyMDQ5LzMyMTQxOTQwMy1iM2U0YTkwNC1jNmM0LTRiMWQtYWE1Ni1iMGFkNWZkM2I1ZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTAxODM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzAzZjBiYjUwMzlmNjAyYjczNDQyMzBlYWZhZWQ0NmM3ZTA0MzgzNTEwNGIzYWQ5ZjY4MzdhYjJmOGJhOGQzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.rikfvXJZui8qZwhZpbQs3rPs2evnf2ze54filaFse7A)
Desktop (please complete the following information):
Rerun version
rerun-cli 0.15.0 [rustc 1.77.1 (7cf61ebde 2024-03-27), LLVM 17.0.6] aarch64-apple-darwin
Additional context
Here is the code for the streaming. I can provide larger or smaller IMU accelerometer data at 416, 833, 1.6k, 3.3k, or 6.6kHz if desired. To bog down the UI, I used about ~25min of data or about 15MiB of parquet.
The dependencies from
Cargo.toml
The streaming code from
main.rs
The
stream-0x30.pq
(in a .zip)stream-0x30.pq.zip
The text was updated successfully, but these errors were encountered: