[bpf-next PATCH 3/7] bpf: sockmap sample, use fork() for send and recv

2018-01-08 Thread John Fastabend
Currently for SENDMSG tests first send completes then recv runs. This does not work well for large data sizes and/or many iterations. So fork the recv and send handler so that we run both send and recv. In the future we can add a parameter to do more than a single fork of tx/rx. With this we can g

Re: [bpf-next PATCH 3/7] bpf: sockmap sample, use fork() for send and recv

2018-01-09 Thread Daniel Borkmann
On 01/08/2018 07:05 PM, John Fastabend wrote: > Currently for SENDMSG tests first send completes then recv runs. This > does not work well for large data sizes and/or many iterations. So > fork the recv and send handler so that we run both send and recv. In > the future we can add a parameter to do