Jim Thompson
Jim Thompson
@christopher-bowman Netgate (the company that makes pfsense) has recently completed a lot of work incorporating Layer 2 functionality in pf. As part of this, we enabled two new pieces of...
There is (unreleased) code in netmap-fwd to do this. I'll get a copy to Patrick.
> it seems that if the working set can be kept within L3 cache then the packet data need never be written out to DRAM. I also read there that...
netmap uses this, which is similar. ``` C /* * this is a slightly optimized copy routine which rounds * to multiple of 64 bytes and is often faster than...
They probably measured it (actually, I know they did) and found it faster than the bcopy()/memcpy() in the freebsd and linux kernels. Using clang on freebsd 11, jim@x230:~ % clang...
Cool. Your "merge all changes while preserving performance" is literally the theme of the paper that George Neville-Neil and I did: "Measure twice, code once". Of course, preserving performance starts...