Tuning for SSDs
Lists the parameters to tune for optimal SSD performance.
About this task
On servers with SSDs:
Procedure
-
Enable TRIM operation in the
mfs.conf
file, if recommended by the SSD vendor.By default, TRIM is disabled. To enable, set the value formfs.ssd.trim.enabled
to 1 in themfs.conf
file. For example:mfs.ssd.trim.enabled=1
-
Disable IO throttling in the
mfs.conf
file.To disable, set the value formfs.disk.iothrottle.count
to 50000. The default value formfs.disk.iothrottle.count
is 100. For example:mfs.disk.iothrottle.count=50000
-
Create storage pool with multiple SSDs (so that the throughput is less than
2GB/sec).
To create, runNOTECreate one storage pool per SSD only if the device is high-end.
disksetup
:
For example, to create a storage pool with 2 SSDs, run the following command:/opt/mapr/server/disksetup -W <n> disks.txt
For more information, see/opt/mapr/server/disksetup -W 2 disks.txt
disksetup
.