[Optimize] Switch DirectoryProcessor to in-memory mode (bypassing intermediate disk writes) - #62
Merged
Conversation
Update mesa-vulkan-drivers to version 25.2.8-0ubuntu0.24.04.1
Update libglib2.0 to version 2.80.0-6ubuntu3.7
Haralishev77
requested changes
Mar 24, 2026
Haralishev77
approved these changes
Mar 29, 2026
Haralishev77
pushed a commit
that referenced
this pull request
Jul 21, 2026
…ermediate disk writes) (#62) * fix bug with docker Update mesa-vulkan-drivers to version 25.2.8-0ubuntu0.24.04.1 * fix bug with docker Update libglib2.0 to version 2.80.0-6ubuntu3.7 * fix bug with name * first version * fix bugs with delete directory * delete pass and update checkers * fix tests and comments * add test in memory * Fix H1 and H2 * Remove comment in clear_directory_now method * git check * git check 2 * add empty memory_data test
meaning-0f-life
pushed a commit
to meaning-0f-life/OpenCDA
that referenced
this pull request
Jul 25, 2026
…ermediate disk writes) (CAVISE#62) * fix bug with docker Update mesa-vulkan-drivers to version 25.2.8-0ubuntu0.24.04.1 * fix bug with docker Update libglib2.0 to version 2.80.0-6ubuntu3.7 * fix bug with name * first version * fix bugs with delete directory * delete pass and update checkers * fix tests and comments * add test in memory * Fix H1 and H2 * Remove comment in clear_directory_now method * git check * git check 2 * add empty memory_data test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, sensor data was written to disk on every tick and then re-read by BaseDataset to form batches. This caused double I/O, serialization/deserialization overhead, and heavy dependency on disk speed - typical data preparation time ranged from 30–90 ms with spikes up to 350+ ms.
Changes:
input_dataparameter toupdate_dataset:Results (100-tick co-perception scenario):
Data preparation accelerated by more than 300× on average and median values. Completely eliminated fsync, file write/read, and directory scanning delays. System no longer depends on storage speed.
How to test:
The main bottleneck has now shifted further down the pipeline (inference, post-processing, etc.). A major step toward real-time co-perception performance.