Skip to content
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

Asteroid output data is huge and takes much time to write #454

Closed
agioffe opened this issue Jun 6, 2024 · 7 comments
Closed

Asteroid output data is huge and takes much time to write #454

agioffe opened this issue Jun 6, 2024 · 7 comments

Comments

@agioffe
Copy link
Collaborator

agioffe commented Jun 6, 2024

Writing of asteroid data in the pipeline takes about 20 minutes, the output object size is ~ 20 Gb:

18:50:51.787 [INF] WRX80: pipline.DemonLAST finished saving Merged Cats and Matched sources for group 1 / RunTime: 573.4
19:13:51.771 [INF] WRX80: pipline.DemonLAST finished saving Asteroid data for group 1 / RunTime: 1953.4

$ du -sh 222635v3/* |grep G
23G 222635v3/LAST.01.08.03_20230616.222625.384_clear_346+79_001_001_001_sci_merged_Asteroids_1.mat
$

The dataset is the standard visit employed by pipeline's unit test at pipeline.DemonLAST.unitTest:
20 images starting from
LAST.01.08.03_20230616.222625.384

@EranOfek
Copy link
Owner

EranOfek commented Jun 6, 2024 via email

@agioffe
Copy link
Collaborator Author

agioffe commented Jun 6, 2024

please provide details. E.g., where can we found the specific dataset that was used for this test.

On Thu, Jun 6, 2024 at 9:06 AM Alexander Krassilchtchikov < @.> wrote: Writing of asteroid data in the pipeline takes about 20 minutes, the output object size is ~ 20 Gb: 18:50:51.787 [INF] WRX80: pipline.DemonLAST finished saving Merged Cats and Matched sources for group 1 / RunTime: 573.4 19:13:51.771 [INF] WRX80: pipline.DemonLAST finished saving Asteroid data for group 1 / RunTime: 1953.4 @.:/matlab/data/pipeline/LAST/2023/06/16/proc$ du -sh 222635v3/* |grep G 23G 222635v3/LAST.01.08.03_20230616.222625.384_clear_346+79_001_001_001_sci_merged_Asteroids_1.mat @.:/matlab/data/pipeline/LAST/2023/06/16/proc$ — Reply to this email directly, view it on GitHub <#454>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4NB3Q5GJD2EK4WTKW3ZF736ZAVCNFSM6AAAAABI4A4LHSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTOMZYGQ2DGNY . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thanks, updated above.

@EranOfek
Copy link
Owner

EranOfek commented Jun 6, 2024 via email

@agioffe
Copy link
Collaborator Author

agioffe commented Jun 6, 2024

'LASTpipelineUnitTest'

@EranOfek
Copy link
Owner

EranOfek commented Jun 7, 2024

I suspect this is cause by a change that I did recently:

in pipeline.generic.multiRaw2procCoadd:
Args.MergedMatchMergedCat logical = false;

and
pipeline.generic.procMergedCoadd
Args.MergedMatchMergedCat logical = false;

Chaned it back to true - the idea is that it will remove most of the asteroids false alarms.
@shasha: Please test with new version.

@agioffe
Copy link
Collaborator Author

agioffe commented Jun 7, 2024

Thanks, will check and report here.

@agioffe
Copy link
Collaborator Author

agioffe commented Jun 9, 2024

Yes, this cured both the size of the output and the processing speed of the whole pipeline, which went back to 380~s total, with all the disk writes and DB interactions.

@agioffe agioffe closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants