buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44513, TCP slows down receiving due...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44513: TCP slows down receiving due packet reordering

Submitted by:  Homyak <onlyslon>
Submitted on:  Wed 11 Mar 2015 07:37:07 PM UTC  
 
Category: TCPSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Works For Me
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 19 Mar 2015 07:25:39 PM UTC, comment #1:

Works perfectly for me, I guess this is a pbuf leak or something like that in your port or application.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 11 Mar 2015 07:37:07 PM UTC, original submission:

LwIP works as client and have problem then downloading files from cloudflare CDN's

Download file from http://hsto.org/getpro/habr/post_images/f29/326/41a/f2932641ab2d5b2f480763d4aec8d5b0.png

LwIP starts receiving, then slowing down, and finally stop receiving (without completing the download).
I save pcap file and observe tcp segments high reordering.
Linux stack correctly handle this situation.

I try git head & 1.4.1 with same result
I try with TCP_QUEUE_OOSEQ and without

#define TCP_SND_BUF 65535
#define MEMP_NUM_TCP_PCB 500
#define PBUF_POOL_SIZE 20480
#define MEMP_NUM_TCP_SEG 10240

#define TCP_MSS 1400
#define TCP_WND 14000
#define LWIP_TCP_KEEPALIVE 1
#define TCP_KEEPINTVL_DEFAULT 15000UL
#define MEM_LIBC_MALLOC 1
#define SO_REUSE 1
#define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(16384)
#define LWIP_TCP_KEEPALIVE 1
#define LWIP_TCP_TIMESTAMPS 1

Homyak <onlyslon>

 

Attached Files
file #33314:  cloudflare.pcap added by onlyslon (398KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by onlyslon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 Mar 2015 07:25:39 PM UTCgoldsimonStatusNone=>Works For Me
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Wed 11 Mar 2015 07:37:07 PM UTConlyslonAttached File-=>Added cloudflare.pcap, #33314

    Back to the top


    Powered by Savane 3.1-cleanup1