News for hackers. Stuff that matters.
Re:FreeBSD 9.1 Release Announcement by justincormack on Sunday December 30, 2012 @03:49PM (#4987047)
Not sure I see why you would want to use it with a userspace network stack, I am sure at that point kernel networking is going to be faster. Netmap seems more useful for bridging, logging and UDP applications to me...
Re:FreeBSD 9.1 Release Announcement by hosay123 on Sunday December 30, 2012 @03:55PM (#4987066)
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/
Re:FreeBSD 9.1 Release Announcement by justincormack on Sunday December 30, 2012 @05:28PM (#4987379)
Ah thanks for that, hadn't realised that was a use case too, only started looking at this stuff the other day...
Re:FreeBSD 9.1 Release Announcement by ishbits on Sunday December 30, 2012 @06:39PM (#4987566)
Wonder if it would be useful for a user land network stack that paralleled what it could b