Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Localizing packet processing significantly improves cache performance, in addition to avoiding copies and context switches. Receiving data from a socket almost always necessitates it being copied from a SKB to userspace memory, and prior to that from the driver's rx ring to a SKB. Grep for all references to 'cache' in http://lwn.net/Articles/169961/ which is Van Jacobsen's earlier work on a system of comparable design. Another (insanely more complex) implementation is http://www.openonload.org/


Ah thanks for that, hadn't realised that was a use case too, only started looking at this stuff the other day...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: