cvs commit: src/sys/dev/bge if_bge.c
phk at phk.freebsd.dk
Sun Dec 24 05:20:10 PST 2006
In message <20061224211712.W25632 at delplex.bde.org>, Bruce Evans writes:
>Be careful with micro-optimizations. I saw a single change (adding
>about 1K in unrelated code that is never executed) give a pessimization
>of 15% for tx bge (from 360 kpps to 300 kpps).
It is still a good idea to also disable caches or also benchmark
on a very slow CPU when doing optimizations.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src