[OpenWrt-Devel] Enable BPF JIT by default?
Helmut Schaa
helmut.schaa at googlemail.com
Fri Nov 6 07:44:06 EST 2015
On Thu, Nov 5, 2015 at 5:56 PM, John Crispin <blogic at openwrt.org> 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
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list