Increasing metadata performance
You can increase a file system's metadata performance by using the Amazon FSx console, the AWS CLI, or the Amazon FSx API.
Open the Amazon FSx console at https://console.aws.amazon.com/fsx/
. In the left navigation pane, choose File systems. In the File systems list, choose the FSx for Lustre file system that you want to increase metadata performance for.
For Actions, choose Update Metadata IOPS. Or, in the Summary panel, choose Update next to the file system's Metadata IOPS field.
The Update Metadata IOPS dialog box appears.
Choose User-provisioned.
For Desired Metadata IOPS, choose the new Metadata IOPS value. The value you enter must be greater than or equal to the current Metadata IOPS value.
For SSD file systems, valid values are
1500,3000,6000,12000, and multiples of12000up to a maximum of192000.For Intelligent-Tiering file systems, valid values are
6000and12000.
Choose Update.
To increase the metadata performance for an FSx for Lustre file system, use the AWS CLI command update-file-system (UpdateFileSystem is the equivalent API action). Set the following parameters:
Set
--file-system-idto the ID of the file system that you are updating.To increase your metadata performance, use the
--lustre-configuration MetadataConfigurationproperty. This property has two parameters,ModeandIops.If your file system is in USER_PROVISIONED mode, using
Modeis optional (if used, setModetoUSER_PROVISIONED).If your SSD file system is in AUTOMATIC mode, set
ModetoUSER_PROVISIONED(which switches the file system mode to USER_PROVISIONED in addition to increasing the Metadata IOPS value).For SSD file systems, set
Iopsto a value of1500,3000,6000,12000, or multiples of12000up to a maximum of192000. For Intelligent-Tiering file systems, setIopsto6000or12000. The value you enter must be greater than or equal to the current Metadata IOPS value.
The following example updates the provisioned Metadata IOPS to 12000.
aws fsx update-file-system \ --file-system-idfs-0123456789abcdef0\ --lustre-configuration 'MetadataConfiguration={Mode=USER_PROVISIONED,Iops=12000}'