[Gllug] Programming for performance on Linux

Nix nix at esperi.org.uk
Wed May 12 20:40:33 UTC 2010


On 12 May 2010, Walter Stanish uttered the following:

>> I have an application where I receive 100 byte packets, one after the other.
>>  [...snip...]
>> I am trying to work out how best to utilize a Quad core x86 CPU for
>> this processing task so that the most amount of packets can be
>> processed per second.
>
> Donald Knuth made the following two statements on optimization:
>  - "We should forget about small efficiencies, say about 97% of the
> time: premature optimization is the root of all evil"

(but note that optimizing by *finding better algorithms* does not
fall under this rubric; these days, that often means cache-friendly
algorithms)
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list