Performance testing
The scan time depends heavily on file size, type, and content. To get accurate throughput numbers for your particular workload, we recommend running a performance test:
- Install bucketAV by following the Setup Guide using the default values.
- Generate load by installing the Scan bucket at regular intervals Add-On.
- Install Add-On
- Set the Stack name to
bucketav-performance-test
. - Set the
BucketAVStackName
configuration parameter to the stack name of bucketAV (if you followed the docs, the name isbucketav
). - Set the
BucketName
configuration parameter to the name of an S3 bucket that contains at least 10,000 files. Keep in mind that infected files will be deleted by default! - Set the
ScheduleExpression
configuration parameter to a value 10 minutes from now (UTC timezone) by using the expressioncron(mm hh dd MM ? yyyy)
filled with:mm
: Minute (0-59).hh
: Hour (0-23).dd
: Day (1-31).MM
: Month (1-12).?
: Please leave the question mark as it is.yyyy
: Year (1970-2199).
- Set the
PagingBatchSize
configuration parameter to1000
. - Set the
PagingWaitInSeconds
configuration parameter to0
. - Select I acknowledge that AWS CloudFormation might create IAM resources.
- Click on the Create stack button to save.
- Open the dashboard. Within the next 10 minutes, your Scan Queue should grow. The Scan Queue tile shows the data of interest. You should see the Queue Length go up.
- Wait another 15 minutes to capture data.
- Reload the dashboard. In the Scan Queue tile, click on the Files processed legend. Now you only see the metric of importance. Zoom into the area of interest. Now you know the number of files scanned per minute (axis on the right). This is the throughput of one
m5.large
EC2 instance for your workload. - To clean up, remove the CloudFormation stack named
bucketav-performance-test
.