All of lore.kernel.org
 help / color / mirror / Atom feed
From: Skywind <gnuwind@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Is kernel 2.6.11 adjust tcp_max_syn_backlog incorrectly?
Date: Mon, 6 Jun 2005 22:10:17 +0800	[thread overview]
Message-ID: <75052be705060607106a6c0882@mail.gmail.com> (raw)
In-Reply-To: <75052be7050606070691c302d@mail.gmail.com>

Is kernel 2.6.11 adjust tcp_max_syn_backlog incorrectly?

Test Backgroud:
CPU: Intel P4
Mem: 512Mb
The /etc/sysctl.conf and other haven't touch anything.

I found a strange question: when I use kernel 2.6.11, the value of
/proc/sys/net/ipv4/tcp_max_syn_backlog is 256,
while kernel 2.6.10 on same computer the value is 1024.

So I check the net/ipv4/[tcp.c, tcp_ipv4.c] and know when Mem >= 256Mb
the tcp_max_syn_backlog will be set to 1024,
but it is 256 in my test above.

Some other variables that should be adjust all together with
tcp_max_syn_backlog are:
ip_local_port_range
tcp_max_tw_buckets
tcp_max_orphans
But they don't be adjust to correctly value(refer to net/ipv4/tcp.c) all.

It seems that kernel don't adjust these value automatic, is this a bug?

I guess the mechanism of tcp.c in 2.6.11 have some changes(between
2.6.10), and it conduce to this result,
Is this guess correctly?



Xu Gang (Skywind)
2005/06/06

       reply	other threads:[~2005-06-06 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <75052be7050606070691c302d@mail.gmail.com>
2005-06-06 14:10 ` Skywind [this message]
2005-06-11 10:25   ` Is kernel 2.6.11 adjust tcp_max_syn_backlog incorrectly? Andi Kleen
2005-06-13 21:24     ` David S. Miller
2005-06-07  0:45 Skywind

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=75052be705060607106a6c0882@mail.gmail.com \
    --to=gnuwind@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.