On Jan 12, 2008, at 12:37 PM, Matthew Toseland wrote:

> On Friday 11 January 2008 22:23, Robert Hailey wrote:
>>
>> On Jan 11, 2008, at 11:40 AM, Matthew Toseland wrote:
>>
>>> Group 1:
>>> 100ms coalescing timeout.
>>> Various messages with short timeouts, or which we need to send
>>> quickly for one
>>> reason or another.
>>> ...
>>> FNPPing/FNPPong - ????
>>> FNPLinkPing/FNPLinkPong - ????
>>
>> Good or bad, I don't know... but in order for [SUB_]MAX_PING_TIME to
>> be the same stat the pings would either have to be queued with the
>> bulk data or a separate data-level-ping be made. Presently I suppose
>> it gives the combined send queue lengths (to/from) + rtt (x2), and  
>> the
>> caps are 700ms & 1500ms.
>
> Yes and no. We don't use the above for ping time any more, we use  
> the packet
> acknowledgements to calculate it.

Ok, I see.

NodeStats:shouldRejectRequest() calls...
NodePinger: averagePingTime() which averages...
PeerNode: averagePingTime() valued from a running average of...
PeerNode: receivedLinkPong(), a response from...
PeerNode: sendPing()... which is never called...

The actual feed to pingAverage is in KeyTracker. Perhaps the old stuff  
needs to be removed?

--
Robert Hailey


Reply via email to