I would like to transfer large amount of inormation over TCP, and
unfortunately I'm unable to achieve good performance.
My target is:
ADS8272 (PPC), VxWorks 6.3.
Network driver is the standard "motfcc".
The network connection is 100BaseT, Half Duplex.
On the host (WinXP), I wrote a simple server that does the usual TCP
socket -> bind -> listen -> accept, followed by a multiple
On the target, a simple TCP client does:
socket -> connect, followed by a loop of <recv> until the server
With this simple scenario, the top speed I measured was 800KB/S.
I've also tried setting NODELAY, RCVBUF and SNDBUF socket options, but
didn't see any noticeable improvement.
Any help and tips would be greatly appriciated.
Re: TCP Performance
On Apr 6, 3:05 pm, "A.Holden" <Holden.Al...@gmail.com> wrote:[color=blue]
> I would like to transfer large amount of inormation over TCP, and
> unfortunately I'm unable to achieve good performance.
> With this simple scenario, the top speed I measured was 800KB/S.[/color]
Sorry - my bad.
Was using very small buffer in <recv> calls. Once the buffer size was
increased - speed went up to 7.5 MB/s.