Matthew Toseland wrote:
> On Tue, Aug 22, 2006 at 10:46:21AM -0500, David Sowder (Zothar) wrote:
>
>> Matthew Toseland wrote:
>>
>>> How would we determine "our" ping time as distinct from our peers' ping
>>> time? I suppose they could tell us?
>>>
>>>
>> Ping time is round trip, thus the median ping, though perhaps in this
>> case we'd want the lowest current ping of all peers since that number's
>> averaged over time anyway.
>>
>
> Sure, but we're determining whether to pre-emptively reject requests
> based on our estimate of load. Two of the factors are ping time
> (700-1500ms we reject some, more than that we reject all) and bwlimit
> delay time (1000-2000ms, but I think there is a problem with the
> limiter). The objective here is to prevent timeouts; timeouts are *bad*.
>
I would agree that there is a problem with the limiter. Perhaps we
could isolate that code and do some testing on it and debug until a
flood of test packets shows up as limited on an MRTG (i.e. the graph
never goes above the limit (and not by much if it does, later
compensating), but roughly flatlines at the limit).