24 ms·
Profile guided optimization can help compilers put data in the right place, but in general compilers are not very good at that.
by adrianN 5y ago
Profile guided optimization can help compilers put data in the right place, but in general compilers are not very good at that.
- ggm 5y agoA Friend was writing a tester (UDP dns, preformed packets) and said he was able to code it so the entire test program fitted in L1. He then did some work on cpu affinity, for this code and for the IP stack. IP fits in amazingly small space, 25k in pdp11 pre-risc architecture. I think he said he was saturating multi gigabit links. Lot of hand coding going on however. Probably asm.