All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: "m k" <mk_26@hotmail.com>
Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: Linux TCP implementation
Date: Mon, 22 Mar 2004 18:28:58 -0800	[thread overview]
Message-ID: <20040322182858.50e49a9e.davem@redhat.com> (raw)
In-Reply-To: <BAY15-F28psNhnM7kl300089ffe@hotmail.com>

[ Post stuff like this to netdev@oss.sgi.com or linux-net@vger.kernel.org,
  most net developers do not read linux-kernel, thanks. ]

On Mon, 22 Mar 2004 20:58:46 +0000
"m k" <mk_26@hotmail.com> wrote:

> 	Also, if the snd_cwnd is maintained in terms of packets and snd_ssthresh 
> and
> snd_cwnd_clamp is maintained in terms of bytes, how come the comparison 
> between them.

All of the congestion variables are maintained in terms of packets.

The function you quote, tcp_cong_avoid(), determines if we increase
the congestion window exponentially (when snd_cwnd is less than or
equal to snd_ssthresh) or linearlly (when snd_cwnd is more than
snd_ssthresh).

This is bog-standard Van Jacobson congestion avoidance, nothing fancy.

  reply	other threads:[~2004-03-23  2:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-22 20:58 Linux TCP implementation m k
2004-03-23  2:28 ` David S. Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-18 19:12 Maciej Soltysiak
2004-02-18 22:45 ` Stephen Hemminger
2004-02-17  0:40 Diwaker Gupta

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=20040322182858.50e49a9e.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mk_26@hotmail.com \
    --cc=netdev@oss.sgi.com \
    /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.