lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #44513] TCP slows down receiving due packet reordering


From: Homyak
Subject: [lwip-devel] [bug #44513] TCP slows down receiving due packet reordering
Date: Wed, 11 Mar 2015 19:37:08 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?44513>

                 Summary: TCP slows down receiving due packet reordering
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: onlyslon
            Submitted on: Wed 11 Mar 2015 07:37:07 PM GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

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





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 11 Mar 2015 07:37:07 PM GMT  Name: cloudflare.pcap  Size: 398kB  
By: onlyslon

<http://savannah.nongnu.org/bugs/download.php?file_id=33314>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]