Can TCP transfer more then 80kbyte/sec??

Selukov Andrew <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Organization Home
Message-ID <[email protected]>
hi
>	>        send(handle_send, data_send, 1000, 0);  
>	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>	Consider sending more data here.  If you use TTCP, it's default transfer 
>	size is 16 megabytes.  The timing resolution is restricted to 1ms, which 
>	allows approximately 10000 raw octets to transfer on 100Mbps Ethernet.
I increased buffer
I was testing transfer rate again..
I tried  changed  speed by PHY MODE CONFIGURATION (J9,j10,J11 on Tini400 
Socket Board)

Nothing occured. Transferd rate didn't insrease.
i think size of  buffer in  IEEE 802.3a is restricted to 1500byte
I cann't send more than 1500 in one package.

15:05:14.581778 192.168.2.73.11025 > darkstar.ru.1197: P 1736993:1738453(1460)   
ack 2 win 4096 (DF)
0x0000   4500 05dc 0000 4000 4006 af3a c0a8 0249        [email protected]@..:...I
0x0010   c0a8 0248 2b11 04ad b604 6f2a f934 b8d5        ...H+.....o*.4..
0x0020   5018 1000 ddbe 0000 0000 0000 0000 0000        P...............
0x0030   0000 0000 0000 0000 0000 0000 0000 0000        ................
0x0040   0000 0000 0000 0000 0000 0000 0000 0000        ................
0x0050   0000



>>Yes.  The peak is probably 500K/sec at 75MHz.

> Does the send function execute in another thread?

No, it runs under interrupt in the background.
i don't undestand. 
What does mean background?
The DS80C400 must copy my data from RAM. This operation must take time.
The time of send(handle_send, data_send, 1000, 0);  command equal 1 mills 




c:\My_Work\tini2\work>PCATTCP.exe -r
PCAUSA Test TCP Utility V2.01.01.07
TCP Receive Test
  Local Host  : selukov
**************
  Listening...: On port 5001

  Accept      : TCP <- 192.168.2.73:60397
  Buffer Size : 8192; Alignment: 16384/0
  Receive Mode: Sinking (discarding) Data
  Statistics  : TCP <- 192.168.2.73:60397
199990 bytes in 2.43 real seconds = 80.24 KB/sec +++
numCalls: 138; msec/call: 18.06; calls/sec: 56.70

c:\My_Work\tini2\work>PCATTCP.exe -r
PCAUSA Test TCP Utility V2.01.01.07
TCP Receive Test
  Local Host  : selukov
**************
  Listening...: On port 5001

  Accept      : TCP <- 192.168.2.73:60397
  Buffer Size : 8192; Alignment: 16384/0
  Receive Mode: Sinking (discarding) Data
  Statistics  : TCP <- 192.168.2.73:60397
279986 bytes in 3.52 real seconds = 77.79 KB/sec +++
numCalls: 193; msec/call: 18.65; calls/sec: 54.91

-- 
With best regards,
Selukov Andrey.

...а xmms ...  '08 - Carlos Santana - I Love You Much To Much'...

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.