* [Bloat] one big bump in the wire for latency monitoring
@ 2018-01-25 20:00 Dave Taht
2018-01-25 22:15 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 3+ messages in thread
From: Dave Taht @ 2018-01-25 20:00 UTC (permalink / raw)
To: bloat
https://blog.apnic.net/2018/01/22/ruru-real-time-wide-area-tcp-latency-monitoring/
--
Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bloat] one big bump in the wire for latency monitoring
2018-01-25 20:00 [Bloat] one big bump in the wire for latency monitoring Dave Taht
@ 2018-01-25 22:15 ` Toke Høiland-Jørgensen
2018-01-26 8:50 ` Jesper Dangaard Brouer
0 siblings, 1 reply; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2018-01-25 22:15 UTC (permalink / raw)
To: Dave Taht, bloat
Dave Taht <dave.taht@gmail.com> writes:
> https://blog.apnic.net/2018/01/22/ruru-real-time-wide-area-tcp-latency-monitoring/
Neat! The packet tapping part could probably be implemented in XDP to
avoid the DPDK space heater... ;)
-Toke
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bloat] one big bump in the wire for latency monitoring
2018-01-25 22:15 ` Toke Høiland-Jørgensen
@ 2018-01-26 8:50 ` Jesper Dangaard Brouer
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Dangaard Brouer @ 2018-01-26 8:50 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Dave Taht, bloat, brouer, xdp-newbies
On Thu, 25 Jan 2018 23:15:17 +0100
Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Dave Taht <dave.taht@gmail.com> writes:
>
> > https://blog.apnic.net/2018/01/22/ruru-real-time-wide-area-tcp-latency-monitoring/
>
> Neat! The packet tapping part could probably be implemented in XDP to
> avoid the DPDK space heater... ;)
I was thinking the exact same thing ;-)
It should be fairly simple to write a XDP/eBPF program, that timestamp
via bpf_ktime_get_ns() and queue the events via a perf ring-buffer via
bpf_perf_event_output() (the only kernel example is [1]). And a
userspace side tool[2] that reads these perf_event's.
Cc. xdp-newbies@vger.kernel.org hoping someone want to give it a go?
[1] https://github.com/torvalds/linux/blob/master/samples/bpf/trace_output_kern.c
[2] https://github.com/torvalds/linux/blob/master/samples/bpf/trace_output_user.c
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-26 8:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25 20:00 [Bloat] one big bump in the wire for latency monitoring Dave Taht
2018-01-25 22:15 ` Toke Høiland-Jørgensen
2018-01-26 8:50 ` Jesper Dangaard Brouer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox