[bpf-next PATCH 4/7] bpf: sockmap sample, report bytes/sec

2018-01-08 Thread John Fastabend
Report bytes/sec sent as well as total bytes. Useful to get rough idea how different configurations and usage patterns perform with sockmap. Signed-off-by: John Fastabend --- samples/sockmap/sockmap_user.c | 37 - 1 file changed, 32 insertions(+), 5 deletion

Re: [bpf-next PATCH 4/7] bpf: sockmap sample, report bytes/sec

2018-01-09 Thread Jesper Dangaard Brouer
On Mon, 08 Jan 2018 10:05:58 -0800 John Fastabend wrote: > Report bytes/sec sent as well as total bytes. Useful to get rough > idea how different configurations and usage patterns perform with > sockmap. Why BYTES per second, and not BITS per sec? -- Best regards, Jesper Dangaard Brouer MS

Re: [bpf-next PATCH 4/7] bpf: sockmap sample, report bytes/sec

2018-01-09 Thread John Fastabend
On 01/09/2018 05:27 AM, Jesper Dangaard Brouer wrote: > On Mon, 08 Jan 2018 10:05:58 -0800 > John Fastabend wrote: > >> Report bytes/sec sent as well as total bytes. Useful to get rough >> idea how different configurations and usage patterns perform with >> sockmap. > > Why BYTES per second, and