[Top][All Lists]

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

[lwip-devel] [patch #8446] LWIP IP Re-assembly timer optimization

From: Nirav
Subject: [lwip-devel] [patch #8446] LWIP IP Re-assembly timer optimization
Date: Mon, 05 May 2014 11:53:14 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36


                 Summary: LWIP IP Re-assembly timer optimization
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: niravisneo
            Submitted on: Mon 05 May 2014 11:53:13 AM GMT
                Category: IPv4
                Priority: 6
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



This timer is used to check state of fragments of data which need to be
If a timeout occurs the fragments are freed.

This timer was started with a periodicity of 1 sec.
But if there are no fragments to re-assemble still it was being queued and
expiry handler was executed.
The timeout value for each fragment is 3 sec.

1. Start the timer only when first fragment is added to re-assembly queue.
2. If no elements are present in the re-assembly queue do not queue timer.

1. The timer will execute only when there is a fragment in the queue.
2. This stops wakeup of the processor after every 1 sec

LWIP has 6 such timers which can be optimized.
IGMP, DNS, DHCP Fine , DHCP coarse, ARP, IPV6 re-assembly

If this IP Re-assembly patch is accepted and made a part of LWIP main stream
release I will send out other patches which optimize other timers.

Very Important : Dependency


The above bug is open and it needs to be fixed to avoid crash on fragment


File Attachments:

Date: Mon 05 May 2014 11:53:13 AM GMT  Name:
IP-Reassembly-Timer-Optimization.patch  Size: 4kB   By: niravisneo



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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