All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Andreani Stefano <stefano.andreani.ap@h3g.it>
Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: Kernel bug handling TCP_RTO_MAX?
Date: Fri, 13 Dec 2002 00:38:30 +0200	[thread overview]
Message-ID: <20021212223830.GH32122@mea-ext.zmailer.org> (raw)
In-Reply-To: <047ACC5B9A00D741927A4A32E7D01B73D66176@RMEXC01.h3g.it>

On Thu, Dec 12, 2002 at 08:15:42PM +0100, Andreani Stefano wrote:
> Problem: I need to change the max value of the TCP retransmission timeout. 
...
> #define TCP_RTO_MAX	((unsigned)(6*HZ)) //It was: ((unsigned)(120*HZ))
> 
> Then I recompiled the kernel, rebooted the machine and tested the 
> solution. The result I obtained was the same I had before this 
> modification. 

  Oh, you want to cap the retransmit time to 6 seconds so that
  TCP works (at least somehow) in a terribly lossy network ?

  Having that _low_ value at it isn't advisable in the general
  internet, but these modern mobile networks with paketized data
  are pain with dramatically varying latencies.  TCP works
  badly in such environments.  X.25 works better - to a degree..


  Changeing the value, and doing "make clean; make bzImage"
  should give you a kernel with it in.


..
> Could it be a bug on the RTO calculation algorithm, or there is 
> something I mistook?

  Possibly omitting "make clean" -- short-cutting it can be done
  by:  "rm net/ipv4/*.o"   I think..

> This is the first time I get into the linux kernel, so please be 
> patient!
> 
> Thanks,
> Stefano.
> -------------------------------
>         Stefano Andreani
>     Freelance ICT Consultant
>       H3G IOT Team - Italy
>       tel. +39 347 8215965
>    stefano.andreani.ap@h3g.it

/Matti Aarnio  

      parent reply	other threads:[~2002-12-12 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 19:15 Kernel bug handling TCP_RTO_MAX? Andreani Stefano
2002-12-12 19:58 ` David S. Miller
2002-12-12 20:18 ` Richard B. Johnson
2002-12-12 22:38 ` Matti Aarnio [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=20021212223830.GH32122@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=stefano.andreani.ap@h3g.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.