Page MenuHomeFreeBSD

Dummynet AQM usage documentation for ipfw man page
ClosedPublic

Authored by ralsaadi_swin.edu.au on Sep 26 2017, 2:44 PM.
Tags
None
Referenced Files
F83120482: D12507.diff
Mon, May 6, 2:13 PM
Unknown Object (File)
Thu, May 2, 11:52 AM
Unknown Object (File)
Fri, Apr 12, 9:09 PM
Unknown Object (File)
Fri, Apr 12, 1:56 PM
Unknown Object (File)
Thu, Apr 11, 3:56 PM
Unknown Object (File)
Apr 2 2024, 4:10 AM
Unknown Object (File)
Mar 7 2024, 10:59 AM
Unknown Object (File)
Jan 30 2024, 1:57 PM

Details

Summary

CoDel, PIE, FQ-CoDel and FQ-PIE AQM for Dummynet included in FreeBSD 11 and back ported to FreeBSD 10.3. However, their usage syntax and options / parameters have not been documented in ipfw man page.
This patch adds description, parameters, options, sysctl and examples of using these AQMs to ipfw man page.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Thank you for working on updating the man page.
Can you run "mandoc -Tlint" over the man page with your changes and fix the warnings ("new sentence, new line" and such)?
Running textproc/igor over the man page can also find and report issues.
The FDP primer's man page section on Markup Guidelines has some additional info that can help.

Let us know if you need help or have questions.

Thank you for reviewing the patch. I have revised that patch and checked it using mandoc -Tlint and igor. Hopefully, it is OK now.

Looks good documentation-wise, can't comment much on the actual content, just the formatting.

This revision is now accepted and ready to land.Aug 10 2018, 6:33 PM

Can I please have atleast 24 hours to review the text of this.

I am sorry for not getting to this today, I was side lined.

Hi, I tested FreeBSD-12-alpha3 and find the man page do not contain any AQM info?

Overall, quite good: thank you. Above are mostly nits. I note, though that when I tried applying the patch to src/sbin/ipfw/ipfw.8 @338406, I got one rejection:

g1-215(11.2-S)[18] patch -C -p 2 < D12507.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: sbin/ipfw/ipfw.8
|===================================================================
|--- sbin/ipfw/ipfw.8
|+++ sbin/ipfw/ipfw.8
--------------------------
Patching file ipfw.8 using Plan A...
Hunk #1 succeeded at 2711 (offset 179 lines).
Hunk #2 succeeded at 2738 (offset 179 lines).
Hunk #3 succeeded at 2929 (offset 179 lines).
Hunk #4 succeeded at 3471 (offset 228 lines).
Hunk #5 succeeded at 3552 (offset 179 lines).
Hunk #6 failed at 4077.
Hunk #7 succeeded at 4299 (offset 271 lines).
Hunk #8 succeeded at 4243 (offset 179 lines).
1 out of 8 hunks failed while patching ipfw.8
done
sbin/ipfw/ipfw.8
2565

Specification of the nature of the "two lists" is good, but I don't see what the "1024" refers to. Maximum (default) queue depth?

2582

Would the wording: "fq_codel uses the same AQM parameters and options as codel (see blow), and fq_pie uses the same AQM parameters and options as pie (see below)." be clearer? Or perhaps use the phrasing "inherits ... from"?

2595

typo, I think: s/1514 byte,/1514 bytes,/

2596

Similar: "byte" should be plural.

2599

I think "packet" should also be plural.

2603

And plural "packets" again (both instances).

2607

creates and manages. [Rationale: Structure is "specifies the ... number ... that fq_* creates ...."]

2807

I'd insert "of" at the end of the above line.

2821

Make that last bit "as follows:"

2825

"... between 0 and 7 which specifies ..."

2830

As above, "...between 0 and 7 which specifies ...".

2851

Need a bit of white space between "too far." and "De-randomisation".

2854

s/ turing / turning /, yes?

2856

Should that read "PIE turns on when ...."?

2871

The comma isn't needed here, I think.

2872

Append " the" to the above line.

This comment was removed by ralsaadi_swin.edu.au.
sbin/ipfw/ipfw.8
2565

corrected and not it reads "(old sub-queues and new sub-queues) for providing brief periods of priority to
lightweight or short burst flows. By default, the total number of sub-queues is 1024.

2582

corrected and now it reads "fq_codel inherits AQM parameters and options from codel (see below), and fq_pie inherits AQM parameters and options from pie (see below)."

2595

corrected

2599

corrected

2603

corrected

2607

Corrected and not it reads "specifies the total number of flow queues (sub-queues) that fq_* creates and manages."

2807

corrected

2821

corrected

2825

corrected

2851

corrected

2854

corrected

2856

corrected

2871

corrected

2872

corrected

Thanks a lot for reviewing ipfw AQM man page patch. I have corrected all the mistakes that you mentioned and created a new patch against the current ipfw.8 man page.

All the mistakes mentioned by the reviewers have been corrected in this patch.

This revision now requires review to proceed.Sep 3 2018, 4:37 AM
sbin/ipfw/ipfw.8
2607

Sorry, ** now it reads ...

Looks good to me, and the patch applied against head @r338438 cleanly.

This revision is now accepted and ready to land.Sep 16 2018, 1:00 AM
This revision was automatically updated to reflect the committed changes.