lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Removing the restriction on number of sockets


From: Joel Cunningham
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Tue, 08 Aug 2017 08:38:47 -0500


On Aug 8, 2017, at 8:16 AM, Dirk Ziegelmeier <address@hidden> wrote:

Yes, for many sockets a linked list may become slow, but usually every socket implies a netconn and a PCB -> PCBs are iterated for every incoming packet, too.

The PCB iteration is a good point to contrast.  I would expect input packets to be incoming at a higher frequency then socket API calls

If we add the same “caching” feature that our PCB lists have, where the most recently used are moved to head of the list, that may negate some of the performance loss

Joel

reply via email to

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