Shared DB - Linux

These results should be viewed as guidelines and not performance guarantees, since there are many variables that affect performance (file set, network configurations, hardware characteristics, etc.). If throughput is important to your implementation, OPSWAT recommends site-specific benchmarking before implementing a production solution.

Environment

Using AWS environment with the specification below:

MetaDefender Core

OSAWS instance typevCPUMemory (GB)Network bandwidth (Gbps)Disk typeBenchmark
MetaDefender Core #1Debian 12c5.4xlarge1632Up to 10SSDAmazon EC2 c5.4xlarge - Geekbench
MetaDefender Core #2Debian 12c5.4xlarge1632Up to 10SSDAmazon EC2 c5.4xlarge - Geekbench

RDS

OSAWS instance typevCPUMemory (GB)Network bandwidth (Gbps)Disk type
Windows Server 2022db.m7i.4xlarge1664Up to 10SSD

Deployment Model

Using a AWS Load Balancer to distribute files sent from the client tool to two (2) different MetaDefender Core servers applying Round Robin algorithm. With this algorithm, each MetaDefender Core server is supposed to receive same number of requests.

Client tool

A simple tool written in Python to collect files in a designated folder and submit requests to Load Balancer mentioned above.

Python
Copy
OSAWS instance typevCPUMemory (GB)Network bandwidth (Gbps)Disk type
CentOS 7c5.4xlarge1632Up to 10SSD

Dataset

Detailed information of dataset below will be used for testing:

File categoryFile typeNumber of filesTotal size (MB)Average file size (MB)
AdobePDF370385 MB1.0 MB
ExecutableEXE45309.5 MB6.9 MB
MSI1545.75 MB3.1 MB
ImageBMP80515 MB6.4 MB
JPG420237.5 MB0.6 MB
PNG345169 MB0.5 MB
MediaMP3135865 MB6.4 MB
MP450500 MB10.0 MB
OfficeDOCX235190 MB0.8 MB
DOC225486 MB2.2 MB
PPTX365860 MB2.4 MB
PPT3551950 MB5.5 MB
XLSX340283.5 MB0.8 MB
XLS335284.5 MB0.8 MB
TextCSV100236 MB2.4 MB
HTML107576 MB0.1 MB
TXT500210 MB0.4 MB
ArchiveZIP

Compressed files: 10

Extracted files: 270

Compressed size: 125.5 MB

Extracted size: 156.5 MB

Avg compressed size: 12.6 MB

Avg extracted size: 0.6 MB

Summary (compressed)50007728.5 MB1.55 MB average file size
Summary (extracted)52607759.5 MB1.48 MB average file size

Product Information

Product versions:

  • MetaDefender Core 5.14.0
  • Engines:
    • Metascan 5: Ahnlab, ClamAV, ESET, Bitdefender, K7.
    • Metascan 10: Metascan 5, Avira, Quick Heal, VirIT Explorer, Varist, Ikarus, Tachyon.
    • Metascan MAX: Metascan 10, NANO, Sophos, McAfee, CrowdStrike, Lionic, Xvirus, WebRoot, Cylance, RocketCyber, CMC.
    • Deep CDR: 7.4.0
    • Proactive DLP: 2.23.0
    • Archive: 7.4.0
    • File type analysis: 7.4.0
    • File-based vulnerability assessment: 4.57-236

MetaDefender Core settings

General settings

  • Turn off data retention
  • Turn off engine update

Archive extraction settings

  • Max recursion level: 99999999
  • Max number of extracted files: 99999999
  • Max total size of extracted files: 99999999
  • Timeout: 10 minutes
  • Handle archive extraction task as Failed: true
    • Extracted partially: true

Metascan AV settings

  • Max file size: 99999999
  • Scan timeout: 10 minutes
  • Per engine scan timeout: 1 minutes

Performance test results

MetaDefender Core with single engine (technology)

Summary metrics:

Use caseScan durationThroughputAvg. processing time
(minutes)(processed objects/hour)(seconds/object)
Metascan 58.1942,0370.004
Metascan 1010.9700,0450.005
Metascan MAX31.7240,7090.014
Deep CDR11.1687,4320.005
Proactive DLP8.5897,7050.004
Vulnerability8.4908,3920.004

System resource utilization:

