Managing Flash Accel caching systems
:
Setting the cache size for virtual machines
: Changing the cache block size
Changing the cache block size
You may be able to optimize performance for your workload by changing the block size of the cache on a virtual machine.
Before you begin
The default block size of 4,096 bytes has been selected as optimal for most workloads. Check with your
NetApp
representative to determine whether your configuration would benefit by changing the cache block size.
About this task
This functionality is not available in
FMC.
Use the Format-FACache
Flash Accel
PowerShell cmdlet to change the cache block size.
Information in the cache is erased for all disks on the virtual machine when you change the cache block size. The cache will take some time to be rewarmed after the block size is changed.
Steps
1.
Log in to the virtual machine on which you want to set the cache block size.
2.
At a Windows command prompt in the VM, enter:
powershell
3.
At the PowerShell prompt, enter the following command to import PowerShell cmdlets to the VM:
Import-Module FA-PsCmdlets
4.
Enter the following command to disable the cache:
Set-FACache -CacheAdminState Disabled
5.
Enter the following command to change the block size and the blocks per chunk to the recommended values:
Format-FACache -BlockSize <
size
> -BlocksPerChunk <
number
>
Note:
Blocksize
is measured in bytes.
BlockSize
×
BlocksPerChunk
must be less than or equal to 1 MB.
6.
Enter the following command to enable the cache:
Set-FACache -CacheAdminState Enabled
Result
The block size is changed and caching resumes.
Parent Topic:
Setting the cache size for virtual machines
Related concepts
Flash Accel PowerShell cmdlets
Related tasks
Importing Flash Accel PowerShell cmdlets to a VM
Was this topic helpful? Send
comments
to NetApp.