Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 12:47:13 +0000
Cc:        Scott Long <scottl@samsco.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, John Polstra <jdp@polstra.com>, Robert Watson <rwatson@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/bge if_bge.c 
Message-ID:  <27975.1166964433@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help
In message <20061224211712.W25632@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27975.1166964433>