I don't believe your results to be accurate. They may be _precise_
for a small case, but you couldn't have been measuring them for very
long. A claim of accuracy requires a large number of samples, which
you apparently did not do.
I can't use oprofile or other NMI-based profilers on my hardware, so
we'll just have to guess. Is there any chance that you have access to
a large Specweb setup on hardware that is close to mine and can run
oprofile?
Where are interrupts disabled? I just went through a set of kernprof
data and traced up the call graph. In the most common __kfree_skb
case, I do not believe that it has interupts disabled. I could be
wrong, but I didn't see it.
The end result, as I can see it, is that your patches hurt Specweb
performance. They moved the profile around, but there was an overall
decline in performance. They partly address the symptom, but not the
real problem. We don't need to _tune_ it, we need to fix it.
The e1000's need to allocate/free fewer skbs. NAPI's polling mode
_should_ help this, or at least make it possible to batch them up.
-- Dave Hansen haveblue@us.ibm.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/