From: mike_phillips@urscorp.com
To: "David S. Miller" <davem@redhat.com>
Cc: kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org
Subject: Re: skb->truesize > sk->rcvbuf == Dropped packets
Date: Mon, 14 May 2001 12:08:06 -0300 [thread overview]
Message-ID: <OFE3DC388A.10616F68-ON84256A4C.004C2B8C@urscorp.com> (raw)
> > > > 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.
Yep, it's no big thing to make the change in the driver, the copy is not
that expensive and compared to the speed of the physical layer its
virtually a non-impact. The most I've ever got out of 16 mbps t/r is just
over 2 mb/second and memory copies can easily keep up with that. (That's
with 8192 byte mtu's and ftp transfers which wouldn't get copied anyway).
Mike
next reply other threads:[~2001-05-14 15:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-14 15:08 mike_phillips [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2001-05-14 16:16 ` kuznet
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=OFE3DC388A.10616F68-ON84256A4C.004C2B8C@urscorp.com \
--to=mike_phillips@urscorp.com \
--cc=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--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 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®