Skip to content

port to BSD#3

Open
anarcat wants to merge 1 commit intorichb-hanover:masterfrom
anarcat:bsd
Open

port to BSD#3
anarcat wants to merge 1 commit intorichb-hanover:masterfrom
anarcat:bsd

Conversation

@anarcat
Copy link

@anarcat anarcat commented Dec 14, 2015

the betterspeedtest wouldn't work on BSD platforms because of gnu-specific assumptions in the shell source code. this patch makes it work in FreeBSD, tested in FreeBSD 8.

@anarcat
Copy link
Author

anarcat commented Dec 14, 2015

now of course, i have no idea how to fix my bufferbloat problems on BSD without killing my bandwidth... i was able to setup a traffic shaper that reduces the bufferbloat, but it trickles traffic down to 80kbps... not working!

note that i did try to enable ECN and SACK and all of those, no luck.

@richb-hanover
Copy link
Owner

Thanks for the PR. I'll have time to look at it in a week or so.

As for the slow data rates after enabling fq_codel, I would post a note on the bloat list with a list of your config's (https://lists.bufferbloat.net/listinfo/bloat - yes, our certificate has expired).

@anarcat
Copy link
Author

anarcat commented Dec 15, 2015

i am not sure i setup fq_codel at all... i just setup altq with HFSC and ECN in pf. but thanks for the ref.

@anarcat
Copy link
Author

anarcat commented Dec 15, 2015

posted to the list, awaits moderation.

teslamint pushed a commit to teslamint/CeroWrtScripts that referenced this pull request Sep 29, 2020
  Warning message:

PID: 4736
2015-03-07 17:19:58 Testing netperf-eu.bufferbloat.net (ipv4) with 4 streams down and up while pinging 89.243.96.1. Takes about 30 seconds.
Ping PID: 4741
Starting upload #1 4743
Starting upload richb-hanover#2 4744
Starting upload richb-hanover#3 4745
Starting upload #4 4746
Starting download #1 4748
Starting download richb-hanover#2 4749
Starting download richb-hanover#3 4750
Starting download #4 4751
Waiting for 4736
./netperfrunner.sh: line 162: wait: pid 4736 is not a child of this shell

  Reason:

We used `pgrep netperf`, but the results include the pid of netperfrunner.sh
(substring match).  Also it'd include everybody else's netperf :).

Use `pgrep netperf -P $$` will return exactly the netperf pids
which we can wait for.  (It means --parent, but busybox only supports -P).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants