From: Ralf Baechle <ralf@linux-mips.org>
To: jarmo <oh1mrr@nic.fi>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ax25 t1_timeout
Date: Mon, 7 Mar 2005 14:19:57 +0000 [thread overview]
Message-ID: <20050307141957.GB8466@linux-mips.org> (raw)
In-Reply-To: <200503061158.11446.oh1mrr@nic.fi>
On Sun, Mar 06, 2005 at 11:58:11AM +0200, jarmo wrote:
> Withs kernel 2.6.11 ax25 t1_timeout is working badly...
> Expl. I have set t1_timeout to 10s (10000).Now testing..
> Taking radio of,set connection to somewhere,first try then
> 10s time second try...But then 20s and try next 30s and try...
> So t1_timeout is increasing?In 2.6.10 timeout is 10 and
> it does not increase...Possible bug?
No, pilot error ;-)
Linux supports three different backoff types which can be configured via
/proc or sysctl. This is how to display the backoff type of interface
sp0, for example:
[root@dl5rb] sysctl net.ax25.sp0.backoff_type
net.ax25.sp0.backoff_type = 1
[root@dl5rb]
1 in this example stands for linear backoff which is the default and what
you've been observing. 0 would be no backoff which generally in a shared
RF environment is probably unfriendly and can mathematically be shown to
cause network meltdowns. Finally 2 would means exponential backoff,
which would use t1, 2*t1, 4*t1, 8*t1 for the waiting time, but never goes
worse than 8 * t1.
You can change the value with sysctl also but generally linear backoff is
quite reasonable.
73 de DL5RB op Ralf
--
Loc. JN47BS / CQ 14 / ITU 28 / DOK A21
prev parent reply other threads:[~2005-03-07 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-06 9:58 ax25 t1_timeout jarmo
2005-03-07 14:19 ` Ralf Baechle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050307141957.GB8466@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oh1mrr@nic.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox