[Gluster-devel] [bug #17283] XLATOR - AdaptiveLU

Anand Babu INVALID.NOREPLY at gnu.org
Tue Aug 22 22:59:47 UTC 2006

Follow-up Comment #2, bug #17283 (project gluster):

User gets to decide priority and threshold-factor for each of the limits.

option scheduler adaptive-lu
# Order and threshols of selected schedulers
option threshold disk-usage(2048000) file-usage(32) mem-usage(4096)
# 6th node is a slow storage
option brick-priority 1-5:0, 6:100
# Include only the bricks that has at-least 60GB free disk space 
option disk-minimum-free 61440000000

if (> (- max-du min-du) 2GB), pick the min-du
if (> (- max-file-usage min-file-usage) 32) pick min-file-usage
if (> (- fastest-disk-speed slowest-disk-speed) 4MBps) pick

Apply priority, when more than one brick is selected by above logic. 
Apply rand(count) if more than one brick has same priority.

Anand Babu


Reply to this item at:


  Message sent via/by Savannah

More information about the Gluster-devel mailing list