News for hackers. Stuff that matters.
Re:SOCKMAP – TCP splicing of the future by londons_explore on Tuesday February 19, 2019 @03:50AM (#19197558)
For optimising things like this I can recommend using ARM's ITM tracing.

Then you can get a view of every clock cycle and what is going on in the CPU, the caches, the hardware peripherals, the DMA controller etc.

You can start from a goal like "I want a TCP packet forwarded in under 5k clock cycles" and keep hacking code till you've met it.

Other software based tracing tools don't tend to be as good, and frequently rely on statistical techniques which hide what is really going on.

There are no comments on this comment yet.