[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)
disk-speed(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
--------------------------------------------------

Explaination:
=============
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
fastest-disk-speed

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:

  <http://savannah.nongnu.org/bugs/?17283>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/






More information about the Gluster-devel mailing list