On Thu, Nov 5, 2015 at 5:56 PM, John Crispin <[email protected]> wrote: > On 05/11/2015 17:54, Helmut Schaa wrote: >> Since lots of architectures now support BPF JIT would it make sense to >> enable it by default for all openwrt builds? >> Any opinions on that? > > can you grab some stats so we can compare kernel size on a few targets ?
Just quickly tried mips and x86_64: On mips: openwrt-ar71xx-generic-uImage-gzip.bin +4.605 bytes openwrt-ar71xx-generic-uImage-lzma.bin +2.836 bytes On x86_64: openwrt-x86_64-vmlinuz +3.168 Bytes So kernel size increase is in the ~5K range. Not sure if this would justify an extra config option or enabling it by default makes sense. Performance-wise this change would only matter for BPF usage but on some archs even BPF JIT for seccomp filters gets accelerated ... Helmut _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
