Tuning for SSDs
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 one storage pool per SSD, instead of the default 3 drives per storage pool.
To create, run
disksetup
:/opt/mapr/server/disksetup -W 1 disks.txt
-
Enable noop scheduler on the SSD, if it is already not enabled, by running this
command:
echo "noop"> /sys/block/sda/queue/scheduler