On Fri, Jul 29, 2005 at 09:41:09AM -0600, Christopher Friesen ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > >Couple of numbers... > >Remapping of the physical page took about 25-50% less time than 1500 > >bytes copying using memcpy(). > > Presumably as packet size decreases, at some point the memcpy() becomes > cheaper. With your hardware, where is this crossover point?
At least 1000 bytes copying take more than 8000 usec (> 5.5 times) on fresh system, 500 bytes take about the same (even a bit smaller) as remapping. > Chris -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html