Find a file
Conrad Meyer 548dca90ae random(4): Fortuna: Enable concurrent generation by default for 13
Flip the knob added in r349154 to "enabled."  The commit message from that
revision and associated code comment describe the rationale, implementation,
and motivation for the new default in detail.  I have dog-fooded this
configuration on my own systems for six months, for what that's worth.

For end-users: the result is just as secure.  The benefit is a faster, more
responsive system when processes produce significant demand on random(4).

As mentioned in the earlier commit, the prior behavior may be restored by
setting the kern.random.fortuna.concurrent_read="0" knob in loader.conf(5).

This scales the random generation side of random(4) somewhat, although there
is still a global mutex being shared by all cores and rand_harvestq; the
situation is generally much better than it was before on small CPU systems,
but do not expect miracles on 256-core systems running 256-thread full-rate
random(4) read.  Work is ongoing to address both the generation-side (in
more depth) and the harvest-side scaling problems.

Approved by:	csprng(delphij, markm)
Tested by:	markm
Differential Revision:	https://reviews.freebsd.org/D22879
2019-12-20 08:31:23 +00:00
bin Update Makefile.depend files 2019-12-11 17:37:53 +00:00
cddl Update Makefile.depend files 2019-12-11 17:37:53 +00:00
contrib Fix LLVM libunwnwind _Unwind_Backtrace symbol version for ARM. 2019-12-16 14:08:49 +00:00
crypto sshd: make getpwclass wrapper MON_ISAUTH not MON_AUTH 2019-11-20 16:30:37 +00:00
etc gmultipath: add ATF tests 2019-12-06 00:12:14 +00:00
gnu Update Makefile.depend files 2019-12-11 17:37:53 +00:00
include Revert r355760, r355759 2019-12-15 17:33:26 +00:00
kerberos5 Update Makefile.depend files 2019-12-11 17:37:53 +00:00
lib localeconv: correct grouping and mon_grouping per C/POSIX 2019-12-19 17:01:25 +00:00
libexec rtld: make checks for mmap(2) failures compliant with documentation. 2019-12-12 22:59:22 +00:00
release release: chase ports r519089 (rpi-firmware update) 2019-12-05 16:17:56 +00:00
rescue Remove unused defines since r147075 2019-07-12 04:44:50 +00:00
sbin Add missing "ereport." prefixes of ZFS events. 2019-12-18 18:43:44 +00:00
secure Update Makefile.depend files 2019-12-11 17:37:53 +00:00
share Tweaks for DIRDEPS_BUILD 2019-12-19 02:40:04 +00:00
stand loader.efi: efi_readkey_ex needs to key despite the shift status or toggle status 2019-12-17 08:30:11 +00:00
sys random(4): Fortuna: Enable concurrent generation by default for 13 2019-12-20 08:31:23 +00:00
targets Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
tests Temporarily skip failing sys.geom.class.multipath.failloop.failloop on i386 CI 2019-12-17 19:01:09 +00:00
tools Regularize my copyright notice 2019-12-04 16:56:11 +00:00
usr.bin Replace homemade getline(3) by actual getline(3) 2019-12-17 11:03:32 +00:00
usr.sbin Trim a spurious carriage return from the RFB signature string added in r355301. 2019-12-19 15:36:00 +00:00
.arcconfig callsign isn't required anymore 2016-09-29 06:19:45 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml cirrus.yml: stop fetching OVMF.fd now that we're using the pkg 2019-07-30 16:40:33 +00:00
.clang-format Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore .gitignore: Add LINT kernel configurations generated into SRCDIR 2019-08-10 18:22:22 +00:00
COPYRIGHT Happy New Year 2019! 2019-01-01 00:25:25 +00:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS [skip ci] Add me to MAINTAINERS for fusefs 2019-07-28 15:20:47 +00:00
Makefile Take arm.arm (armv5) out of universe 2019-11-03 19:36:34 +00:00
Makefile.inc1 revert r355609 2019-12-13 14:48:44 +00:00
Makefile.libcompat libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 2017-12-05 21:29:47 +00:00
ObsoleteFiles.inc Deprecate sranddev(3) API 2019-12-14 08:28:10 +00:00
README README: add generic notes about GENERIC and NOTES 2018-06-17 19:44:24 +00:00
README.md README: add generic notes about GENERIC and NOTES 2018-06-17 19:44:24 +00:00
RELNOTES Add an entry to RELNOTES for r355677. 2019-12-13 16:28:48 +00:00
UPDATING UPDATING: remove outdated caution against make -j 2019-12-16 19:08:49 +00:00

FreeBSD Source:

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

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

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), config(8), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

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.

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.

stand		Boot loader sources.

sys		Kernel sources.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

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:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html