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

Support for app-only vdb #360

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Support for app-only vdb #360

merged 2 commits into from
Oct 21, 2024

Conversation

prabhu
Copy link
Member

@prabhu prabhu commented Oct 20, 2024

Set the environment variable VDB_APP_ONLY=true to use the special app-only vdb for improved performance.

To test locally do:

vdb --clean
export VDB_APP_ONLY=true
export USE_VDB_10Y=true
python depscan/cli.py ...

The new app-only v5 vdb is around 2.1 GB. Therefore, this can work under VMs with < 8 GB memory.

❯ ls -lh /Volumes/Work/vdb
total 2.1G
-rw-r--r-- 1 prabhu 117M Oct 21 01:52 data.index.vdb5
-rw-r--r-- 1 prabhu 1.9G Oct 21 01:52 data.vdb5

The larger 10y app-only vdb is over 8.3 GB. Therefore, a minimum of 10 GB memory is required.

❯ ls -lh /Volumes/Work/vdb_10y
total 8.3G
-rw-r--r-- 1 prabhu 404M Oct 21 05:09 data.index.vdb5
-rw-r--r-- 1 prabhu 7.9G Oct 21 05:09 data.vdb5

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added enhancement New feature or request sponsored labels Oct 20, 2024
@prabhu prabhu marked this pull request as ready for review October 21, 2024 00:15
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit 806cf71 into release/5.x Oct 21, 2024
40 checks passed
@prabhu prabhu deleted the feature/optional-malware branch October 21, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant