lkml.org 
[lkml]   [2004]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Select/Poll
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:4.195 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site