All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chris@wirex.com>
To: Ben Greear <greearb@candelatech.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: question on select:  How big can the empty buffer space be before select returns ready-to-write?
Date: Sun, 9 Dec 2001 23:33:49 -0800	[thread overview]
Message-ID: <20011209233349.C27109@figure1.int.wirex.com> (raw)
In-Reply-To: <3C145359.3090401@candelatech.com>
In-Reply-To: <3C145359.3090401@candelatech.com>; from greearb@candelatech.com on Sun, Dec 09, 2001 at 11:16:57PM -0700

* Ben Greear (greearb@candelatech.com) wrote:
> For instance, it appears that select will return that a socket is
> writable when there is, say 8k of buffer space in it.  However, if
> I'm sending 32k UDP packets, this still causes me to drop packets
> due to a lack of resources...

udp has a fixed 8k max payload. did you try breaking up your packets?

cheers,
-chris

  reply	other threads:[~2001-12-10  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10  6:16 question on select: How big can the empty buffer space be before select returns ready-to-write? Ben Greear
2001-12-10  7:33 ` Chris Wright [this message]
2001-12-10  8:38   ` Alan Cox
2001-12-10 16:41     ` Ben Greear
2001-12-10 19:05   ` Christopher Friesen
2001-12-10 21:46     ` Chris Wright

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=20011209233349.C27109@figure1.int.wirex.com \
    --to=chris@wirex.com \
    --cc=greearb@candelatech.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.