From: James Nunez Date: Wed, 6 Nov 2019 22:40:54 +0000 (-0700) Subject: LUDOC-11 misc: correct location/setting qos_threshold_rr X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=30dbf01c7386a9514d618281526d78fdea92db6b;p=doc%2Fmanual.git LUDOC-11 misc: correct location/setting qos_threshold_rr The parameter qos_threshold_rr has moved from /sys/fs/.../lov to lod and, to set this parameter, the command 'lctl set_param' command should be run on the MDS. These two things need to be corrected in the manual. Change-Id: Ide6d809d2d36e36504d014fb511df82ada80d977 Signed-off-by: James Nunez Reviewed-on: https://review.whamcloud.com/36695 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/ManagingStripingFreeSpace.xml b/ManagingStripingFreeSpace.xml index b9965f5..1a03083 100644 --- a/ManagingStripingFreeSpace.xml +++ b/ManagingStripingFreeSpace.xml @@ -2038,31 +2038,33 @@ File 4: OST6, OST7, OST0 necessarily chosen each time. - The allocation method is determined by the amount of free-space imbalance on the OSTs. - When free space is relatively balanced across OSTs, the faster round-robin allocator is - used, which maximizes network balancing. The weighted allocator is used when any two OSTs - are out of balance by more than the specified threshold (17% by default). The threshold - between the two allocation methods is defined in the file - /proc/fs/fsname/lov/fsname-mdtlov/qos_threshold_rr. - To set the qos_threshold_r to 25, enter this - command on the - MGS:lctl set_param lov.fsname-mdtlov.qos_threshold_rr=25 + The allocation method is determined by the amount of free-space + imbalance on the OSTs. When free space is relatively balanced across + OSTs, the faster round-robin allocator is used, which maximizes network + balancing. The weighted allocator is used when any two OSTs are out of + balance by more than the specified threshold (17% by default). The + threshold between the two allocation methods is defined by the + qos_threshold_rr parameter. + To temporarily set the qos_threshold_rr to + 25, enter the folowing on each MDS: + mds# lctl set_param lod.fsname*.qos_threshold_rr=25
<indexterm> <primary>space</primary> <secondary>location weighting</secondary> </indexterm>Adjusting the Weighting Between Free Space and Location - The weighting priority used by the weighted allocator is set in the file - /proc/fs/fsname/lov/fsname-mdtlov/qos_prio_free. - Increasing the value of qos_prio_free puts more weighting on the amount - of free space available on each OST and less on how stripes are distributed across OSTs. The - default value is 91 (percent). When the free space priority is set to + The weighting priority used by the weighted allocator is set by the + the qos_prio_free parameter. + Increasing the value of qos_prio_free puts more + weighting on the amount of free space available on each OST and less + on how stripes are distributed across OSTs. The default value is + 91 (percent). When the free space priority is set to 100 (percent), weighting is based entirely on free space and location is no longer used by the striping algorithm. - To change the allocator weighting to 100, enter this command on the + To permanently change the allocator weighting to 100, enter this command on the MGS: - lctl conf_param fsname-MDT0000.lov.qos_prio_free=100 + lctl conf_param fsname-MDT0000-*.lod.qos_prio_free=100 . When qos_prio_free is set to 100, a weighted