freebsd with flexible iflib nic queues
Go to file
Alan Somers d3f96f6610 Fix O(n^2) behavior in sysctl
Sysctl OIDs were internally stored in linked lists, triggering O(n^2)
behavior when userland iterates over many of them.  The slowdown is
noticeable for MIBs that have > 100 children (for example, vm.uma).  But
it's unignorable for kstat.zfs when a pool has > 1000 datasets.

Convert the linked lists into RB trees.  This produces a ~25x speedup
for listing kstat.zfs with 4100 datasets, and no measurable penalty for
small dataset counts.

Bump __FreeBSD_version for the KPI change.

Sponsored by:	Axcient
Reviewed by:	mjg
Differential Revision: https://reviews.freebsd.org/D36500
2022-09-26 18:03:34 -06:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github CI: revert --with-config=dist to hotfix Ubuntu 20.04 2022-09-14 16:26:57 -07:00
bin pax: name all supported formats. 2022-09-13 18:13:19 +02:00
cddl zfs: merge openzfs/zfs@c629f0bf6 2022-09-21 14:17:13 +02:00
contrib telnetd: fix two-byte input crash 2022-09-26 18:57:18 +01:00
crypto ssh: describe deprecated options in general in update doc 2022-09-04 20:11:03 -04:00
etc Fix mergemaster(8) breakage in the 6ad780caa. 2022-09-13 13:36:22 -07:00
gnu libdialog: Bump shared library version to 10. 2021-10-27 09:30:24 -07:00
include Retire ZFS_TEARDOWN_TRY_ENTER_READ 2022-09-20 15:34:41 -07:00
kerberos5 pkgbase: split kerberos binaries and libs 2022-08-03 11:02:28 +01:00
lib scandir(3): Rename alphasort_thunk to scandir_thunk_cmp to 2022-09-25 19:01:46 -07:00
libexec ldd: remove '[preloaded]' marker for the preloaded objects 2022-09-22 14:20:13 +03:00
release release: Use standard mount points for arm MBR boot images 2022-09-23 09:53:55 -06:00
rescue Fix conflict between libnvpair and libnv when building rescue binaries. 2022-05-24 23:59:33 +03:00
sbin mount_nfs.8: Fix the RFC number now that it exists 2022-09-24 15:05:21 -07:00
secure openssl: install pc files 2022-09-06 09:32:02 +02:00
share man9: Add MLINKs for bus_space_{peek,poke} 2022-09-26 09:28:57 -04:00
stand zfs: merge openzfs/zfs@c629f0bf6 2022-09-21 14:17:13 +02:00
sys Fix O(n^2) behavior in sysctl 2022-09-26 18:03:34 -06:00
targets bintrans: move files to a new directory 2022-04-18 10:53:11 +02:00
tests copy_file_range: truncate write if it would exceed RLIMIT_FSIZE 2022-09-26 15:22:29 -06:00
tools stress2: Added regression tests 2022-09-26 09:50:37 +02:00
usr.bin clang: remove as(1) cross-reference from man page 2022-09-25 15:21:25 -04:00
usr.sbin rpc.tlsclntd.8: Fix the RFC number now that it exists 2022-09-23 16:59:29 -07:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: move QEMU pkg installation to test script 2022-09-07 13:32:12 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore contrib/bsddialog: Import version 0.4 2022-09-25 15:04:33 +02:00
COPYRIGHT Welcome 2022, update copyrights. 2022-01-01 09:49:49 -07:00
LOCKS
MAINTAINERS Remove myself from bhyve maintenance; ENOTIME. 2021-11-19 07:09:30 +10:00
Makefile contrib/bsddialog: Import version 0.4 2022-09-25 15:04:33 +02:00
Makefile.inc1 Makefile.inc1 release bsd.own.mk: Introduce and use TAR_CMD 2022-07-15 23:04:34 +01:00
Makefile.libcompat Install working pkgconfig .pc files for compat libraries 2022-08-11 23:18:34 +01:00
Makefile.sys.inc
ObsoleteFiles.inc Do not delete objdump when WITH_LLVM_BINUTILS is true 2022-09-25 15:33:16 -04:00
README.md contrib/bsddialog: Import version 0.4 2022-09-25 15:04:33 +02:00
RELNOTES RELNOTES: Add an entry for use of "intr,nolockd" NFSv4.1/4.2 mounts 2022-09-07 15:55:15 -07:00
UPDATING LinuxKPI: move pm_message_t from kernel.h to pm.h 2022-06-10 14:05:12 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

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), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
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 Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB 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 FreeBSD Handbook.