Skip to content

Performance & Optimization

Blair L Murri edited this page Jun 21, 2023 · 4 revisions

Performance & Optimization

Issues Addressed


Cost analysis for Cromwell on Azure

To learn more about your Cromwell on Azure Resource Group's cost, navigate to the "Cost Analysis" menu item in the "Cost Management" section of your Azure Resource Group on the Azure Portal. More information here.
RG cost analysis

You can also use the Pricing Calculator to estimate your monthly cost.

How Cromwell on Azure selects batch VMs to run tasks in a workflow

VM price data is used to select the cheapest per hour VM for a task's runtime requirements and is also stored in the TES database to allow calculation of total workflow cost. VM price data is obtained from the Azure RateCard API. Accessing the Azure RateCard API requires the VM's Billing Reader role to be assigned to your Azure subscription scope. If you don't have Owner, or both Contributor and User Access Administrator roles assigned to your Azure subscription, the deployer will not be able to complete this on your behalf - you will need to contact your Azure subscription administrator(s) to complete this for you. You will see a warning in the TES logs indicating that default VM prices are being used until this is resolved.

By default, all VM sizes supported by Azure Batch are considered for task execution.

You can constrain the Azure VM sizes or families considered for task execution by modifying the file "allowed-vm-sizes" in the "configuration" storage container and restarting the host VM. For the full list of VM sizes and their features, see file "supported-vm-sizes" in the same container. Note that over-constraining the allowed VM sizes may result in task failures when no suitable VM is found, as well as higher execution costs. Any errors in the "allowed-vm-sizes" will be surfaced in the same file upon host VM restart.

Using a batch pool subnet with service endpoints to avoid load balancer charges

See this page.

Optimize my WDLs

This section is COMING SOON.

Clone this wiki locally