Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1715770
| From | Shubham Bansal <illusionist.neo@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v3] arm: eBPF JIT compiler |
| Date | 2017-08-19 23:50 +0200 |
| Message-ID | <ugjN0-6xc-5@gated-at.bofh.it> (permalink) |
| References | <ug8eR-7Yu-1@gated-at.bofh.it> <ugi4x-5rv-3@gated-at.bofh.it> <ugi4x-5rv-1@gated-at.bofh.it> <ugjtE-6pT-7@gated-at.bofh.it> <ugjtE-6pT-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Qemu is giving me different numbers different time. Another stats. With bpf_jit_enable set test_pkt_access:PASS:ipv4 271 nsec test_pkt_access:PASS:ipv6 297 nsec test_xdp:PASS:ipv4 961517 nsec <--- Here is the difference. test_xdp:PASS:ipv6 615855 nsec <--- Here is the difference. test_l4lb:PASS:ipv4 3049 nsec test_l4lb:PASS:ipv6 3906 nsec test_tcp_estats:PASS: 0 nsec test_bpf_obj_id:PASS:get-fd-by-notexist-prog-id 0 nsec test_bpf_obj_id:PASS:get-fd-by-notexist-map-id 0 nsec test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec test_bpf_obj_id:PASS:check total prog id found by get_next_id 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec test_pkt_md_access:PASS: 30459 nsec <--- Here is the difference. Summary: 30 PASSED, 0 FAILED On Sun, Aug 20, 2017 at 2:58 AM, Shubham Bansal <illusionist.neo@gmail.com> wrote: > Here are numbers. > > Without any JIT enabled > > test_pkt_access:PASS:ipv4 1823 nsec > test_pkt_access:PASS:ipv6 1743 nsec > test_xdp:PASS:ipv4 769022 nsec > test_xdp:PASS:ipv6 15408 nsec > test_l4lb:PASS:ipv4 12441 nsec > test_l4lb:PASS:ipv6 18131 nsec > test_tcp_estats:PASS: 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-prog-id 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-map-id 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total prog id found by get_next_id 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec > test_pkt_md_access:PASS: 5816 nsec > Summary: 30 PASSED, 0 FAILED > > With only bpf_jit_enable > > test_pkt_access:PASS:ipv4 263 nsec > test_pkt_access:PASS:ipv6 337 nsec > test_xdp:PASS:ipv4 1377212 nsec > test_xdp:PASS:ipv6 1290381 nsec > test_l4lb:PASS:ipv4 2689 nsec > test_l4lb:PASS:ipv6 3804 nsec > test_tcp_estats:PASS: 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-prog-id 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-map-id 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total prog id found by get_next_id 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec > test_pkt_md_access:PASS: 41609 nsec > Summary: 30 PASSED, 0 FAILED > > > With bpf_jit_enable and bpf_jit_harden set > > test_pkt_access:PASS:ipv4 416 nsec > test_pkt_access:PASS:ipv6 509 nsec > test_xdp:PASS:ipv4 1512428 nsec > test_xdp:PASS:ipv6 962318 nsec > test_l4lb:PASS:ipv4 4135 nsec > test_l4lb:PASS:ipv6 5497 nsec > test_tcp_estats:PASS: 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-prog-id 0 nsec > test_bpf_obj_id:PASS:get-fd-by-notexist-map-id 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-map-info(fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-prog-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-prog-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total prog id found by get_next_id 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:get-map-fd(next_id) 0 nsec > test_bpf_obj_id:PASS:check get-map-info(next_id->fd) 0 nsec > test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec > test_pkt_md_access:PASS: 24774 nsec > Summary: 30 PASSED, 0 FAILED > > -Shubham
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH net-next v3] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-08-19 22:00 +0200
Re: [PATCH net-next v3] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-08-19 22:10 +0200
Re: [PATCH net-next v3] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-08-19 23:30 +0200
Re: [PATCH net-next v3] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-08-19 23:50 +0200
csiph-web