mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Jagdis <mjagdis@eris-associates.co.uk>
To: khandelw@cs.fsu.edu
Cc: jyotiraditya@softhome.net, linux-kernel@vger.kernel.org
Subject: Re: Select/Poll
Date: Thu, 3 Jun 2004 16:10:59 +0100	[thread overview]
Message-ID: <20040603151058.GA3169@eris-associates.co.uk> (raw)
In-Reply-To: <1086190109.a0ea5ca71914e@system.cs.fsu.edu>

On Wed, Jun 02, 2004 at 11:28:29AM -0400, khandelw@cs.fsu.edu wrote:
> Hello,
>    Can you give more details - Like which machine which vendor etc.,
> On a sony vaio pcg frv31 laptop/ redhat 9.0/ after firing some 36,000+ request
> my select multiplexed server used to fail. With select I believe you not get
> any packet loss...

Then you'd be wrong. Poll/select tell you when desriptors
are readable/writable. They do *not* impose any magic queuing
mechanism that guarantees the buffers won't overflow. If the
low level protocol is non-flow controlled like UDP you *have*
to read data faster than it arrives and not write data faster
than it is being transmitted.

Mike

-- 
Mike Jagdis                        Web: http://www.eris-associates.co.uk
Eris Associates Limited            Tel: +44 7780 608 368
Reading, England                   Fax: +44 118 926 6974

  reply	other threads:[~2004-06-03 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02  5:33 Select/Poll jyotiraditya
2004-06-02  5:54 ` Select/Poll David Schwartz
2004-06-02  6:12   ` Select/Poll Ben Greear
2004-06-02  6:38     ` Select/Poll bert hubert
2004-06-02  6:09 ` Select/Poll Ben Greear
2004-06-02  7:05 ` Select/Poll Vadim Lobanov
2004-06-02 14:11   ` Select/Poll Davide Libenzi
2004-06-02 15:28 ` Select/Poll khandelw
2004-06-03 15:10   ` Mike Jagdis [this message]
2004-06-03 15:53     ` Select/Poll khandelw

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=20040603151058.GA3169@eris-associates.co.uk \
    --to=mjagdis@eris-associates.co.uk \
    --cc=jyotiraditya@softhome.net \
    --cc=khandelw@cs.fsu.edu \
    --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®