[WIP] Add rperf packageset as a candidate for iperf3 replacement#1103
[WIP] Add rperf packageset as a candidate for iperf3 replacement#1103erewok wants to merge 3 commits intosocallinuxexpo:masterfrom
Conversation
06b5820 to
fae636b
Compare
fae636b to
f5b7952
Compare
|
@erewok the formatting check is a bit aggressive around here, run a |
|
@erewok was able to test using your documentation. What I did was locally did a throw away edit to the nixos tests for our routers. Just temporary, we wouldn't want to actually include it this way in real life. Then ran a That procedure produced the attached screenshots. Tool does what it says it does and your docs are accurate.
|
Add readme and clean up comments
f5b7952 to
46bf638
Compare
nice! Thanks for the tip. |
|
@kylerisse thanks for the feedback! Sounds like README.md is fine to keep in the PR? I saw one other package-set with a |


Description of PR
Hello, I have here a working package-set for building rperf as mentioned in #650. One note on repo selection: this repo is a lot more recently maintained than the repo referenced in the issue, so I went with this one instead.
This PR adds the
rperfexecutable.For context, I asked to @sarcasticadmin about this change and he suggested raising a PR for review. In addition, I am completely new to working in a nix environment, so please feel free to correct anything I'm doing wrong here: I'm clueless and happy to receive instruction.
Previous Behavior
No rperf
New Behavior
You can run an
rperfserver in nix shell like this:In another shell, we can start a client test run (hitting the server on localhost):
I outputted
jsonformat here with the intent of getting this data into Loki where we can build dashboards on top of it, but without a format flag, the output from the client test run looks like this (in entirety):I added a README.md to the packaget-set: is this desired or I should remove it? I just wanted to document the above behavior somewhere so it's easy for anyone to use this thing.
Tests
I tested locally but we should be able to dump a rust debug build also and script spinning up a server and hitting it.