mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: chris@wirex.com (Chris Wright)
Cc: greearb@candelatech.com (Ben Greear),
	linux-kernel@vger.kernel.org (linux-kernel)
Subject: Re: question on select:  How big can the empty buffer space be before select returns ready-to-write?
Date: Mon, 10 Dec 2001 08:38:18 +0000 (GMT)	[thread overview]
Message-ID: <E16DLx4-0001Ds-00@the-village.bc.nu> (raw)
In-Reply-To: <20011209233349.C27109@figure1.int.wirex.com> from "Chris Wright" at Dec 09, 2001 11:33:49 PM

> 
> * 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?

UDP has a 64K - headers max payload. 


  reply	other threads:[~2001-12-10  8:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10  6:16 Ben Greear
2001-12-10  7:33 ` Chris Wright
2001-12-10  8:38   ` Alan Cox [this message]
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=E16DLx4-0001Ds-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=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 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®