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

Graph analysis took too long to finish #12

Open
yliu7366 opened this issue Jul 29, 2024 · 4 comments
Open

Graph analysis took too long to finish #12

yliu7366 opened this issue Jul 29, 2024 · 4 comments
Assignees

Comments

@yliu7366
Copy link

Dear VesselExpress team,

I ran into issues of being slow when using vesselExpress CLI to analysis heart light sheet images. Seems to me that the graph analysis is running on single thread and it took too long to finish. For example, I gave my task 64 cores but it took more than 120 hours to process the segmented vessels from a sub-volume for the size of 500x8000x8000 (ZYX, voxel size 0.5 um). Is there anyway to make the graph analysis step runs faster?

@jxchen01
Copy link

jxchen01 commented Aug 6, 2024

hi @yliu7366, could you first try to do a test run on a small sample and see if everything works as expected?

@philippa1812 do you have any idea of what could be the reason?

@yliu7366
Copy link
Author

yliu7366 commented Aug 6, 2024

hi @yliu7366, could you first try to do a test run on a small sample and see if everything works as expected?

@philippa1812 do you have any idea of what could be the reason?

The graph analysis step running time seems to scale with the size of vessel network. I was able to finish the whole pipeline on a same sized sub-volume but with less vessel. Even in that case the graph analysis took many hours to finish. I wonder if you have the running time benchmark on your sample datasets for me to compare. Thanks!

@philippa1812
Copy link
Collaborator

Hi @yliu7366

The graph analysis takes about 1 1/2 minutes for an image of 250 MB with 500 x 500 x 501 (XYZ) on standard hardware. The graph analysis has different parts that scale linearly with image size and number of foreground points in the binary and skeleton image. Unfortunately, it does not support parallel processing, so the larger the image and vessel network, the longer the runtime.

@yliu7366
Copy link
Author

yliu7366 commented Aug 6, 2024

Hi @yliu7366

The graph analysis takes about 1 1/2 minutes for an image of 250 MB with 500 x 500 x 501 (XYZ) on standard hardware. The graph analysis has different parts that scale linearly with image size and number of foreground points in the binary and skeleton image. Unfortunately, it does not support parallel processing, so the larger the image and vessel network, the longer the runtime.

Thanks a lot for the data point. Without knowing the details of the graph analysis step, I wonder if loops in the vessel network could make it runs infinitely. I am testing it again with a 25-day limit to see if it will eventually finish on my data.

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

3 participants