This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ethernet performance <TCPIP guru question>


On Fri, 2002-04-26 at 08:36, Andrew Lunn wrote:
> On Fri, Apr 26, 2002 at 10:26:25AM -0400, Stephen Whitaker wrote:
> > Hi Guys,
> > 
> > I've also been looking at some minor performance improvements with
> > the current eCos TCP/IP stack. A very simple change, would be to
> > revert the call to ip_randomid() from ip_output(), when it fills
> > in the IP header, back to just incrementing the ID.  From what
> > I've heard this improvement was made to help increase the
> > security level of the stack, however, the overhead relative
> > to the original method is significant.
> 
> I could be reading the code wrong, but it looks to me that
> ip_randomid() is only called when doing IP forwording, ie a router, or
> when using IP raw sockets. 
> 
> Unless you happen to be doing either of these, i don't think it will
> make a difference to you.
> 
> Please correct me if im wrong.

Sorry, but I think you've got it backwards.  It seems that this code
is used only when *not* forwarding or routing.


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]