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

Release v1.5.2 #230

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Release v1.5.2 #230

merged 1 commit into from
Oct 17, 2024

Conversation

msm-cert
Copy link
Member

This release consists almost exclusively of performance improvements. Query speed is reduced by over 50% in the tested workloads.

Features:

Performance:

Correctness:

Refactoring and maintenance:


Tests were performed on a dataset consisting of 9416097 files (over 2TB of data), using a single server with a HDD RAID, and by matching all yara rules from https://github.com/Neo23x0/signature-base/ (that were not "degenerate", i.e. broken). No user-visible changes other than performance were discovered (i.e. still the same files returned). The measured time is a sum of time taken by all matching.

Name Time
opt0_1ffe9c01 --> opt1_1ffe9c01 3648s --> 3548s (-100, -2.72%)
opt1_1ffe9c01 --> opt2_1ffe9c01 3548s --> 3583s (+34, +0.98%)
opt2_1ffe9c01 --> opt3_1ffe9c01 3583s --> 3341s (-243, -6.76%)
opt3_1ffe9c01 --> opt4_1ffe9c01 3341s --> 3164s (-178, -5.30%)
opt4_1ffe9c01 --> opt5_1ffe9c01 3164s --> 3280s (+116, +3.68%)
opt5_1ffe9c01 --> opt6_1ffe9c01 3280s --> 3003s (-278, -8.45%)
opt6_1ffe9c01 --> opt7_1ffe9c01 3003s --> 2415s (-589, -19.58%)
opt7_1ffe9c01 --> opt8_1ffe9c01 2415s --> 1635s (-781, -32.30%)
opt8_1ffe9c01 --> opt9_1ffe9c01 1635s --> 1378s (-257, -15.70%)
total improvement 3648s --> 1378s (-2270, -62.22%)

@msm-cert msm-cert merged commit a94284d into master Oct 17, 2024
5 checks passed
@msm-cert msm-cert deleted the release/v1.5.2 branch October 17, 2024 15:39
@msm-cert
Copy link
Member Author

msm-cert commented Oct 17, 2024

Just to be clear, for mquery users: this only speeds up the first part of the matching (prefiltering). The second part of mquery work - yara matching - is unaffected by these changes, and in most cases is expected to be slower.

But it does make mquery faster, just not by 250% :).

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

Successfully merging this pull request may close these issues.

2 participants