Re: [chrony-dev] [GIT] chrony/chrony.git branch, master, updated. 1.25-pre1-18-g20a4340

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Wed, Apr 13, 2011 at 09:48:46AM -0700, Bill Unruh wrote:
> On Wed, 13 Apr 2011, Miroslav Lichvar wrote:
> >sd = sqrt(inst->variance)
> >sd_weight = 1.0 + SD_TO_DIST_RATIO * (peer_distances[i] - min_distance) / sd;
> >weights[i] = sd_weight * sd_weight;
> 
> That use of sd in the weights is new in the code. It used to be be that the weighting was
> purely by the ratio of the excess distance over the min_distance. Not sure
> why the sd is in there instead now. Did you add it?

Yes, I did. The idea behind it is that adding a constant to the
distance shouldn't change the weights. Two servers with equal
jitters, but different delays should give the same results.

-- 
Miroslav Lichvar

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/