-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running out of local storage space while creating SigMF archive on external SSD #71
Comments
Yes, the current implementation of this is extremely inefficient and wasteful. I had hoped to someday rewrite it using the The basic idea is to write directly into a tarball instead of copying the files into a temporary directory first. |
Yes, this is usually my preference, especially in cases where the end user must manually transfer recordings from one device to another, or upload them to a cloud storage drive. With multiple loose files there is higher risk of a file getting overlooked or misplaced during the transfer process.
Sure, I would be happy to make a contribution if I can. I am not a qualified SW engineer (my background is mostly in RF engineering), but I've been writing software on and off for many years as part of my job, so I should be able to make at least some progress on this task. If you have any tips to get me started, please let me know. Otherwise, I will start by familiarising myself with the Regarding the development timeframe, I should be able to devote some time to this towards the end of September. The SigMF archive feature directly affects my current project, so I can justify a few days of full-time effort. Cheers, |
It seems that Line 66 in 72faad3
If I'm not mistaken you can set the |
@Deschain, thanks for the suggestion. I have tried this on my target platform and achieved good results. During the archiving process I can see that my internal storage remains unchanged, while the I think this will be a satisfactory "short-to-medium-term" solution to my original problem. It remains to be seen whether further improvements can be achieved by writing directly into a tarball instead of copying the files into a temporary directory first, as suggested by @gmabey. I will perform some benchmarking experiments with different tar generating utilities when time permits. |
Hi Folks,
I have run into a problem when trying to convert a large IQ recording into a SigMF archive.
The problem starts when I call the
archive()
method. When thesigmf-data
file is very large (10-20 GB), the local storage on my small computing device fills up until there is no space left, at which point my Python script crashes. This occurs even if the target location for the archive is on an external SSD.My suspicion is that the tar utility that generates the SigMF archive is creating a temp file on the local drive. Unfortunately my local drive is an eMMC card with only 5GB of free storage, which greatly limits the size of the recordings I can archive.
Details of my system configuration are as follows:
Can anyone suggest a workaround for this problem?
Thanks,
Brendan.
The text was updated successfully, but these errors were encountered: