All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Ellis <jonathan@berkeleydata.net>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: datagram queue length
Date: Tue, 09 Aug 2005 08:52:22 -0600	[thread overview]
Message-ID: <42F8C326.2020102@berkeleydata.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0508091037180.26280@chaos.analogic.com>

linux-os (Dick Johnson) wrote:
>>I seem to be running into a limit of 64 queued datagrams.  This isn't a
>>data buffer size; varying the size of the datagram makes no difference
>>in the observed queue size.  If more datagrams are sent before some are
>>read, they are silently dropped.  (By "silently," I mean, "tcpdump
>>doesn't record these as dropped packets.")

> Your datagram receiver isn't keeping up with your datagram
> transmitter. If you increase the number of datagrams that are
> being queued, you will still encounter the same problem, but
> after more datagrams are stored.

Right -- except that my consumer is quite fast enough in the average 
case; it's only the worst case where it can't keep up.  Extending the 
queue would allow it to catch up with such bursts of activity without 
dropping requests.  The low- and mid- hanging fruit has already been 
picked as far as consumer optimization goes; anything remaining is quite 
high indeed.

> In your test code, you deliberately don't receive anything
> for 5 seconds. What do you expect?

I expected to demonstrate the problem. :)

-Jonathan

      reply	other threads:[~2005-08-09 14:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09 13:55 datagram queue length Jonathan Ellis
2005-08-09 14:45 ` linux-os (Dick Johnson)
2005-08-09 14:52   ` Jonathan Ellis [this message]

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=42F8C326.2020102@berkeleydata.net \
    --to=jonathan@berkeleydata.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=linux-os@analogic.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.