lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #28652] sockets/netconn: speed up rx by calling do_rec


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28652] sockets/netconn: speed up rx by calling do_recv asynchronously
Date: Tue, 09 Feb 2010 20:32:30 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Update of bug #28652 (project lwip):

                  Status:                    None => Need Info              
             Assigned to:                    None => goldsimon              

    _______________________________________________________

Follow-up Comment #1:

Simply not pending on op_completed while do_recv is running might not do the
trick for an embedded OS with static priorities.

The solution favoured by me to implement this is to add a counter of received
data to struct netconn or tcp_pcb and increase this counter instead of
directly calling do_recv and then somehow letting the tcp-fasttimer handle the
window updates.

However, that would leave us either with threading problems (SYS_ARCH_PROTECT
etc.) in the tcp-fasttimer or with yet another timer to handle window updates
on netconn-level.

Any other ideas? This additional task-switch while receiving socket data is
so ugly and slow!

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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