Shared DB - Windows

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 #1Windows Server 2022c5.4xlarge1632Up to 10SSDAmazon EC2 c5.4xlarge - Geekbench
MetaDefender Core #2Windows Server 2022c5.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 8: Ahnlab, Avira, ClamAV, ESET, Bitdefender, K7, Quick Heal, VirIT Explorer
    • Metascan 12: Metascan 8, Varist, Ikarus, Emsisoft, Tachyon
    • Metascan 16: Metascan 12, NANO, Comodo, VirusBlokAda, Zillya!
    • 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.2.416.0

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 88953,8120.004
Metascan 1214.4529,8950.007
Metascan 1615.7486,0190.007
Deep CDR9.51802,4350.004
Proactive DLP7.21,047,9920.003
Vulnerability6.21,230,7260.003

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 873.5 / 92.475.5 / 9249.5 / 5543 / 529,5709,145
Metascan 1287 / 9889.4 / 9953 / 57.444 / 495,6575,840
Metascan 1680 / 98.680.4 / 98.256.8 / 59.550.7 / 54.24,1686,031
Deep CDR72.4 / 91.672 / 90.552.6 / 6045.5 / 535,6175,602
Proactive DLP43.2 / 8049.4 / 8151.3 / 57.544.1 / 53.18,4608,383
Vulnerability61 / 85.561.7 / 88.348.4 / 53.541.5 / 49.311,69212,076

MetaDefender Core with common engine packages

Summary metrics:

Use caseScan durationThroughputAvg. processing time
(minutes)(processed objects/hour)(seconds/object)
Metascan 8 + Deep CDR13.2578,0680.006

Metascan 8 + Deep CDR

+ Proactive DLP

14.92511,5530.007

Metascan 8 + Deep CDR

+ Proactive DLP + Vulnerability

15.6488,6180.007
Metascan 12 + Deep CDR18.4414,7010.009

Metascan 12 + Deep CDR

+ Proactive DLP

19.3395,3620.009

Metascan 12 + Deep CDR

+ Proactive DLP + Vulnerability

19.4393,3240.009
Metascan 16 + Deep CDR21.1361,6350.01

Metascan 16 + Deep CDR

+ Proactive DLP

22.5339,1330.01

Metascan 16 + Deep CDR

+ Proactive DLP + Vulnerability

22.7336,8870.01

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 8

+ Deep CDR

86.6 / 9984.5 / 98.553.3 / 62.545.6 / 524,5895,148

Metascan 8

+ Deep CDR

+ Proactive DLP

83 / 9983.7 / 99.452.7 / 61.846 / 544,1244,038

Metascan 8

+ Deep CDR

+ Proactive DLP

+ Vulnerability

87 / 99.789 / 99.553 / 61.245.3 / 524,5134,079

Metascan 12

+ Deep CDR

87.3 / 9990.4 / 99.355.1 / 62.346.8 / 53.83,4383,340

Metascan 12

+ Deep CDR

+ Proactive DLP

90.7 / 99.390 / 99.556.8 / 6347.3 / 56.24,1223,337

Metascan 12

+ Deep CDR

+ Proactive DLP

+ Vulnerability

91.3 / 99.794.5 / 99.856.8 / 62.650.7 / 56.44,1543,311

Metascan 16

+ Deep CDR

87.3 / 99.587.8 / 99.362.8 / 67.554.5 / 59.53,3132,934

Metascan 16

+ Deep CDR

+ Proactive DLP

92.2 / 99.591.6 / 99.763.3 / 69.356 / 66.63,1462,945

Metascan 16

+ Deep CDR

+ Proactive DLP

+ Vulnerability

95.4 / 99.594.8 / 99.664 / 69.255.3 / 62.53,8102,677

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