Call to arms | Teensy + WiFi = true

@wwatson could you try out the branch I just pushed, for your wired Ethernet tests? `fix-memory-and-stuff` (39ff9dece4). It has some memory usage fixes and improvements (eg. churn) (along with some other fixes and improvements — see the Changelog). It's what will become the beginnings of v0.38.0.
 
I'll add: I'm working through some fixes and memory-related fixes and improvements, eg. to reduce churn. After that, I'll be diving into a WiFi driver, and then the multi-interface stuff.
I'm also working on handling low-memory conditions more gracefully than "terminate" when std::vector can't allocate memory.
 
@shawn - If you can, can you direct me to the MBed TLS library you are talking about in your QNEthernet sketch "MbedTLSDemo.ino"?
Went through all of the examples except for "MbedTLSDemo.ino" using wired Etherrnet. All tests were repeated several times and workedd without any issues. Pinging thee T4.1 with the laptop also passed...
EDIT: This was using `fix-memory-and-stuff`.
 
Went through all of the examples except for "MbedTLSDemo.ino" using wired Etherrnet. All tests were repeated several times and workedd without any issues. Pinging thee T4.1 with the laptop also passed...
EDIT: This was using `fix-memory-and-stuff`.
I meant: Could you check the timing with that branch? I wasn't asking for a comprehensive test; just timing with the SimpleHTTPClient example. :)

I want to see if some of the memory stuff and fixes I've been doing change your measurements.
 
I meant: Could you check the timing with that branch? I wasn't asking for a comprehensive test; just timing with the SimpleHTTPClient example. :)

I want to see if some of the memory stuff and fixes I've been doing change your measurements.
1. Response stats: 93118 bytes in 0.297745 seconds
2. Response stats: 93194 bytes in 0.285343 seconds
3. Response stats: 93236 bytes in 0.273473 seconds
4. Response stats: 92283 bytes in 0.284771 seconds
5. Response stats: 93272 bytes in 0.297262 seconds
6. Response stats: 92248 bytes in 0.282887 seconds
7. Response stats: 92319 bytes in 0.288156 seconds
8. Response stats: 93234 bytes in 0.283728 seconds
9. Response stats: 93115 bytes in 0.281264 seconds
10. Response stats: 93233 bytes in 0.283013 seconds

That look like a ~0.28 second average...
EDIT: And just for more info:
Code:
wwatson@wwatsond1:~$ iperf -c 192.168.7.248 -i 1 -l 1460
------------------------------------------------------------
Client connecting to 192.168.7.248, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.7.254 port 60986 connected with 192.168.7.248 port 5001 (icwnd/mss/irtt=14/1460/15361)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-1.0000 sec  2.51 MBytes  21.0 Mbits/sec
[  1] 1.0000-2.0000 sec  4.45 MBytes  37.3 Mbits/sec
[  1] 2.0000-3.0000 sec  4.47 MBytes  37.5 Mbits/sec
[  1] 3.0000-4.0000 sec  4.47 MBytes  37.5 Mbits/sec
[  1] 4.0000-5.0000 sec  4.49 MBytes  37.7 Mbits/sec
[  1] 5.0000-6.0000 sec  4.42 MBytes  37.1 Mbits/sec
[  1] 6.0000-7.0000 sec  4.49 MBytes  37.6 Mbits/sec
[  1] 7.0000-8.0000 sec  4.45 MBytes  37.3 Mbits/sec
[  1] 8.0000-9.0000 sec  4.47 MBytes  37.5 Mbits/sec
[  1] 9.0000-10.0000 sec  4.49 MBytes  37.7 Mbits/sec
[  1] 0.0000-10.0150 sec  42.7 MBytes  35.8 Mbits/sec
 
@shawn - Just for the heck if it I decided to recheck performance of the SF CYW43439 shield:
Code:
CYW43439:
1.  Response stats: 92260 bytes in 0.17684 seconds
2.  Response stats: 93208 bytes in 0.187184 seconds
3.  Response stats: 92532 bytes in 0.200412 seconds
4.  Response stats: 93113 bytes in 0.198067 seconds
5.  Response stats: 92103 bytes in 0.200453 seconds
6.  Response stats: 92282 bytes in 0.198245 seconds
7.  Response stats: 93189 bytes in 0.213514 seconds
8.  Response stats: 93130 bytes in 0.18053 seconds
9.  Response stats: 93245 bytes in 0.164203 seconds
10. Response stats: 93103 bytes in 0.177511 seconds

wwatson@wwatsond1:~$ iperf -c 192.168.7.247 -i 1 -l 1460
------------------------------------------------------------
Client connecting to 192.168.7.247, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.7.242 port 57314 connected with 192.168.7.247 port 5001 (icwnd/mss/irtt=14/1460/3695)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-1.0000 sec  2.46 MBytes  20.7 Mbits/sec
[  1] 1.0000-2.0000 sec  2.42 MBytes  20.3 Mbits/sec
[  1] 2.0000-3.0000 sec  2.30 MBytes  19.3 Mbits/sec
[  1] 3.0000-4.0000 sec  2.17 MBytes  18.2 Mbits/sec
[  1] 4.0000-5.0000 sec  2.42 MBytes  20.3 Mbits/sec
[  1] 5.0000-6.0000 sec  2.30 MBytes  19.3 Mbits/sec
[  1] 6.0000-7.0000 sec  2.16 MBytes  18.1 Mbits/sec
[  1] 7.0000-8.0000 sec  2.07 MBytes  17.3 Mbits/sec
[  1] 8.0000-9.0000 sec  2.39 MBytes  20.0 Mbits/sec
[  1] 9.0000-10.0000 sec  2.30 MBytes  19.3 Mbits/sec
[  1] 0.0000-10.1432 sec  23.0 MBytes  19.0 Mbits/sec
The response time are a little faster but less consistent than the wired results. Also the iPerf for the CYW43439 is slower and more inconsistent than the wired interface...
 
@gigapod - Finally got around to testing your SDIO block mode xfer branch compared to the main branch of QNEthernet_WIFI. Using the 'WiFiTCPThroughput.ino' sketch. For both branches the speed is pretty much the same ~10.5 Mbits/sec which is a little surprising. I kind of thought the block mode transfer would be faster than the byte mode. Apparently not:D
 
Back
Top