|
|
Subscribe / Log in / New account

Batch processing of network packets

Batch processing of network packets

Posted Aug 22, 2018 20:32 UTC (Wed) by mm7323 (subscriber, #87386)
In reply to: Batch processing of network packets by excors
Parent article: Batch processing of network packets

Thanks for the link - that's a great post with interesting points.

One thing that springs to mind, in an object oriented context, is that inheritance really breaks (instruction) cache efficiency. You may have a collection of objects and wish to call the same method on each one, but due to inheritance each object can take very different code paths and foul the instruction caches.

The data orientated approach the link describes mitigates this. But sorting collections by object type (before any other comparison criteria) may also yield better performance in this vain too I guess.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds