Re: Information about iSCSI pings that almost timed out

2009-12-08 Thread Erez Zilber
Regrading the average delay of a ping request task - we need to have the average delay, but we're interested only in the average delay of pings that were sent lately (i.e. not pings that were sent a year ago). Am I right? I thought about having a cyclic array of delays in the kernel. It can

Re: Information about iSCSI pings that almost timed out

2009-12-01 Thread Erez Zilber
On Sun, Nov 22, 2009 at 10:44 PM, Mike Christie micha...@cs.wisc.edu wrote: Erez Zilber wrote: On Thu, Nov 19, 2009 at 10:02 PM, Mike Christie micha...@cs.wisc.edu wrote: Ulrich Windl wrote: On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl

Re: Information about iSCSI pings that almost timed out

2009-11-22 Thread Erez Zilber
On Thu, Nov 19, 2009 at 10:02 PM, Mike Christie micha...@cs.wisc.edu wrote: Ulrich Windl wrote: On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! Wouldn't it be more obvious to calculate the average delay

Re: Information about iSCSI pings that almost timed out

2009-11-22 Thread Mike Christie
Erez Zilber wrote: On Thu, Nov 19, 2009 at 10:02 PM, Mike Christie micha...@cs.wisc.edu wrote: Ulrich Windl wrote: On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! Wouldn't it be more obvious to

Re: Information about iSCSI pings that almost timed out

2009-11-22 Thread Erez Zilber
On Sun, Nov 22, 2009 at 10:44 PM, Mike Christie micha...@cs.wisc.edu wrote: Erez Zilber wrote: On Thu, Nov 19, 2009 at 10:02 PM, Mike Christie micha...@cs.wisc.edu wrote: Ulrich Windl wrote: On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl

Re: Information about iSCSI pings that almost timed out

2009-11-19 Thread Erez Zilber
On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! Wouldn't it be more obvious to calculate the average delay to a ping request? (Possibly exponential average as for the system loads) (min and Max would be good as well, but standard deviation probably

Re: Information about iSCSI pings that almost timed out

2009-11-19 Thread Ulrich Windl
On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! Wouldn't it be more obvious to calculate the average delay to a ping request? (Possibly exponential average as for the system loads) (min and Max

Re: Information about iSCSI pings that almost timed out

2009-11-19 Thread Mike Christie
Ulrich Windl wrote: On 19 Nov 2009 at 11:07, Erez Zilber wrote: On Thu, Nov 19, 2009 at 9:38 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! Wouldn't it be more obvious to calculate the average delay to a ping request? (Possibly exponential average as for the system loads)

Information about iSCSI pings that almost timed out

2009-11-18 Thread Erez Zilber
open-iscsi sends nop-outs to the target. If the target responds quick enough, we don't get a timeout. I'd like to know (for internal debug purposes) how many times the ping timer almost expired. This sounds like a useful feature also for other open-iscsi developers/users. I was thinking about

RE: Information about iSCSI pings that almost timed out

2009-11-18 Thread Spears, Steve
Please take me off of your list. -Original Message- From: Erez Zilber [mailto:erezzi.l...@gmail.com] Sent: Wednesday, November 18, 2009 11:30 AM To: open-iscsi@googlegroups.com Subject: Information about iSCSI pings that almost timed out open-iscsi sends nop-outs to the target

Re: Information about iSCSI pings that almost timed out

2009-11-18 Thread Mike Christie
Erez Zilber wrote: open-iscsi sends nop-outs to the target. If the target responds quick enough, we don't get a timeout. I'd like to know (for internal debug purposes) how many times the ping timer almost expired. This sounds like a useful feature also for other open-iscsi developers/users.

Re: Information about iSCSI pings that almost timed out

2009-11-18 Thread Erez Zilber
On Thu, Nov 19, 2009 at 2:49 AM, Mike Christie micha...@cs.wisc.edu wrote: Erez Zilber wrote: open-iscsi sends nop-outs to the target. If the target responds quick enough, we don't get a timeout. I'd like to know (for internal debug purposes) how many times the ping timer almost expired. This

Re: Information about iSCSI pings that almost timed out

2009-11-18 Thread Ulrich Windl
Hi! Wouldn't it be more obvious to calculate the average delay to a ping request? (Possibly exponential average as for the system loads) (min and Max would be good as well, but standard deviation probably requires use of the FPU, so that's not possible in kernel modules (AFAIK)). Regards,