Upgrade Load Example: Pivotal Web Services
This topic provides sample performance measurements of a Cloud Foundry installation undergoing the workload associated with an upgrade.
To obtain these measurements, Pivotal repaved its production Pivotal Web Services (PWS) deployment. The repave process simulates system load that would be incurred when performing a rolling upgrade of Diego cells.
Use the measurements and configuration values published in this document as guidance when ensuring you have adequate file storage hardware prior to a platform upgrade.
For more information about the impact of upgrade on file storage performance, see Configure File Storage.
The following table details the starting parameters and configuration of PWS.
|Configuration||Value||How to Locate|
|IaaS||Amazon Web Services||Refer to your BOSH Director configuration or BOSH deployment manifest.|
|File Storage||AWS EBS (External with some elastic capacity)||Refer to your Pivotal Application Service (PAS) configuration or BOSH deployment manifest.|
|Version of CF||v252||Refer to your BOSH Director and PAS configuration or BOSH deployment manifest.|
|Number of Diego Cells||218||To view the number of Diego cell instances currently running in your deployment, see the Resource Config section of your PAS tile or consult your Diego deployment manifest.|
|Maximum Number of Started Containers||250||See Configuring PAS for Upgrades.|
|max_in_flight Configuration for Diego Cells||6||To retrieve the existing
|Number of Availability Zones (AZ)||2||Consult your PAS or BOSH deployment AZ configuration.|
|Number of App Instances||16231||
|Number of Application Security Groups (ASGs)||43||As admin user, run the
This table presents performance measurements taken during the Diego cell repave.
Note: These measurements indicate the peak cumulative values of the entire system (250 Diego cells, ~15,000 application instances, and 2 AZs.)
Use these measurements as a baseline for expected system load during Diego cell upgrade.
|Cell CPU Consumption||36%||
|Cell Memory Consumption||~50%||
|Cell I/O Consumption (Read) During Normal Operations||43 Read I/O Operations per second||
|Cell I/O Consumption (Read) During Upgrade||1,943 Read I/O Operations per second||
|Cell IO Consumption (Write) During Normal Operations||2,166 Write I/O Operations per second||
|Cell IO Consumption (Write) During Upgrade||21,000 Write I/O Operations per second||
|Cell Network Consumption (Network Out) During Normal Operations||~1.25 GB per minute||
|Cell Network Consumption (Network Out) During Upgrade||~1.25 GB per minute (no significant change)||
|Cell Network Consumption (Network In) During Normal Operations||2.11 GB per minute||
|Cell Network Consumption (Network In) During Upgrade||16.75GB per minute||
These DataDog graphs represent a timeline visualization of read and write operations during the repave event.
The read I/O operations sample was taken over 115 VMs and represent the number of read operations over 300 seconds for a single Diego cell.
The write I/O operations sample was taken over 115 VMs and represent the number of read I/O operations over 300 seconds for a single Diego cell.
During the repave process, 250 Diego cells were updated. The repave process took 6 hours overall or about 3 hours for each Availability Zone.