freebsd-skq/sys/conf
truckman 04c544258a MFC r300779, r300781, r300783, r300784, r300949, r301162, r301180
r300779 | truckman | 2016-05-26 14:40:13 -0700 (Thu, 26 May 2016) | 64 lines

Import Dummynet AQM version 0.2.1 (CoDel, FQ-CoDel, PIE and FQ-PIE).

Centre for Advanced Internet Architectures

Implementing AQM in FreeBSD

* Overview <http://caia.swin.edu.au/freebsd/aqm/index.html>

* Articles, Papers and Presentations
  <http://caia.swin.edu.au/freebsd/aqm/papers.html>

* Patches and Tools <http://caia.swin.edu.au/freebsd/aqm/downloads.html>

Overview

Recent years have seen a resurgence of interest in better managing
the depth of bottleneck queues in routers, switches and other places
that get congested. Solutions include transport protocol enhancements
at the end-hosts (such as delay-based or hybrid congestion control
schemes) and active queue management (AQM) schemes applied within
bottleneck queues.

The notion of AQM has been around since at least the late 1990s
(e.g. RFC 2309). In recent years the proliferation of oversized
buffers in all sorts of network devices (aka bufferbloat) has
stimulated keen community interest in four new AQM schemes -- CoDel,
FQ-CoDel, PIE and FQ-PIE.

The IETF AQM working group is looking to document these schemes,
and independent implementations are a corner-stone of the IETF's
process for confirming the clarity of publicly available protocol
descriptions. While significant development work on all three schemes
has occured in the Linux kernel, there is very little in FreeBSD.

Project Goals

This project began in late 2015, and aims to design and implement
functionally-correct versions of CoDel, FQ-CoDel, PIE and FQ_PIE
in FreeBSD (with code BSD-licensed as much as practical). We have
chosen to do this as extensions to FreeBSD's ipfw/dummynet firewall
and traffic shaper. Implementation of these AQM schemes in FreeBSD
will:
* Demonstrate whether the publicly available documentation is
  sufficient to enable independent, functionally equivalent implementations

* Provide a broader suite of AQM options for sections the networking
  community that rely on FreeBSD platforms

Program Members:

* Rasool Al Saadi (developer)

* Grenville Armitage (project lead)

Acknowledgements:

This project has been made possible in part by a gift from the
Comcast Innovation Fund.

Submitted by:	Rasool Al-Saadi <ralsaadi@swin.edu.au>
X-No objection:	core
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D6388

[Remove some code that was added to the mq_append() inline function in
HEAD by r258457, which was not merged to stable/10.  The AQM patch
moved mq_append() from ip_dn_io.c to the new file ip_dn_private.h, so
we need to remove that copy of the r258457 changes.]
------------------------------------------------------------------------
r300781 | truckman | 2016-05-26 14:44:52 -0700 (Thu, 26 May 2016) | 7 lines

Modify BOUND_VAR() macro to wrap all of its arguments in () and tweak
its expression to work on powerpc and sparc64 (gcc compatibility).

Correct a typo in a nearby comment.

MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300783 | truckman | 2016-05-26 15:03:28 -0700 (Thu, 26 May 2016) | 4 lines

Correct a typo in a comment.

MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300784 | truckman | 2016-05-26 15:07:09 -0700 (Thu, 26 May 2016) | 5 lines

Include the new AQM files when compiling a kernel with options DUMMYNET.

Reported by:	Nikolay Denev <nike_d AT cytexbg DOT com>
MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300949 | truckman | 2016-05-29 00:23:56 -0700 (Sun, 29 May 2016) | 10 lines

Cast some expressions that multiply a long long constant by a
floating point constant to int64_t.  This avoids the runtime
conversion of the the other operand in a set of comparisons from
int64_t to floating point and doing the comparisions in floating
point.

Suggested by:	lidl
Submitted by:	Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r301162 | truckman | 2016-06-01 13:04:24 -0700 (Wed, 01 Jun 2016) | 9 lines

Replace constant expressions that contain multiplications by
fractional floating point values with integer divides.  This will
eliminate any chance that the compiler will generate code to evaluate
the expression using floating point at runtime.

Suggested by:	bde
Submitted by:	Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after:	8 days (with r300779 and r300949)

------------------------------------------------------------------------
r301180 | truckman | 2016-06-01 17:42:15 -0700 (Wed, 01 Jun 2016) | 2 lines

Belatedly bump .Dd date for Dummynet AQM import in r300779.

Relnotes:	yes
2016-06-10 00:00:25 +00:00
..
dtb.mk MFC: Merge more of the dtb machinery 2015-06-04 22:11:39 +00:00
files MFC r300779, r300781, r300783, r300784, r300949, r301162, r301180 2016-06-10 00:00:25 +00:00
files.amd64 MFC r299596-r299606, r299681, r299726, r299738 2016-06-04 15:24:11 +00:00
files.arm MFC r261891: provide fast versions of ffsl and flsl for i386; ffsll and 2015-10-23 10:05:43 +00:00
files.i386 MFC 103 ntb(4) patches by cem@ up to r295487. 2016-05-21 15:15:11 +00:00
files.ia64 MFC r261891: provide fast versions of ffsl and flsl for i386; ffsll and 2015-10-23 10:05:43 +00:00
files.mips MFC r261891: provide fast versions of ffsl and flsl for i386; ffsll and 2015-10-23 10:05:43 +00:00
files.pc98 Fix compiled-in keymap generation for sc/vt consoles 2016-04-21 19:24:36 +00:00
files.powerpc MFC r261891: provide fast versions of ffsl and flsl for i386; ffsll and 2015-10-23 10:05:43 +00:00
files.sparc64 Fix compiled-in keymap generation for sc/vt consoles 2016-04-21 19:24:36 +00:00
kern.mk MFC r276666: 2015-02-13 16:08:45 +00:00
kern.post.mk MFC r294915: 2016-02-06 08:58:10 +00:00
kern.pre.mk MFC r278458, r278519: 2015-06-06 18:21:16 +00:00
kmod_syms.awk
kmod.mk MFC 299310: 2016-05-24 23:04:16 +00:00
ldscript.amd64
ldscript.arm
ldscript.i386
ldscript.ia64
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64 Remove commented out _DYNAMIC sections. 2011-01-20 19:20:23 +00:00
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64
ldscript.sparc64
Makefile.amd64
Makefile.arm MFC r272605: Use -mfpu=none when building arm kernels. 2015-02-13 21:26:45 +00:00
Makefile.i386
Makefile.ia64
Makefile.mips
Makefile.pc98
Makefile.powerpc
Makefile.sparc64
makeLINT.mk
makeLINT.sed
newvers.sh Now that 10.3-RELEASE is out, move stable/10 back to STABLE. 2016-04-04 12:15:06 +00:00
NOTES MFC r297685: Add option to specify built-in keymap for kbdmux 2016-04-21 19:25:33 +00:00
options MFC r297685: Add option to specify built-in keymap for kbdmux 2016-04-21 19:25:33 +00:00
options.amd64 MFC r282212: 2015-05-22 09:03:55 +00:00
options.arm MFC r280278, r280402: 2015-05-23 23:27:00 +00:00
options.i386 MFC r282212: 2015-05-22 09:03:55 +00:00
options.ia64
options.mips
options.pc98 MFC: r272491 2014-12-23 10:59:15 +00:00
options.powerpc
options.sparc64
systags.sh
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE