[Serdev] tcp_send

Katty Xiong cyyxiong at yahoo.com
Thu Jan 25 21:41:31 UTC 2007


Hi,

The current tcp_send() (in tcp_main.c) always asks the
main tcp process for the connection fd. Actually, the
fd returned by the TCP main process is same as the one
pointed by the tcp connection that is already known by
the function. So is there corner cases that force
tcp_send to ask the tcp main process for fd instead of
using the fd pointed by the tcp connection?

In stress tests, I notice that the tcp main process
actually becomes a bottleneck because it needs to
serve many fd requests from TCP child processes. I
believe SER will scales better if tcp child processes
doesn't burden the tcp main process with fd requests.


thanks,
Joy


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index


More information about the Serdev mailing list