freebsd with flexible iflib nic queues
Go to file
Robert Watson 8dc10be885 Add some basic support for measuring sleep mutex contention to the
mutex profiling code.  As with existing mutex profiling, measurement
is done with respect to mtx_lock() instances in the code, as opposed
to specific mutexes.  In particular, measure two things:

(1) Lock contention.  How often did this mtx_lock() call get made and
    have to sleep (or almost sleep) waiting for the lock.  This helps
    identify the "victims" of contention.

(2) Hold contention.  How often, while the lock was held by a thread
    as a result of this mtx_lock(), did another thread try to acquire
    the same mutex.  This helps identify the causes of contention.

I'm currently exploring adding measurement of "time waited for the
lock", but the current implementation has proven useful to me so far
so I figured I'd commit it so others could try it out.  Note that this
increases the size of mutexes when MUTEX_PROFILING is enabled, so you
might find you need to further bump UMA_BOOT_PAGES.  Fixes welcome.

The once over:	des, others
2004-01-25 01:59:27 +00:00
bin Fix alignment of size field in ls -lh -- the width was being computed 2004-01-22 04:33:00 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r124861, 2004-01-23 10:44:47 +00:00
crypto Work around removal of EAI_NODATA from netdb.h. 2004-01-18 22:31:30 +00:00
etc Move the test used to determine whether IPFilter is loaded or not 2004-01-24 20:40:11 +00:00
games "The Aged Aged Man" was not a word doubling. 2004-01-19 21:22:21 +00:00
gnu Put libufs into the correct slot in the list. 2004-01-15 15:19:31 +00:00
include remove EAI_NODATA aliased to EAI_NONAME. 2004-01-15 15:10:02 +00:00
kerberos5 Fixed "make clean". 2004-01-15 10:02:34 +00:00
lib Rename the MIBS makefile variable to BMIBS so that it does not conflict 2004-01-24 20:12:30 +00:00
libexec add missing setusershell() calls. 2004-01-18 21:29:33 +00:00
release - Run makewhatis(1) in etc/Makefile at the end of "install". 2004-01-22 08:18:37 +00:00
rescue Revision 1.7 of this file added information 2004-01-18 22:24:23 +00:00
sbin o Pass a correct argument to errx(3). 2004-01-24 19:20:09 +00:00
secure Added two utility targets "secure" and "insecure", analogous to 2004-01-18 07:44:53 +00:00
share Add Sandberg USB to Serial Link (model number 133-08) to the list of 2004-01-24 22:12:06 +00:00
sys Add some basic support for measuring sleep mutex contention to the 2004-01-25 01:59:27 +00:00
tools Include the hostname in the history file. 2004-01-24 15:06:36 +00:00
usr.bin Fix section number in cross reference. 2004-01-23 20:29:03 +00:00
usr.sbin Rename the makefile variable MIBS to BMIBS so that it does not 2004-01-24 20:14:03 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
MAINTAINERS I'll maintain dhclient from now on. 2003-08-01 17:54:11 +00:00
Makefile Put on some factor 30+ bikeshed repellent and export the internal 2003-12-09 02:08:19 +00:00
Makefile.inc1 Create the OID and tree files while building the modules and the daemon 2004-01-23 16:22:49 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Add a note to say that the ACPI module has been turned back on now. 2003-12-15 19:19:16 +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
``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.

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