You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Title: Use local storage for cache and intermediate files when processing data from network drives #634
When processing raw data stored on a mapped network drive, reading the source data and writing many small files over the same network connection creates substantial overhead and slows down processing.
Expected behavior
Allow users to configure a working directory on a fast local drive, preferably an SSD.
Create cache, intermediate files, and generated output locally.
Once processing is complete, transfer the output files to the network destination using an optimized transfer strategy, such as batching or controlled parallel transfers.
Confirm successful transfer before removing local output files.
Retain the local cache for reuse across processing sessions.
Approximately 4.78 GB (4.45 GiB) of input files generated a peak tracked cache of 124.43 GB (115.89 GiB) across 114,637 files—about 26 times the input size. The generated output files occupy approximately 4.88 GB.
Recorded stage durations, rounded to the nearest second:
Stage
Duration
Loading
00:02:27
Cache preparation
01:47:23
Odometry
05:08:21
Export / writing results
03:09:29
Total through export, including other overhead
10:07:42
Cache cleanup
00:29:46
Total measured operations, including cleanup
10:37:28
The measured operation total excludes approximately 9 minutes 24 seconds of interactive idle time between export completion and cleanup. Elapsed time from the start of processing to cleanup completion was 10:46:52.
Cache preparation, export, and cleanup together took 5 hours 26 minutes 39 seconds, longer than the odometry stage. These are stage wall times; the report does not isolate network transfer from compression and other CPU work.
Capacity risk
For this run, a mapped network location was necessary because it provided enough storage. A local drive with only 83.1 GB free would have been insufficient: the final cache alone exceeded that capacity, before allowing space for output files. Without safeguards or recovery, exhausting storage during writing could potentially compromise hours of completed work.
Cleanup overhead and visibility
Deleting the cache took an additional 29 minutes 46 seconds, averaging approximately 64.2 files per second. A separate measurement over approximately three minutes observed 66.8 files per second.
Cleanup continued after the application window closed. The console showed:
There was no visible cleanup progress or estimated remaining time. While deletion was running, the saved report still showed zero cleanup time; it was updated after deletion finished. The final report now confirms that the cache was removed, with zero remaining cache files and no reported errors.
Requested improvements
Configurable local working storage, with multiple cache locations and fallback when capacity becomes limited.
Continuous free-space monitoring, early warnings, and a safety reserve.
Safe pause/resume during writing, allowing users to free space or add another destination.
Recovery from interrupted writes without repeating completed computation.
Local file generation where capacity permits, followed by optimized, verified transfer to the network destination.
Investigation of cache growth and file count, with configurable retention and cleanup policies.
Visible cleanup progress and a final report that clearly distinguishes results written from cleanup completed.
Fast local storage needs to be accompanied by capacity management and recoverability to support this workflow reliably.
Activity
dancmari commentedon Nov 14, 2026
Final update: result generation and cache cleanup have both completed, with no reported errors.
Test environment
Storage usage and timings
Approximately 4.78 GB (4.45 GiB) of input files generated a peak tracked cache of 124.43 GB (115.89 GiB) across 114,637 files—about 26 times the input size. The generated output files occupy approximately 4.88 GB.
Recorded stage durations, rounded to the nearest second:
The measured operation total excludes approximately 9 minutes 24 seconds of interactive idle time between export completion and cleanup. Elapsed time from the start of processing to cleanup completion was 10:46:52.
Cache preparation, export, and cleanup together took 5 hours 26 minutes 39 seconds, longer than the odometry stage. These are stage wall times; the report does not isolate network transfer from compression and other CPU work.
Capacity risk
For this run, a mapped network location was necessary because it provided enough storage. A local drive with only 83.1 GB free would have been insufficient: the final cache alone exceeded that capacity, before allowing space for output files. Without safeguards or recovery, exhausting storage during writing could potentially compromise hours of completed work.
Cleanup overhead and visibility
Deleting the cache took an additional 29 minutes 46 seconds, averaging approximately 64.2 files per second. A separate measurement over approximately three minutes observed 66.8 files per second.
Cleanup continued after the application window closed. The console showed:
There was no visible cleanup progress or estimated remaining time. While deletion was running, the saved report still showed zero cleanup time; it was updated after deletion finished. The final report now confirms that the cache was removed, with zero remaining cache files and no reported errors.
Requested improvements
Fast local storage needs to be accompanied by capacity management and recoverability to support this workflow reliably.