Discussion:
qdisc traversing flows
(too old to reply)
Matthias Tafelmeier
2018-01-27 13:40:22 UTC
Permalink
Raw Message
Hallo,

since this ML has a strong qdisc oriented spin, I'd like to share what I
did end of last year. I was playing a little with BCC/eBPF and kernel
flow interfacing [1] ... excuses for the code quality, it was
prototyping, though ...

I can imagine reviving efforts as to fleutan, since I perceive many
usefel aspects as to flowing and associations of it are simply not
covered yet, at least no conveniently accessible from user land end and
not on from a per node angle. Especially the case for backend scenarios
with > thousands of flows. Quite some acre to be plowed if you asked me.
Feel free to prove me wrong. Mostly, I perceive quicker leaps are down
to mundane things like efficient, convenient diggestabilty of low level
kernel interfacing output ... e.g. iproute2. A lot of vibrant dymanics
are perceivable lately in this corner though - I'm applauding. [2][]

Until further progress, might to the merrit of some.

|$ sudo ./fleutan flows -q -i 5 qdisc queues #> load (bytes) per qu
####################################################################################################
███████████████████████ 0.3K 0
██████████████████████████████████████████████████████████████████████████
1.00K 1 ---- flowing volumes per qu ##> 0
#######################################################################################################################################################
████ 66.00 192.168.10.50#47956 91.1.49.97#80 █████ 78.00 ::#58 ::#0
██████ 86.00 2003:62:4625:d1a4:a166:cf47:30a6:e612#51358
2a00:1450:4001:80b::200a#80 ██████ 86.00
2003:62:4625:d1a4:a166:cf47:30a6:e612#51360 2a00:1450:4001:80b::200a#80
---- flowing volumes per qu ##> 1
#######################################################################################################################################################
██████ 86.00 2002:22:4625:d1a4:a166:cf47:30a6:e612#51360
2a00:1450:4001:80b::200a#80 ███████ 112.00 192.168.10.50#43660
192.111.249.9#443 ████████████ 172.00
2003:62:4625:d1a4:a166:cf47:30a6:e612#55834 2a02:26f0:fc::5c7a:317c#80
██████████████████████████████████████████████████ 710.00
2003:62:4625:d1a4:a166:cf47:30a6:e612#54292 2a00:1450:4001:819::200e#443 |


[1] https://github.com/cherusk/fleutan

[2] https://github.com/svinota/pyroute2

[3]
https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/iproute2.git/commit/?id=43bc20ae736c943a7202fef07104eb1b5800b7f8
--
Besten Gruß

Matthias Tafelmeier
Loading...