gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Anand Babu
Subject: [Gluster-devel] [bug #17283] XLATOR - AdaptiveLU
Date: Tue, 22 Aug 2006 15:59:47 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 (Debian-1.5.dfsg+1.5.0.6-1)

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]