1 Oct 2003 01:22
Re: Re: Some suggestions for NG routing
On September 30, 2003 12:43 pm, Ian Clarke wrote: > On Tue, Sep 30, 2003 at 08:12:31AM -0400, Ed Tomlinson wrote: > > 1. The NG weight calculation contains 4 terms, wSF, wTF, wDNF, > > wSuccess. The last two are conditional on pSF (and pConn which is not > > used now). When a node is busy its pSF quickly reaches .99 or larger. > > This tends to damp out any wDNF/wSucess info so, in effect when we are > > routing to busy nodes, we route randomly. If we remove the > > (1-SFp)*(1-pConn) factor from these terms we would try the busy nodes in > > order of specialization. > > But that term is there for a reason - namely to discourage routing to > busy nodes in a manner that tries to balance the risk that the node will > QR with the benefits of routing to that node. Getting rid of that term > will eliminate NGR's load balancing. Yesterday I traced down and fixed a but that was producing very very large values for tSF. With this, this hack may not be needed... And yes it would bias the weights. One point here. A case could be made that wTF should be using (1-pSF) term too. Suspect that most transfer fails occur during the receipt of data. > > 2. When estimating weights, if pDNF is zero, wDNF can be less than zero. > > I suggest that, when the estimator for a node returns zero for pDNF (it > > has no info a this time) we would be better to use pLegitDNF. i.e. add > > if(pDNF==0) pDNF=pLegitDNF; > > Yes, I think there is a general argument to be made that we should use > global averages when we don't have enough node-specific data for a given > estimate.(Continue reading)
RSS Feed