From: "Kevin Foote" Subject: good nb io setting (was multipath timing help sought) Date: Fri, 28 Sep 2007 10:20:46 -0400 Message-ID: <5fb0f77b0709280720n4f93e027s226b7b17831638b9@mail.gmail.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0121591252==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============0121591252== Content-Type: multipart/alternative; boundary="----=_Part_823_5009833.1190989246628" ------=_Part_823_5009833.1190989246628 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK so looking back through the docs etc I have some what answered my own question. my rr_min_io values is pretty out of the ordinary from reading through things. Also I could adjust the polling_interval back to the default of 5 my multipath.conf default looks like (as mentioned before) this: ========= /etc/multipath.conf ================ defaults { multipath_tool "/sbin/multipath -v0" udev_dir /dev polling_interval 2 selector "round-robin 0" path_grouping_policy failover getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_checker readsector0 prio_callout "/bin/true" features "0" rr_min_io 2 rr_weight priorities failback immediate no_path_retry fail user_friendly_name yes } ========= ============= ================ I do not replace the rr_min_io value within my multipath device sections so a map looks like this when complete. 0 33576960 multipath 0 0 2 1 round-robin 0 1 1 8:80 2 round-robin 0 1 1 8:176 2 ^ |_ this value is way off from the default of 1000 I know this is a highly user specific value however do most people stay around the default value for this setting. Specifically I'm looking for input on an io value for db volumes. Also would all this be a non issue if I set rr_weight to uniform instead of priorities ( which I think evals to (0*2) in my case ). Any help appreciated.. -- :wq! kevin.foote ------=_Part_823_5009833.1190989246628 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK so looking back through the docs etc I have some what answered my own question. my rr_min_io values is pretty out of the ordinary
from reading through things. Also I could adjust the polling_interval back to the default of 5

my multipath.conf default looks like (as mentioned before) this:
========= /etc/multipath.conf ================
defaults {
        multipath_tool          "/sbin/multipath -v0"
        udev_dir                /dev
        polling_interval        2
        selector                "round-robin 0"
        path_grouping_policy    failover
        getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
        path_checker            readsector0
        prio_callout            "/bin/true"
        features                "0"
        rr_min_io               2                                       
        rr_weight               priorities
        failback         &nbs p;      immediate
        no_path_retry           fail
        user_friendly_name      yes
}
========= ============= ================

I do not replace the rr_min_io value within my multipath device sections so a map looks like this when complete.

   0 33576960 multipath 0 0 2 1 round-robin 0 1 1 8:80 2 round-robin 0 1 1 8:176 2
                                                                                 ^
                                                                                 |_ this value is way off from the default of 1000

I know this is a highly user specific value however do most people stay around the default value for this setting.
Specifically I'm looking for input on an io value for db volumes.

Also would all this be a non issue if I set rr_weight to uniform instead of priorities ( which I  think evals to (0*2) in my case ).
Any help appreciated..

--
:wq!
kevin.foote ------=_Part_823_5009833.1190989246628-- --===============0121591252== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0121591252==--