Re: Failover time of iSCSI multipath devices.

2010-03-16 Thread Alex Zeffertt
Mike Christie wrote: On 03/15/2010 05:56 AM, Alex Zeffertt wrote: The bugzilla ticket requests a merge of two git commits, but neither of those contain the libiscsi.c change that addresses bug #2. Was this a mistake, or did you deliberately omit that part of your speed-up-conn-fail-take3.patch

Re: Failover time of iSCSI multipath devices.

2010-03-16 Thread Mike Christie
On 03/16/2010 04:50 AM, Alex Zeffertt wrote: Mike Christie wrote: On 03/15/2010 05:56 AM, Alex Zeffertt wrote: The bugzilla ticket requests a merge of two git commits, but neither of those contain the libiscsi.c change that addresses bug #2. Was this a mistake, or did you deliberately omit

Re: Failover time of iSCSI multipath devices.

2010-03-16 Thread bennyturns
I am trying work out a formula for total failover time of my multipathed iSCSI device so far I have: failover time = nop timout + nop interval + replacement_timeout seconds + scsi block device timeout(/sys/block/sdX/device/timeout) Is there anything else that I am missing? -b On Mar 15, 4:53 

Re: Failover time of iSCSI multipath devices.

2010-03-16 Thread Mike Christie
On 03/16/2010 04:02 PM, bennyturns wrote: I am trying work out a formula for total failover time of my multipathed iSCSI device so far I have: failover time = nop timout + nop interval + replacement_timeout seconds + scsi block device timeout(/sys/block/sdX/device/timeout)

Re: Failover time of iSCSI multipath devices.

2010-03-16 Thread bennyturns
Thks Mike, that explains it :) On Mar 16, 5:27 pm, Mike Christie micha...@cs.wisc.edu wrote: On 03/16/2010 04:02 PM, bennyturns wrote: I am trying work out a formula for total failover time of my multipathed iSCSI device so far I have: failover time = nop timout + nop interval +

Re: Failover time of iSCSI multipath devices.

2010-03-15 Thread Alex Zeffertt
Mike Christie wrote: On 03/07/2010 07:46 AM, Pasi Kärkkäinen wrote: On Fri, Mar 05, 2010 at 05:07:53AM -0600, Mike Christie wrote: On 03/01/2010 08:53 PM, Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It

Re: Failover time of iSCSI multipath devices.

2010-03-15 Thread Mike Christie
On 03/15/2010 05:56 AM, Alex Zeffertt wrote: The bugzilla ticket requests a merge of two git commits, but neither of those contain the libiscsi.c change that addresses bug #2. Was this a mistake, or did you deliberately omit that part of your speed-up-conn-fail-take3.patch when you raised the

Re: Failover time of iSCSI multipath devices.

2010-03-08 Thread Mike Christie
On 03/07/2010 07:46 AM, Pasi Kärkkäinen wrote: On Fri, Mar 05, 2010 at 05:07:53AM -0600, Mike Christie wrote: On 03/01/2010 08:53 PM, Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It should timeout about 15

Re: Failover time of iSCSI multipath devices.

2010-03-08 Thread Pasi Kärkkäinen
On Mon, Mar 08, 2010 at 02:07:14PM -0600, Mike Christie wrote: On 03/07/2010 07:46 AM, Pasi Kärkkäinen wrote: On Fri, Mar 05, 2010 at 05:07:53AM -0600, Mike Christie wrote: On 03/01/2010 08:53 PM, Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think

Re: Failover time of iSCSI multipath devices.

2010-03-07 Thread Pasi Kärkkäinen
On Fri, Mar 05, 2010 at 05:07:53AM -0600, Mike Christie wrote: On 03/01/2010 08:53 PM, Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It should timeout about 15 secs after you see Mar 1 07:14:27

Re: Failover time of iSCSI multipath devices.

2010-03-05 Thread Mike Christie
On 03/01/2010 08:53 PM, Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It should timeout about 15 secs after you see Mar 1 07:14:27 bentCluster-1 kernel: connection4:0: ping timeout of 5 secs expired, recv

Re: Failover time of iSCSI multipath devices.

2010-03-02 Thread bennyturns
I was able to get my failover time down to about 25-30 seconds: Mar 1 12:32:37 bentCluster-1 kernel: tg3: eth0: Link is down. Mar 1 12:33:03 bentCluster-1 multipathd: checker failed path 8:224 in map mpath0 Mar 1 12:33:03 bentCluster-1 kernel: end_request: I/O error, dev sdo, sector 1249431

Re: Failover time of iSCSI multipath devices.

2010-03-01 Thread Mike Christie
On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It should timeout about 15 secs after you see Mar 1 07:14:27 bentCluster-1 kernel: connection4:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4884304, last ping

Re: Failover time of iSCSI multipath devices.

2010-03-01 Thread guy keren
Mike Christie wrote: On 03/01/2010 12:06 PM, bet wrote: 1. Based on my timeouts I would think that my session would time out Yes. It should timeout about 15 secs after you see Mar 1 07:14:27 bentCluster-1 kernel: connection4:0: ping timeout of 5 secs expired, recv timeout 5, last rx