Täht: Flaws and features in the Flent network testing tool
With flent - in the 110 tests in it - in a matter of minutes you can replicate any network stress test “out there” and compare networking results across an extraordinary number of variables, over time, across many tests. Before Toke Høiland-Jørgensen developed flent, it would take days to set up a single test and single plot. Now you can be deluged in data, graph it quickly, and can investigate network behaviors in minutes that take other support staff, engineers and SREs months, plot accurately, over each change you make, with comparable results in a standardized file format, and a zillion useful plot types.
Posted Jan 16, 2023 21:34 UTC (Mon)
by mtaht (subscriber, #11087)
[Link] (16 responses)
Thank you for picking that blog up. If, by writing all that, I got just one SRE, just one new user, one vendor, one ISP, or one cloud provider, to try flent, it would have been worth it. I ended up cutting 8 graphs and a ton more ranting to get it out the door (verizon was down), and with a little encouragement here or there, perhaps I'll write more coherently and rant less.
I love flent. (and wireshark).
Plug: I'm on a new project, libreQos.io. We're using all the latest amazing stuff in Linux. It's a GPLv2'd middlebox shaper for ISPs, with XDP for the bridge, eBPF to measure TCP RTTs - live and in flight at 10ms sampling resolution for that data! - and we're now pushing 20Gbits/sec for 10,000 customers at a time on a mere 16 Xeon cores, AND we're using cake to shape it all and kill the bufferbloat. The early deployments are going really well, and despite me whinging about getting better home routers here and everywhere for so many years, perhaps some adventurous ISPs (if you know of any), will want to give this middlebox a shot and make their network better for their users that way.
There's also Tons of Rust! Lots of Rust! The lead dev is the author of "Rust brain teasers", and hanging out with him and all our other contributors on our #libreqos:matrix.org has been a gas. I'm having the most fun I've had in years. I'm really amazed out how stuff I first helped write on a single core 600mhz mips box is scaling, 10 years later.
Posted Jan 16, 2023 22:00 UTC (Mon)
by Sesse (subscriber, #53779)
[Link] (15 responses)
I wanted to try flent with your suggested command, but:
Stdout: establish control: are you sure there is a netserver listening on netperf.bufferbloat.net at port 12865?
Perhaps not the best time to be down? :-)
Posted Jan 16, 2023 23:14 UTC (Mon)
by tohojo (subscriber, #86756)
[Link] (11 responses)
Posted Jan 16, 2023 23:18 UTC (Mon)
by Sesse (subscriber, #53779)
[Link] (10 responses)
WARNING: Missing required netperf metadata: THROUGHPUT
Posted Jan 16, 2023 23:22 UTC (Mon)
by Sesse (subscriber, #53779)
[Link] (8 responses)
Posted Jan 16, 2023 23:37 UTC (Mon)
by tohojo (subscriber, #86756)
[Link] (7 responses)
For the GUI, just installing python3-qtpy and python3-matplotlib should be all that's needed. There are no dependencies on these because they're not needed to run tests, and you probably don't want a server-side install of Flent to pull in all of Qt.
Posted Jan 16, 2023 23:48 UTC (Mon)
by Sesse (subscriber, #53779)
[Link] (1 responses)
The simplest fix is probably moving flent to contrib, if it depends on something in non-free.
> For the GUI, just installing python3-qtpy and python3-matplotlib should be all that's needed. There are no dependencies on these because they're not needed to run tests, and you probably don't want a server-side install of Flent to pull in all of Qt.
It sounds like flent-gui should be split out into its own package, then.
Posted Jan 17, 2023 0:48 UTC (Tue)
by mtaht (subscriber, #11087)
[Link]
thank you so much for giving flent a shot, though. I did point at the other servers in the fleet in the script, did you try any of those?
I have updated the blog post to point at toke's server (bwahahahahaha) instead.
Posted Jan 17, 2023 12:59 UTC (Tue)
by ballombe (subscriber, #9523)
[Link] (4 responses)
Posted Jan 17, 2023 23:53 UTC (Tue)
by shemminger (subscriber, #5739)
[Link] (3 responses)
Posted Jan 18, 2023 3:30 UTC (Wed)
by mtaht (subscriber, #11087)
[Link]
The original author is happily retired.
Posted Jan 19, 2023 14:04 UTC (Thu)
by tohojo (subscriber, #86756)
[Link] (1 responses)
So the only problem is finding (or writing) such a tool. Know of any? I've been meaning to pick up rust, and this could be a good candidate for a project, but I'd be delighted if someone beats me to the punch :)
Posted Jan 19, 2023 14:17 UTC (Thu)
by mtaht (subscriber, #11087)
[Link]
I shudder to think of all the microservices code that sends a few bytes via their API in this way.
Posted Jan 16, 2023 23:24 UTC (Mon)
by tohojo (subscriber, #86756)
[Link]
Posted Jan 17, 2023 1:41 UTC (Tue)
by mtaht (subscriber, #11087)
[Link] (2 responses)
Anyway, I updated the blog entry to point at toke's server. I'm SURE he'll be grateful for all the extra traffic.
Posted Jan 17, 2023 5:39 UTC (Tue)
by weberm (guest, #131630)
[Link] (1 responses)
Posted Jan 19, 2023 14:07 UTC (Thu)
by tohojo (subscriber, #86756)
[Link]
Posted Jan 18, 2023 0:05 UTC (Wed)
by gerdesj (subscriber, #5446)
[Link] (1 responses)
I personally consider you one of the proper Engineers in our rather wishy washy engineering discipline. I don't capitalise E lightly.
Posted Jan 18, 2023 3:35 UTC (Wed)
by mtaht (subscriber, #11087)
[Link]
The BOFH lives!
Posted Jan 21, 2023 21:19 UTC (Sat)
by jnareb (subscriber, #46500)
[Link]
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
establish_control could not establish the control connection from 0.0.0.0 port 0 address family AF_INET to netperf.bufferbloat.net port 12865 address family AF_INET
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
WARNING: Missing required netperf metadata: THROUGHPUT
WARNING: Missing required netperf metadata: THROUGHPUT
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Maybe submit a RFP for the free one if you cannot package it yourself.
Täht: Flaws and features in the Flent network testing tool
Netperf seems to be widely used but had license quirks and was not maintained.
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Täht: Flaws and features in the Flent network testing tool
Statistics for network testing