Matthias
Matthias

Reputation: 1436

Slower HTTP 1.0 Communication on Windows Embedded Compact 7 (Formerly CE)

on Windows Embedded Compact 7 (Formerly CE) I have a much slower performance responsing to HTTP 1.0 requests than on older Windows CE versions (4.0 and 5.0). On Windows CE 5.0 I have about 10 ms to respond a request and on Embedded Compact 7 about 170 ms. As soon as I switch to "Keep Alive" and HTTP 1.1 its fast again. But I want to understand if there was any new socket limitation or option option introducted that can be changed.

Upvotes: 3

Views: 592

Answers (1)

cdurham
cdurham

Reputation: 46

I suggest you set TCPSendQueueDelay to 0 in the registry. (https://technet.microsoft.com/en-us/subscriptions/securedownloads/ee495047.aspx) The default setting is 4 (in ms), and in our application this caused significant delays when many small packets are being exchanged. This is apparently a new setting in WEC7 which causes the tcp/ip performance to be much worse in the case of many small packets being exchanged. This will reduce performance for some communication patterns, such as large blocks of data being sent fairly frequently. A Microsoft representative has confirmed to us that setting TCPSendQueueDelay causes WEC7's behavior to be the same as CE 5.0's.

Upvotes: 3

Related Questions