I have been sick for the past two days, and busy in the early part of the week, so I have not had a chance to do a lot of W5100 testing. I felt well enough to do a little performance testing.
The W5100 works nicely, but it is not a speed demon.
I ran two different tests on a Domino and a Cobra. I was curious to see the difference in performance.
The first test was an echo test. A program on the PC connected to the target machine, and started to send 1024 blocks of the data. The target machine, upon receiving data, send it back to the sender. This was basically a echo server.
The PC program then monitored the data it received back and kept statistics.
The Domino software was copied to the Cobra project, so only difference was the absence of initialization code in the Cobra .
On the Domino, for the send-receive-send-receive throughput was about 6,800 bytes per second. On the Cobra, the rate was 68,500 bytes per second.
For the next test, the PC program was modified to not send any data, and the target machine’s program was modified to start sending 1024 data blocks as soon as a connection was made.
The rate with the Domino sending was 14,500 bytes per second and the Cobra rate was 130,000 bytes per second.
The doubling of the rates between the echo test and the continuous send test was to be expected.
The W5100 is slow, but not unexpected. I believe an SPI to serial interface is used with the W5100 on an ethernet shield.
I had never done any performance testing on the Cobra, and was impressed with the throughput found.