From: "David S. Miller" <davem@redhat.com>
To: kuznet@ms2.inr.ac.ru
Cc: mike_phillips@urscorp.com, linux-kernel@vger.kernel.org
Subject: Re: skb->truesize > sk->rcvbuf == Dropped packets
Date: Sun, 13 May 2001 20:29:36 -0700 (PDT) [thread overview]
Message-ID: <15103.20768.588746.495042@pizda.ninka.net> (raw)
In-Reply-To: <200105131834.WAA28023@ms2.inr.ac.ru>
In-Reply-To: <15089.61095.23597.82875@pizda.ninka.net> <200105131834.WAA28023@ms2.inr.ac.ru>
kuznet@ms2.inr.ac.ru writes:
> > > Any suggestions on heuristics for this ?
>
> Not to set rcvbuf to ridiculously low values. The best variant is not
> to touch SO_*BUF options at all.
Hmmm... I don't see how not touching buffer values can solve his
problem at all. His MTU is really HUGE, and in this case 300 byte
packet eats 10k or so space in receive buffer.
I doubt our buffer size tuning algorithms can cope with this.
Really, copy threshold in driver just must be choosen carefully.
Later,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2001-05-14 3:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-03 23:24 mike_phillips
2001-05-03 23:49 ` David S. Miller
2001-05-13 18:34 ` kuznet
2001-05-14 3:29 ` David S. Miller [this message]
2001-05-14 16:16 ` kuznet
-- strict thread matches above, loose matches on Subject: below --
2001-05-14 15:08 mike_phillips
2001-05-03 22:29 mike_phillips
2001-05-03 22:51 ` Alan Cox
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=15103.20768.588746.495042@pizda.ninka.net \
--to=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mike_phillips@urscorp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®