lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #59492] mDNS: mdns_handle_questions holds core lock fo


From: Thomas Kindler
Subject: [lwip-devel] [bug #59492] mDNS: mdns_handle_questions holds core lock for excessive amount of time
Date: Fri, 20 Nov 2020 07:05:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?59492>

                 Summary: mDNS: mdns_handle_questions holds core lock for
excessive amount of time
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: thomask77
            Submitted on: Fri 20 Nov 2020 12:05:50 PM UTC
                Category: apps
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

Hi!

We have a network with lots of mDNS traffic.

While most requests are handled quickly, we see that the
mdns_handle_questions() sometimes takes multiple milliseconds to loop over the
questions and answers.

Because this is done in a upd_recv() callback, all this complex processing is
done while the core is locked.

This leads to other problems within our application, where we have strict <
1ms real-time requirements.

Perhaps, one solution would be to move mDNS processing into a dedicated,
low-priority mDNS task using the netconn API.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?59492>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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