This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: FreeBSD Stack/ Throughput over TCP/IP


thanks for your info, but we already turning off nagle with following code

int CRFC1006SvrLine::Nagle(SOCKET Socket, bool bMode)
{
   _ASSERTE(Socket != INVALID_SOCKET);
   int iPar = bMode ? -1 : 0;
   int iError = setsockopt(Socket,      // socket
                           IPPROTO_TCP,   // level
                           TCP_NODELAY,   // optname
                           (char*)&iPar, // optval
                           sizeof(iPar)  // size
                           );
}

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org]On Behalf Of Tim michals
Sent: Donnerstag, 2. September 2004 15:19
To: Richard Rauch; ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] FreeBSD Stack/ Throughput over TCP/IP


If your sending small size packets? If so you must
turn nagle off, it might be limiting your throughput.


--- Richard Rauch <Richard.Rauch@vipa.de> wrote:

> Hi all,
> 
> we are using the FreeBSD stack.
> We established a TCP/IP connection and have to
> receive data from a PC as
> fast as possible.
> The throughput is insufficient, because after a
> packet received, the stack
> waits up to 30ms to respond with Ack.
> 
> If we have a bidirectional communication, the
> throughput is much better,
> because there a no acknowledge delays.
> 
> How we can change this behaviour to become maximal
> throughput
> unidirectional?
> 
> Thanks
> Richard
> 
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]