Thread (13 messages) 13 messages, 3 authors, 2018-01-09

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

flat view

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-01-09 23:54:30

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 more than a single fork of
tx/rx.

With this we can get many GBps of data which helps exercise the
sockmap code.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
---
 samples/sockmap/sockmap_user.  |    0 
^ This one slipped in by accident?
 samples/sockmap/sockmap_user.c |   55 ++++++++++++++++++++++++++++------------
 2 files changed, 39 insertions(+), 16 deletions(-)
 create mode 100644 samples/sockmap/sockmap_user.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help