Sign Up

Details

Whenever TDMS files are opened, set the TDMS file-level property for NI_MinimumBufferSize to be 10k or something large, since the default is 0. This results in no buffering of the TDMS data in the TDMS cache and can lead to bloated chunks of data getting into the TDMS and index files. I've tested this change locally and it greatly reduces on-disk footprint of the TDMS file sizes. Is there a reason the codebase does not set this property after opening the TDMS files? I think it would be a helpful update if there wasn't a deliberate reason not to.

Comments

Brian Hoover Version 2.2.0.11 now has the minimum buffer size set to 10k in places where the TDMS file is created. I also did some testing and didn't realize the file property meant it was applied to all channels under all groups. That made it much easier to add and reduced the file size on fragmented files a ton. Thanks for the suggestion.
 •  Reply3 days

Please sign in to leave a comment.