Re: The tcpip layer is really frustrating me

Keith Whitwell <[email protected]>
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Mike Houston wrote:
> The main issue here is time.  I'll be at ATI this summer, so I don't 
> have the time to deal with a network layer rewrite just now.
> 
> The main issue with the tcpip layer is how we handle mothership 
> connections.  We really should use special calls for mothership 
> connections so that we don't pollute the rest of the network layer.  The 
> mothership connections do not stay live, but the tcpip layer still 
> checks them in a tight loop.  This isn't a huge hit, but is does have an 
> impact on other layers.

I don't understand - why are connections that are known not to be live ever 
examined again?

> At the moment, I have some really hacky code that forces the tcpip layer 
> to bypass if the only connections are mothership connections.  This 
> helps to speed things up a little. 

Can you post that code?  Or send it to me privately if you'd rather?

Keith



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.