freebsd with flexible iflib nic queues
Go to file
Gleb Smirnoff 2bab0c5535 New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and
up to now.

The new sendfile is the code that Netflix uses to send their multiple tens
of gigabits of data per second. The new implementation features asynchronous
I/O, when I/O operations are launched, but not awaited to be complete. An
explanation of why such behavior is beneficial compared to old one is
going to be too long for a commit message, so we will skip it here.

Additional features of new syscall are extra flags, which provide an
application more control over data sent. The SF_NOCACHE flag tells
kernel that data shouldn't be cached after it was sent. The SF_READAHEAD()
macro allows to specify readahead size in pages.

The new syscalls is a drop in replacement. No modifications are required
to applications. One can take nginx binary for stable/10 and run it
successfully on head. Although SF_NODISKIO lost its original sense, as now
sendfile doesn't block, and now means something completely different (tm),
using the new sendfile the old way is absolutely safe.

Celebrates:	Netflix global launch!
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
Relnotes:	yes
2016-01-08 20:34:57 +00:00
bin sh: Reduce size of options table. 2016-01-07 23:13:20 +00:00
cddl Reduce zfs utilities overlinking 2015-12-24 11:56:37 +00:00
contrib MFV r293415: 2016-01-08 15:53:48 +00:00
crypto Incorrect length in calloc() call, already fixed upstream. 2015-12-17 19:36:25 +00:00
etc Try a little harder to remove firstboot and firstboot-reboot files in 2016-01-06 17:13:40 +00:00
gnu Switch GNU ld to be installed as ld.bfd and linked as ld 2016-01-07 00:15:02 +00:00
include Vendor import of ntp-4.2.8p5. 2016-01-08 08:06:14 +00:00
kerberos5 DIRDEPS_BUILD: Update dependencies. 2015-12-07 23:53:01 +00:00
lib New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
libexec Revert r293201, r293202 (rtld: populate DT_DEBUG iff DYNAMIC segment is writable) 2016-01-08 00:56:41 +00:00
release Add a new target to touch the ${.OBJDIR}/release file, which 2016-01-06 05:23:25 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
secure Build engines in parallel. 2015-12-15 19:57:56 +00:00
share Fix issues found by mandoc -Tlint. 2016-01-08 13:33:22 +00:00
sys New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
targets Add in DIRDEPS_BUILD support. 2016-01-07 00:19:30 +00:00
tests Vendor import of ntp-4.2.8p5. 2016-01-08 08:06:14 +00:00
tools - Add a geom_raid3 specific cleanup function and trap on that function at 2016-01-08 19:47:49 +00:00
usr.bin New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
usr.sbin MFV r293415: 2016-01-08 15:53:48 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2015-12-31 11:21:45 +00:00
LOCKS
MAINTAINERS Add interests/maintainerships + notes 2015-12-28 19:29:05 +00:00
Makefile Always try to upgrade to bmake if not already using it. 2016-01-07 19:37:11 +00:00
Makefile.inc1 Provide knob NO_INSTALLEXTRAKERNELS. If defined, extra kernels in KERNCONF 2016-01-06 21:58:45 +00:00
ObsoleteFiles.inc Add some more obsolete files, left over from the clang 3.7.0 -> 3.7.1 2015-12-30 09:15:02 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING pxeboot: make the tftp loader use the option root-path directive 2015-12-16 17:13:09 +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.  See build(7)
and 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.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

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 kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


Source Roadmap:
---------------

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

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