HyperSmash

Monday, 10 December 2012

RHEL Linux : Increase RAID speed

Notes :

This step applied on RHEL which running  "mdadm" utility to manage Linux software RAID. Below step will optimize the disk synchronization time. Refer the step below :

Temporary Method : 

1. Check current RAID minimum and maximum speed limit on system. Run below syntax.
# sysctl dev.raid.speed_limit_min
# sysctl dev.raid.speed_limit_max

2. If the minimum speed below than 50000 and maximum speed below than 200000 this will delay on disk synchronization.

3. Perform RAID speed optimization. Run below syntax. This will not permanent configuration on system.
# sysctl -w dev.raid.speed_limit_min=50000
# sysctl -w dev.raid.speed_limit_max=200000

4. Verify back the "mdstat", there should some improvement will showing up after adding below configuration.
# cat /proc/mdstat

Permanent Method :

1. To make the configuration as permanent to system, add 2 line below in "/etc/sysctl.conf". Refer below.
# cp -pr /etc/sysctl.conf  /etc/sysctl.conf.bk
# vi /etc/sysctl.conf
dev.raid.speed_limit_min = 50000
dev.raid.speed_limit_max = 200000


2. Save the configuration file and perform server reboot. The changes will be made by system once server booting up. Verify on the speed improvement after applying the configuration.