freebsd with flexible iflib nic queues
Go to file
Oleg Bulyzhin c2df509a1d - Convert
net.inet.ip.dummynet.curr_time
	net.inet.ip.dummynet.searches
	net.inet.ip.dummynet.search_steps
  to SYSCTL_LONG nodes. It will prevent frequent wrap around on 64bit archs.

- Implement simple mechanics for dummynet(4) internal time correction.
  Under certain circumstances (system high load, dummynet lock contention, etc)
  dummynet's tick counter can be significantly slower than it should be.
  (I've observed up to 25% difference on one of my production servers).
  Since this counter used for packet scheduling, it's accuracy is vital for
  precise bandwidth limitation.

  Introduce new sysctl nodes:
  net.inet.ip.dummynet.
    tick_lost		- number of ticks coalesced by taskqueue thread.
    tick_adjustment	- number of time corrections done.
    tick_diff		- adjusted vs non-adjusted tick counter difference
    tick_delta		- last vs 'standard' tick differnece (usec).
    tick_delta_sum	- accumulated (and not corrected yet) time
  			  difference (usec).

Reviewed by:	glebius
MFC after:	2 month
2006-10-27 13:05:37 +00:00
bin Wording nits. 2006-10-27 08:26:24 +00:00
contrib Fixed -mprofiler-epilogue. The garbage collector apparently doesn't 2006-10-25 07:29:22 +00:00
crypto Don't define XAUTH_PATH here, we either pass it in on the compiler command 2006-10-06 14:27:26 +00:00
etc Re-sync'ing pf rules in post command as we already did for ipfilter. 2006-10-26 00:29:43 +00:00
games It so happens that everything that is stupid is not unconstitutional. 2006-10-23 13:25:17 +00:00
gnu Bump document date for the previous change. 2006-10-21 17:39:35 +00:00
include A GEOM cache can speed up read performance by sending fixed size 2006-10-06 08:27:07 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Make KSE a kernel option, turned on by default in all GENERIC 2006-10-26 21:42:22 +00:00
libexec Fix TLS on sparc64 for statically and dynamically linked binaries 2006-10-08 02:50:34 +00:00
release The AUTO_KEYBOARD_DETECT is useful on amd64 as well. 2006-10-24 21:00:49 +00:00
rescue Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
sbin Two tiny style fixes. 2006-10-24 22:16:51 +00:00
secure Fix static compilation. 2006-10-07 17:32:05 +00:00
share - Don't pass an empty ``NM='' to lorder(1) when NM is unset. 2006-10-25 09:43:38 +00:00
sys - Convert 2006-10-27 13:05:37 +00:00
tools Might as well move to the right place if we are not there. 2006-10-11 21:46:53 +00:00
usr.bin Fix a bug converting a variable from the numeric type to a string. 2006-10-25 21:23:20 +00:00
usr.sbin Add MPEG2-TS/HDV support to fwcontrol. 2006-10-26 22:33:38 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Add myself as OpenSSL janitor/maintainer. 2006-09-11 19:39:46 +00:00
Makefile Add sun4v to the 'universe'. 2006-10-16 22:18:59 +00:00
Makefile.inc1 Add sun4v to the TARGET_ARCH when just TARGET is set (like pc98 is done). 2006-10-16 22:18:13 +00:00
ObsoleteFiles.inc Record the pccardc death. 2006-10-21 14:19:52 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING Add 'options KSE' to the kernel config DEFAULTS on all arches/machines 2006-10-26 22:05:25 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html