The performance of some workloads will suffer from the distribution each file in a different AG, so the "rotor step" sysctl was added adjust this behavior
For example, to keep at least a second of ingested 24fps video files in the same AG before moving to the next AG:
# sysctl fs.xfs.rotorstep
fs.xfs.rotorstep = 1
# sudo sysctl –w fs.xfs.rotorstep=24
fs.xfs.rotorstep = 24
Note
The rotorstep value is a global one, so setting it will affect the behaviour of all mounted file systems over 1TB in size that use 32 bit inode numbers.