Search found 123 matches

by tve
Wed Apr 01, 2015 4:15 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Sorry for the flurry of posts, but each time I decide to quit and go to bed I come up with another little test.... Here's a packet trace of 3 TCP connection attempts to a port on which the esp8266 app isn't listening (port 24 instead of the port 23 my app is using): 00:00:00.000000 IP 192.168.0.3.35...
by tve
Wed Apr 01, 2015 3:52 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Mhh, there seems to be a new bug triggered by the combination of using the write_finish callback and the NODELAY set_opt. I made a single change to my previous test program, which uses the write_finish callback: I added the ESPCONN_NODELAY option (in addition to the ESPCONN_COPY option) using two ca...
by tve
Wed Apr 01, 2015 3:28 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Faye, I'm afraid that the "write_finish" callback doesn't really fix the problem, it just masks it for certain use-cases. Here is a packet trace with my original program slightly modified to send 60-character packets (instead of 6-character). .3 is the linux server, .29 is the esp8266, the...
by tve
Wed Apr 01, 2015 2:58 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Faye, thanks for the sample code. I hadn't seen the "write_finish" callback before. Looks like this is new in 1.0? Can you explain what it does? I know the docs say "callback which will be called when all sending data is completely write into write buffer or sent", but what does ...
by tve
Wed Apr 01, 2015 2:39 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Her Majesty :-) thanks for posting your test binary. Your set-up must be different from mine, because I can't get the performance you get. :-( I ran the sommand you indicated: connected with tve-home, channel 1 dhcp client start... ip:192.168.0.29,mask:255.255.255.0,gw:192.168.0.1 :> tcp -W -i 192.1...
by tve
Wed Apr 01, 2015 3:34 am
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

I see, I will try that this evening if have a moment.
by tve
Tue Mar 31, 2015 11:37 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Thanks, that's interesting. I suppose 1Mbps / 8bits/byte / 1420 packet length = 88 packets/sec. Can you show the source code for your app or at least for the section that does the sending?
by tve
Tue Mar 31, 2015 2:31 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Actually the *proof* that the problem has nothing to do with TCP ACKs is very simple. Run two "nc esp8266 23" connections at the same time. The acks for these two connections are completely independent. The buffers are also independent. Thus the two connections should not influence one-ano...
by tve
Tue Mar 31, 2015 2:23 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

I'm sorry, but waiting for the TCP ACK does not explain why the esp8266 is so slow. I just recompiled my test (which is still freely available at https://github.com/jeelabs/ESP8266-bandwidth) with the 1.0 SDK and despite my server sending an ACK immediately (it gets enqueued in microseconds) the esp...
by tve
Tue Mar 17, 2015 10:53 pm
Forum: ESP8266 SDK
Topic: No more than 2-3 packets/sec from the ESP8266?
Replies: 34
Views: 31624

Re: No more than 2-3 packets/sec from the ESP8266?

Hi, you can just try AT bin files in \esp_iot_sdk_v0.9.6_b1\bin\at send data in transparent transmission, refer to document "Espressif AT Command Examples". we tested it , the speed is only limited by UART. Thanks for your interest in ESP8266 ! I do not see a speed improvement. Can you ma...

Go to advanced search