lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_output() when processing "tcp_input_pcb"


From: Bill Auerbach
Subject: Re: [lwip-users] tcp_output() when processing "tcp_input_pcb"
Date: Tue, 13 Aug 2013 08:19:38 -0400

Hi,

I agree with you.  We are running real-time with RAW API and NO OS and see
very good TCP response - but we are on a fast system.  On our lower
performing systems we get "exceptional throughput" only by using UDP.

Also, the real-time part of lwIP is maximized by minimizing what you do in
the receive callback.  If you do too much in the receive callback, you throw
off TCP timing which slows the connection even to the point of causing
errors.  If I need more than a few milliseconds, I kick off a second thread
so I can return to lwIP as fast as possible.  We run a cooperative OS which
eliminates all of the threading problems of lwIP.

Bill

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Noam weissman
Sent: Tuesday, August 13, 2013 5:51 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] tcp_output() when processing "tcp_input_pcb"

Hi,

It depends on what you do and what are the available resources (RAM/ROM).

LwIP is small but it has its limitations.

I am working with a system that has a WEB server, UDP and TCP connections
and bridging to UART all is running at real time. 

If you do not need exceptional throughput its OK.

BR,
Noam.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Numb_Faith
Sent: ג 13 אוגוסט 2013 12:38
To: address@hidden
Subject: Re: [lwip-users] tcp_output() when processing "tcp_input_pcb"

Dear Noam,

Thanks, I'm clear about it.
So if I want to do some application which need real time, I still need the
RTOS. Though TCP/IP is not a stack which has good performance in the real
time case.

Best Regards,
Ray Li



--
View this message in context:
http://lwip.100.n7.nabble.com/tcp-output-when-processing-tcp-input-pcb-tp217
83p21793.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by PineApp
Mail-SeCure for the presence of malicious code, vandals & computer viruses.
****************************************************************************
********




 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by PineApp
Mail-SeCure for the presence of malicious code, vandals & computer viruses.
****************************************************************************
********




_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

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