All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shan Wei <shanwei88@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: NetDev <netdev@vger.kernel.org>
Subject: [BUG report] net.core.rmem_default is larger than net.core.rmem_max
Date: Fri, 27 Apr 2012 17:31:22 +0800	[thread overview]
Message-ID: <4F9A676A.8070406@gmail.com> (raw)


It's unconventional that "default" value  is greater than "max". :-(

net.core.rmem_max = 131071
net.core.rmem_default = 229376

net.core.wmem_max = 131071
net.core.wmem_default = 229376


And bisect the code to find the following commit caused this phenomenon.
This patch increase SK_WMEM_MAX and SK_RMEM_MAX which are used to 
initialize them.
But rmem_max and wmem_max value are still be covered according the RAM size
in sk_init().

87fb4b7b533073eeeaed0b6bf7c2328995f6c075 is the first bad commit
commit 87fb4b7b533073eeeaed0b6bf7c2328995f6c075
Author: Eric Dumazet <eric.dumazet@gmail.com>
Date:   Thu Oct 13 07:28:54 2011 +0000

    net: more accurate skb truesize

             reply	other threads:[~2012-04-27  9:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27  9:31 Shan Wei [this message]
2012-06-11  2:06 ` [BUG report] net.core.rmem_default is larger than net.core.rmem_max Shan Wei

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=4F9A676A.8070406@gmail.com \
    --to=shanwei88@gmail.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@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.