Re: TCP receive too many small packets
- From: "Chris Becke" <chris.becke@xxxxxxxxx>
- Date: Thu, 20 Sep 2007 10:05:49 +0200
"Tzicu" <adrian.rapiteanu@xxxxxxxxx> wrote in message
news:1190215505.723073.150080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a client / server application that communicates with each other
thru a socket connection.
The server application sends a lot, like 100,000 messages per second,
of small messages (60 bytes).
The client application that what it does is only to receive those
messages experience an increase in CPU usage in time.
Is something wrong with sending small TCP packets?
Im not sure I understand this question. Unless you ahve explicitly turned it
off, TCP will NOT send 100,000 60 byte packets per second. TCP sockets are
normally configured to wait ~200ms OR for a complete MTU (whichever comes
first) before sending a packet.
.
- Follow-Ups:
- Re: TCP receive too many small packets
- From: jerryk
- Re: TCP receive too many small packets
- From: jerryk
- Re: TCP receive too many small packets
- References:
- TCP receive too many small packets
- From: Tzicu
- TCP receive too many small packets
- Prev by Date: Re: TCP receive too many small packets
- Next by Date: Re: Timeout on Async Receive
- Previous by thread: Re: TCP receive too many small packets
- Next by thread: Re: TCP receive too many small packets
- Index(es):
Relevant Pages
|