Use caseAvg./Max CPU usageAvg./Max CPU usageAvg./Max RAM usageAvg./Max RAM usageAvg. Network speedAvg. Network speed
Core 1Core 2Core 1Core 2Core 1Core 2
(%)(%)(%)(%)(KB/s)(KB/s)
Metascan 532.9 / 64.832.2 / 64.636.5 / 45.637 / 45.88,7658,426
Metascan 1064 / 94.562.4 / 95.242.5 / 4641 / 44.76,5336,502
Metascan MAX67.3 / 99.266.2 / 99.454 / 7454 / 74.64,3104,753
Deep CDR63.6 / 91.564 / 9250.6 / 5451.2 / 54.76,0055,601
Proactive DLP43.5 / 72.646.2 / 7443.8 / 5044.7 / 50.46,7896,235
Vulnerability36.2 / 7136.8 / 7141.5 / 41.740.3 / 40.86,9016,763

MetaDefender Core with common engine packages

Summary metrics:

Use caseScan durationThroughputAvg. processing time
(minutes)(processed objects/hour)(seconds/object)
Metascan 5 + Deep CDR12.1630,6190.006

Metascan 5 + Deep CDR

+ Proactive DLP

14.7519,0810.007

Metascan 5 + Deep CDR

+ Proactive DLP + Vulnerability

15.3498,7250.007
Metascan 10 + Deep CDR14.6522,6360.007

Metascan 10 + Deep CDR

+ Proactive DLP

17.5436,0280.008

Metascan 10 + Deep CDR

+ Proactive DLP + Vulnerability

17.9426,2840.008
Metascan MAX + Deep CDR34.5221,1730.016

Metascan MAX + Deep CDR

+ Proactive DLP

35.1217,3930.016

Metascan MAX + Deep CDR

+ Proactive DLP + Vulnerability

35.7213,7390.016

System resource utilization:

Use caseAvg./Max CPU usageAvg./Max CPU usageAvg./Max RAM usageAvg./Max RAM usageAvg. Network speedAvg. Network speed
Core 1Core 2Core 1Core 2Core 1Core 2
(%)(%)(%)(%)(KB/s)(KB/s)

Metascan 5

+ Deep CDR

68.8 / 9368 / 93.245.7 / 49 .646 / 50.85,5265,420

Metascan 5

+ Deep CDR

+ Proactive DLP

76 / 93.671.3 / 94.847.2 / 51.548.3 / 51.35,9965,195.1

Metascan 5

+ Deep CDR

+ Proactive DLP

+ Vulnerability

82.5 / 96.481.4 / 96.249.6 / 5349.5 / 54.85,4824,579

Metascan 10

+ Deep CDR

83 / 95.885.7 / 9547.5 / 5147 / 49.84,7944,777

Metascan 10

+ Deep CDR

+ Proactive DLP

89 / 9786.7 / 95.749.3 / 57.550 / 56.44,4684,352

Metascan 10

+ Deep CDR

+ Proactive DLP

+ Vulnerability

89.5 / 9992.5 / 99.350.6 / 58.351.5 / 593,8794,404

Metascan MAX

+ Deep CDR

83 / 98.583 / 99.264 / 74.364 / 76.34,2544,205

Metascan MAX

+ Deep CDR

+ Proactive DLP

84.8 / 9984.5 / 99.364 / 7564.3 / 76.84,1674,018

Metascan MAX

+ Deep CDR

+ Proactive DLP

+ Vulnerability

86.3 / 99.287 / 99.664.3 / 7565.6 / 78.24,1924,073

Recommendations

Controlling total processing time of each MD Core server:

In this deployment model, we should organize and send files in the way that it best utilizes the load of each MD Core server. It is not a good practice if one Core server is free while the other one is busy. By optimizing the distribution of files, we can ensure that each Core server is utilized efficiently, thereby improving overall system performance. Furthermore, this approach can help prevent bottlenecks and minimize the chances of system overload.

Adding proper number of MD Core servers to the cluster:

Adding more Core servers to this model will increase more load on the shared database. When adding a new MD Core server, users should monitor performance of database server such as memory/CPU consumption, disk usage, network bandwidth, request response time and so on… to see if it still can handle the load. This is important in order to maintain optimal performance and ensure that the database server can continue to efficiently serve the needs of the system.

Optimizing database server for better performance:

Continuing to add more Core servers to this model may result in increased strain on the shared database. As such, it is crucial to ensure that the database is optimized to handle the additional load effectively. Users can consider adjusting default database settings of PostgresSQL to optimize for more data load if needed. Here is where we can adjust PostgresSQL database settings: <PostgreSQL install location\version>\data\postgresql.conf.

Besides that, MD Core also supports a parameter (db_connection) for users to specify max connections that MD Core can handle, take a look at this guideline: MetaDefender Configuration.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard