Custom performance lets you define the performance settings for your Filestore instances independently of the specified capacity. This means you can optimize your Filestore instances for your workload requirements and scale your file shares to meet the demands of your applications without resizing the capacity.
If you use Google Cloud console to create Filestore zonal and regional instances, custom performance is the default mechanism for configuring performance.
Read and write IOPS
You can use 100% of IOPS purchased for your file system for read and write operations combined. Read and write operations have different weights, with each read operation takes one operation from the purchased IOPS, while write operation takes 3.33 IOPS from the purchased IOPS.
For example, if your file system uses 33% of its purchased IOPS for read operations, it can simultaneously use up to 67% of its purchased IOPS for write operations, utilizing the purchased IOPS according to the 3.33 ratio per write.
Custom performance supports up to 100 client connections per 1,000 purchased IOPS, regardless of the capacity range or service tier being regional or zonal.
IOPS accrued from replicated data, such as backup operations, don't count towards user-purchased IOPS.
Example IOPS calculation
Assuming you have purchased 4,000 IOPS:
- If you want to use them for read IOPS, you would have access to a maximum of 4,000 read IOPS.
- If you want to use them for write IOPS, you would have access to a maximum of 1,200 write IOPS.
- If you want to use 900 IOPS for write operations, it will effectively use 3,000 of your IOPS budget, leaving 1,000 IOPS for read operations.
If you need more IOPS or throughput, you can increase your purchased IOPS rate.
Configure custom performance
You can set custom performance for zonal and regional instances that already support it. Basic tiers don't support this feature.
Custom performance instances are billed differently than instances where custom performance is not configured. For details, see Filestore pricing.
You have the following options to configure custom performance:
- Set an IOPS per TiB ratio where IOPS scale linearly with the instance's size.
- Set a fixed IOPS rate. The rate is steady, regardless of instance size.
When creating an instance in the Google Cloud console, custom performance is enabled by default, letting you configure performance based on your workload and scale. If you don't provide specific IOPS values, a recommended default rate is used. You can opt out of custom performance, but you must do it before you create the instance, as the setting is permanent and can't be changed later.
For more information about setting custom performance, see creating instances.
For more information about custom performance in GKE, see Filestore CSI Driver.
Check custom performance status
If you want to check the custom performance status, follow these instructions: