Messages in this thread | | | Date | Thu, 3 Jun 2004 11:53:35 -0400 | From | khandelw@cs ... | Subject | Re: Select/Poll |
| |
I meant it in the context of TCP. I thought it was implicit enough, because if he was using UDP then packet loss is expected. (not necessary that it will happen)
- Amit Khandelwal
Quoting Mike Jagdis <mjagdis@eris-associates.co.uk>:
> 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/
| |