Re: [PATCH net] test_bpf: reduce MAX_TESTRUNS

2018-02-28 Thread David Miller
From: Eric Dumazet Date: Wed, 28 Feb 2018 08:39:20 -0800 > From: Eric Dumazet > > For tests that are using the maximal number of BPF instruction, each > run takes 20 usec. Looping 10,000 times on them totals 200 ms, which > is bad when the loop is not preemptible. > > test_bpf: #264 BPF_MAXINS

Re: [PATCH net] test_bpf: reduce MAX_TESTRUNS

2018-02-28 Thread Daniel Borkmann
On 02/28/2018 05:39 PM, Eric Dumazet wrote: > From: Eric Dumazet > > For tests that are using the maximal number of BPF instruction, each > run takes 20 usec. Looping 10,000 times on them totals 200 ms, which > is bad when the loop is not preemptible. > > test_bpf: #264 BPF_MAXINSNS: Call heavy

[PATCH net] test_bpf: reduce MAX_TESTRUNS

2018-02-28 Thread Eric Dumazet
From: Eric Dumazet For tests that are using the maximal number of BPF instruction, each run takes 20 usec. Looping 10,000 times on them totals 200 ms, which is bad when the loop is not preemptible. test_bpf: #264 BPF_MAXINSNS: Call heavy transformations jited:1 19248 18548 PASS test_bpf: #269 BP