You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
$ time ./syft_0_95_0 packages --scope all-layers nvcr.io/nvidia/pytorch:24.08-py3 -v
[0000] INFO syft version: 0.95.0
[0000] INFO new version of syft is available: 1.20.0 (current version is 0.95.0)
...
./syft_0_95_0 packages --scope all-layers nvcr.io/nvidia/pytorch:24.08-py3 318.20s user 62.48s system 77% cpu 8:10.52 total
Run the following command with Syft 1.20.0
$ time ./syft_1_20_0 scan --scope all-layers nvcr.io/nvidia/pytorch:24.08-py3 -v
[0000] INFO syft version: 1.20.0
...
[3451] INFO task completed elapsed=49m35.771351958s task=dpkg-db-cataloger
...
./syft_1_20_0 scan --scope all-layers nvcr.io/nvidia/pytorch:24.08-py3 -v 3535.15s user 89.69s system 102% cpu 58:40.23 total
Anything else we need to know?:
Is this expected behavior for certain images, or could this indicate an optimization issue?
Are there any recommended workarounds or alternative configurations to reduce processing time in this case?
Let me know if additional debugging information would be helpful.
Environment:
Output of syft version: 0.95.0, 1.20.0
OS: macOS (Apple Silicon)
$ sw_vers -productVersion
15.1.1
The text was updated successfully, but these errors were encountered:
tallstory
changed the title
Long Processing Time in dpkg-db-cataloger with all-layers Option (Syft 1.20.1)
Long Processing Time in dpkg-db-cataloger with all-layers Option (Syft 1.20.0)
Feb 24, 2025
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: