-
Notifications
You must be signed in to change notification settings - Fork 622
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
Long Processing Time in dpkg-db-cataloger with all-layers Option (Syft 1.20.0) #3683
Long Processing Time in dpkg-db-cataloger with all-layers Option (Syft 1.20.0) #3683
Comments
Hey @tallstory - Just a quick update here I've been trying to track down where the performance decrease happened between 0_95_0 to most recent. When I track the version where this was introduced I'll run a git bisect and try to find what is causing the issue. Apologies for the regression here. |
Hey @spiffcs , just checking in-any updates on this issue? |
Hey @tallstory -- @spiffcs is on PTO, so I just thought I would have a quick look at this since I have an experimental PR that is parallelizing the dpkg cataloger and when this gets merged, it will muddy the waters. I think you noticed a change to improve this; I'm leaving this issue open until the parallelism work lands, as I think it will get performance close enough to be considered fixed, even though it may increase the overall cataloger time by a minute or more, as I noted in the PR, this is due to a change that the cataloger is necessarily doing more work, but should bring performance in the ballpark to what you were seeing before. |
What happened:
After upgrading Syft from 0.95.0 to 1.20.1, I noticed that analyzing the nvcr.io/nvidia/pytorch:24.08-py3 image with the all-layers option results in dpkg-db-cataloger taking significantly longer than before - around 50 minutes.
Initially, I suspected this might be a bug, but after further analysis, I’m unsure if this is expected behavior or if there’s something specific about this image that is causing the delay.
What you expected to happen:
I expected the analysis to complete in a timeframe similar to previous Syft versions (e.g., 0.95.0), where this step appeared to run significantly faster.
Steps to reproduce the issue:
Run the following command with Syft 0.95.0
Run the following command with Syft 1.20.0
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: