Bad interaction between sleep timeouts and Salut?
quozl at laptop.org
Wed Sep 15 23:26:02 EDT 2010
On Wed, Sep 15, 2010 at 08:04:25PM -0400, Martin Langhoff wrote:
> I am curious -- what is the frequency of "presence broadcasts" when
> Salut is used? Where is it set?
Three minutes. Perhaps KEEPALIVE_TIMEOUT in
> With current 10.1.2 using salut over ad-hoc the neighbourhood view
> never stabilises, and it's very apparent that it's because nodes go to
> sleep too quickly (before they see others, before they are seen). And
> when awake, they take a long time to regain a good view of what's out
> If we can experiment with the timeouts (knowing where the knobs are)
> maybe we can find out...
> (Tomeu, I bother you because I suspect you'd know... hope it's not an
Salut over ad-hoc seems to use multicast packets, according to my
tcpdump, so this source file appears relevant.
The timers are specified there as constants, without configurable
settings. So if you don't mind fiddling with them and recompiling, it
should be possible to improve the situation, at the expense of increased
Might also detect resume, evaluate time interval lost, and expire the
More information about the Devel