"Jeff V. Merkey" wrote:
>
> ...
> 34880 total 0.0202
> 28581 default_idle 595.4375
> 1125 __rdtsc_delay 35.1562
> 1094 eth_type_trans 5.2596
> 657 skb_release_data 4.5625
> 378 __make_request 0.2596
> 335 alloc_skb_frame 1.1020
Note how eth_type_trans is now the most expensive function. This
is because it's the first place where the CPU touches the
just-arrived ethernet header.
It would be interesting to add a prefetch() to the driver at the
earliest possible time to get the header read underway. Maybe
the IP header too?
-
-
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/
This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:31 EST