Performance planning
Table of Contents
Expand all | Collapse all
-
- Getting started
- System Requirements
- Cluster Context
-
- Prisma Cloud Container Images
- Kubernetes
- Deploy the Prisma Cloud Console on Amazon ECS
- Console on Fargate
- Onebox
- Alibaba Cloud Container Service for Kubernetes (ACK)
- Azure Container Service (ACS) with Kubernetes
- Azure Kubernetes Service (AKS)
- Amazon Elastic Kubernetes Service (EKS)
- IBM Kubernetes Service (IKS)
- OpenShift v4
-
- Defender Types
- Manage your Defenders
- Redeploy Defenders
- Uninstall Defenders
-
- Deploy Orchestrator Defenders on Amazon ECS
- Automatically Install Container Defender in a Cluster
- Deploy Prisma Cloud Defender from the GCP Marketplace
- Deploy Defenders as DaemonSets
- VMware Tanzu Application Service (TAS) Defender
- Deploy Defender on Google Kubernetes Engine (GKE)
- Google Kubernetes Engine (GKE) Autopilot
- Deploy Defender on OpenShift v4
-
- Agentless Scanning Modes
-
- Onboard AWS Accounts for Agentless Scanning
- Onboard Azure Accounts for Agentless Scanning
- Configure Agentless Scanning for Azure
- Onboard GCP Accounts for Agentless Scanning
- Configure Agentless Scanning for GCP
- Onboard Oracle Cloud Infrastructure (OCI) Accounts for Agentless Scanning
- Configure Agentless Scanning for Oracle Cloud Infrastructure (OCI)
- Agentless Scanning Results
-
- Rule ordering and pattern matching
- Backup and Restore
- Custom feeds
- Configuring Prisma Cloud proxy settings
- Prisma Cloud Compute certificates
- Configure scanning
- User certificate validity period
- Enable HTTP access to Console
- Set different paths for Defender and Console (with DaemonSets)
- Authenticate to Console with Certificates
- Configure custom certs from a predefined directory
- Customize terminal output
- Collections
- Tags
- Logon settings
- Reconfigure Prisma Cloud
- Subject Alternative Names
- WildFire Settings
- Log Scrubbing
- Clustered-DB
- Permissions by feature
-
- Logging into Prisma Cloud
- Integrating with an IdP
- Integrate with Active Directory
- Integrate with OpenLDAP
- Integrate Prisma Cloud with Open ID Connect
- Integrate with Okta via SAML 2.0 federation
- Integrate Google G Suite via SAML 2.0 federation
- Integrate with Azure Active Directory via SAML 2.0 federation
- Integrate with PingFederate via SAML 2.0 federation
- Integrate with Windows Server 2016 & 2012r2 Active Directory Federation Services (ADFS) via SAML 2.0 federation
- Integrate Prisma Cloud with GitHub
- Integrate Prisma Cloud with OpenShift
- Non-default UPN suffixes
- Compute user roles
- Assign roles
-
- Prisma Cloud Vulnerability Feed
- Scanning Procedure
- Vulnerability Management Policies
- Vulnerability Scan Reports
- Scan Images for Custom Vulnerabilities
- Base images
- Vulnerability Explorer
- CVSS scoring
- CVE Viewer
-
- Configure Registry Scans
- Scan Images in Alibaba Cloud Container Registry
- Scan Images in Amazon Elastic Container Registry (ECR)
- Scan images in Azure Container Registry (ACR)
- Scan Images in Docker Registry v2 (including Docker Hub)
- Scan Images in GitLab Container Registry
- Scan images in Google Artifact Registry
- Scan Images in Google Container Registry (GCR)
- Scan Images in Harbor Registry
- Scan Images in IBM Cloud Container Registry
- Scan Images in JFrog Artifactory Docker Registry
- Scan Images in Sonatype Nexus Registry
- Scan images in OpenShift integrated Docker registry
- Scan Images in CoreOS Quay Registry
- Trigger Registry Scans with Webhooks
- Configure VM image scanning
- Configure code repository scanning
- Malware scanning
- Windows container image scanning
- Serverless Functions Scanning
- VMware Tanzu Blobstore Scanning
- Scan App-Embedded workloads
- Troubleshoot Vulnerability Detection
-
- Compliance Explorer
- Enforce compliance checks
- CIS Benchmarks
- Prisma Cloud Labs compliance checks
- Serverless functions compliance checks
- Windows compliance checks
- DISA STIG compliance checks
- Custom compliance checks
- Trusted images
- Host scanning
- VM image scanning
- App-Embedded scanning
- Detect secrets
- OSS license management
-
- Alert Mechanism
- AWS Security Hub
- Cortex XDR alerts
- Cortex XSOAR alerts
- Email alerts
- Google Cloud Pub/Sub
- Google Cloud Security Command Center
- IBM Cloud Security Advisor
- JIRA Alerts
- PagerDuty alerts
- ServiceNow alerts for Security Incident Response
- ServiceNow alerts for Vulnerability Response
- Slack Alerts
- Splunk Alerts
- Webhook alerts
- API
Performance planning
This section details the run-time characteristics of a typical Prisma Cloud deployment.
The information provided is for planning and estimation purposes.
System performance depends on many factors outside of our control.
For example, heavily loaded hosts have fewer available resources than hosts with balanced workloads.
Scale
Prisma Cloud has been tested and optimized to support up to 10,000 Defenders per Console.
Higher numbers of Defenders per Console can be supported, as long as the required resources are allocated to Console.
Storage
Using a network based storage is not recommended because it affects the database performance. if you choose to use a network based storage, such as NFS, make sure to review the Mongodb documentation for NFS storage requirements.
Host and Container Defenders don’t support the following storage solutions.
- NFS storage
- Symbolic links
Scanning performance
This section describes the resources consumed by Prisma Cloud Defender during a scan.
Measurements were taken on a test system with 1GB RAM, 8GB storage, and 1 CPU core.
Host scans
Host scans consume the following resources:
Resource | Measured consumption |
---|---|
Memory | 10-15% |
CPU | 1% |
Time to complete a host scan | 1 second |
Container scans
Container scans consume the following resources:
Resource | Measured consumption |
---|---|
Memory | 10-15% |
CPU | 1% |
Time to complete a container scan | 1-5 seconds per container |
Image scans
When an image is first scanned, Prisma Cloud caches its contents so that subsequent scans run more quickly.
The first image scan, when there is no cache, consumes the following resources:
Resource | Measured consumption |
---|---|
Memory | 10-15% |
CPU | 2% |
Time to complete an image scan. | 1-10 seconds per image.
(Images are estimated to be 400-800 MB in size.) |
Scans of cached images consume the following resources:
Resource | Measured consumption |
---|---|
Memory | 10-15% |
CPU | 2% |
Time to complete an image scan | 1-5 seconds per image.
(Images are estimated to be 400-800 MB in size.) |
Real-world system performance
Each release, Prisma Cloud tests performance in a scaled out environment that replicates a real-world workload and configuration.
The test environment is built on Kubernetes clusters, and has the following properties:
- Hosts:20,000
- Hardware:
- Console:16 vCPUs, 50 GB memory
- Defenders:2 vCPUs, 8 GB memory
- Operating system:Container-Optimized OS
- Images:323
- Containers:192,087 (density of 9.6 containers per host)
The results are collected over the course of 24 hours.
The default vulnerability policy (alert on everything) and compliance policy (alert on critical and high issues) are left in place.
CNNS is enabled.
Resource consumption:
The following table shows normal resource consumption.
Component | Memory (RAM) | CPU (single core) |
---|---|---|
Console | 1,474 MiB | 8.0% |
Defender | 82 MiB | 1.0% |
WAAS performance benchmark
Minimum requirements
Results detailed in this document assume a Defender instance complying with these minimum requirements.
Methodology
Benchmark target servers
Benchmark target servers were run on AWS EC2 instances running Ubuntu Server 18.04 LTS
Instance type | Environment | Compared servers | Versions |
---|---|---|---|
t2.large | Docker | Nginx vs WAAS-protected Nginx | Nginx/1.19.0 |
t2.large | Host | Nginx vs WAAS-protected Nginx | Nginx/1.14.0 |
t2.large | Kubernetes | Nginx vs WAAS-protected Nginx | Nginx/1.17.10 |
Benchmarking client
Benchmarking was performed using the hey load generating tool deployed on a ‘t2.large’ instance running Ubuntu Server 18.04 LTS
Benchmark scenarios
Test scenarios were run using hey against each server:
Scenario | HTTP Requests | Concurrent Connections |
---|---|---|
HTTP GET request | 5,000 | 10, 100, 250, 500, 1,000 |
HTTP GET request with query parameters | 5,000 | 10, 100, 250, 500, 1,000 |
HTTP GET request with an attack payload in a query parameter | 5,000 | 10, 100, 250, 500, 1,000 |
HTTP GET with 1 MB response body | 1,000 | 10, 100, 250, 500, 1,000 |
HTTP GET with 5 MB response body | 1,000 | 10, 100, 250, 500, 1,000 |
HTTP POST request with body payload size of 100 bytes | 5,000 | 10, 100, 250, 500, 1,000 |
HTTP POST request with body payload size of 1 KB | 5,000 | 10, 100, 250, 500, 1,000 |
HTTP POST request with body payload size of 5 KB | 5,000 | 10, 100, 250, 500, 1,000 |
In order to support 1,000 concurrent connections in large file scenarios, WAAS HTTP body inspection size limit needs to be set to 104,857 bytes
Results
HTTP transaction overhead
The following table details request average
overhead
(in milliseconds):> Environment | > Concurrent Connections | |||||
> 10 | > 100 | > 250 | > 500 | > 1,000 | ||
Docker | HTTP GET request | 3 | 30 | 70 | 99 | 185 |
HTTP GET request with query parameters | 4 | 34 | 70 | 100 | 151 | |
GET w/ attack payload | 1 | 6 | 6 | 26 | 96 | |
GET - 1MB Response | 1 | -268 | -1314 | -3211 | -5152 | |
GET - 5MB Response | 15 | -1,641 | -6,983 | -9,262 | -18,231 | |
POST w/ 100B body | 5 | 42 | 84 | 119 | 194 | |
POST w/ 1KB body | 12 | 106 | 245 | 430 | 800 | |
POST w/ 5KB body | 42 | 402 | 970 | 1,853 | 3,189 | |
Host | HTTP GET request | 2 | 22 | 53 | 82 | 217 |
HTTP GET request with query parameters | 3 | 27 | 63 | 93 | 212 | |
GET w/ attack payload | 0 | 6 | 17 | 78 | 104 | |
GET - 1MB Response | -1 | -6 | 32 | 131 | -681 | |
GET - 5MB Response | 7 | -45 | -638 | -2,677 | -9,099 | |
POST w/ 100B body | 3 | 29 | 66 | 114 | 300 | |
POST w/ 1KB body | 10 | 97 | 234 | 436 | 774 | |
POST w/ 5KB body | 39 | 407 | 940 | 1,831 | 3,196 | |
Kubernetes | HTTP GET request | 3 | 29 | 58 | 78 | 155 |
HTTP GET request with query parameters | 4 | 33 | 79 | 114 | 288 | |
GET w/ attack payload | 0 | 5 | 15 | 63 | 177 | |
GET - 1MB Response | -4 | -252 | -981 | -2827 | -5754 | |
GET - 5MB Response | 15 | -1,653 | -5,254 | -14,966 | -23,828 | |
POST w/ 100B body | 5 | 39 | 92 | 130 | 280 | |
POST w/ 1KB body | 11 | 109 | 252 | 498 | 907 | |
POST w/ 5KB body | 43 | 421 | 1,013 | 2,005 | 3,557 |
Negative numbers indicate a performance improvement. WAAS response time can be faster than origin-server response time when attacks are blocked and not forwarded to the origin server.
Load testing
The following table details average request time (in milliseconds) of 1,000,000 request benchmarking load (includes response time for both WAAS and underlying origin):
> Environment | > Concurrent Connections | |||||
> 10 | > 100 | > 250 | > 500 | > 1,000 | ||
Docker | HTTP GET request | 4 | 36 | 90 | 177 | 358 |
HTTP POST request, 100 Byte body | 5 | 47 | 116 | 232 | 472 | |
Host | HTTP GET request | 3 | 28 | 70 | 140 | 298 |
HTTP POST request, 100 Byte body | 4 | 40 | 99 | 197 | 397 | |
Kubernetes | HTTP GET request | 4 | 38 | 92 | 181 | 363 |
HTTP POST request, 100 Byte body | 5 | 49 | 119 | 236 | 460 |