freebsd-nq/sys/kern
Garrett Wollman 4b29bc4f8a Eliminate the dramatic TCP performance decrease observed for writes in
the range [210:260] by sweeping the problem under the rug.  This change
has the following effects:

1) A new MIB variable in the kern branch is defined to allow modification
of the socket buffer layer's ``wastage factor'' (which determines how
much unused-but-allocated space in mbufs and mbuf clusters is allowed
in a socket buffer).

2) The default value of the wastage factor is changed from 2 to 8.
The original value was chosen when MINCLSIZE was 7*MLEN (!), and is not
appropriate for an environment where MINCLSIZE is much less.

The real solution to this problem is to scrap both mbufs and sockbufs
and completely redesign the buffering mechanism used at both levels.
1996-01-05 21:41:54 +00:00
..
imgact_aout.c Oops. I forgot the change to this file for supporting static configuration 1995-12-15 02:57:40 +00:00
imgact_gzip.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
imgact_shell.c Staticized. 1995-12-02 16:32:03 +00:00
inflate.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
init_main.c Last commit this round: Staticize. 1995-12-10 13:45:30 +00:00
init_sysent.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
kern_acct.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_clock.c Staticize. 1995-12-17 21:23:44 +00:00
kern_conf.c kern_conf.c: remove a now unused variable. 1995-12-22 15:56:35 +00:00
kern_descrip.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_devconf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_exec.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
kern_exit.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
kern_fork.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_ktrace.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_lkm.c Removed unused function lkmenodev(). 1995-12-16 00:01:40 +00:00
kern_lockf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_malloc.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_ntptime.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
kern_physio.c devsw tables are now arrays of POINTERS to struct [cb]devsw 1995-12-13 15:13:57 +00:00
kern_proc.c fill in kinfo_eproc.e_login - otherwise a sysctl to read the eprocs wont 1996-01-01 17:01:03 +00:00
kern_prot.c Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-12 06:43:28 +00:00
kern_random.c 1) ifdef out some unused functions (for now) 1995-12-29 08:04:32 +00:00
kern_resource.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
kern_sig.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_subr.c
kern_synch.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_sysctl.c Fix the reversed source and dest args to bcopy() in the kernel space 1996-01-01 17:05:07 +00:00
kern_tc.c Staticize. 1995-12-17 21:23:44 +00:00
kern_time.c Finished staticizing of timevalfix(). 1995-12-26 01:07:42 +00:00
kern_timeout.c Staticize. 1995-12-17 21:23:44 +00:00
kern_xxx.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
Make.tags.inc
Makefile Generate prototypes for syscall-implementing functions. Put them in 1995-09-19 13:31:04 +00:00
makesyscalls.sh Fix misc formatting errors in makesyscalls.sh. 1995-10-07 23:56:20 +00:00
md5c.c
subr_autoconf.c
subr_clist.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
subr_disklabel.c Update the wd.c driver to use the new TAILQ scheme for device 1995-11-23 07:24:41 +00:00
subr_diskmbr.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
subr_diskslice.c Remove transitory labelling code. Labels are now handled by essentially 1995-09-16 17:04:06 +00:00
subr_dkbad.c
subr_log.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
subr_param.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
subr_prf.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
subr_prof.c Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
subr_rlist.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
subr_trap.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
subr_xxx.c Replaced bogus macros for dummy devswitch entries by functions. 1995-11-06 00:36:19 +00:00
sys_generic.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
sys_process.c Updated to match 1TB filesize changes. Some pindexes were still offsets 1995-12-17 06:59:36 +00:00
sys_socket.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
syscalls.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
syscalls.master Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
sysv_ipc.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
sysv_msg.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
sysv_sem.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
sysv_shm.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
tty_compat.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
tty_conf.c Replaced bogus macros for entry points to unconfigured line disciplines 1995-11-05 20:25:59 +00:00
tty_cons.c Remove crufty "pg" function. 1995-12-22 13:09:39 +00:00
tty_pty.c Fixed pty names. The control and slave names were back to front. 1995-12-22 15:53:53 +00:00
tty_snoop.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
tty_subr.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
tty_tb.c
tty_tty.c Fixed permissions of /dev/tty. 1995-12-22 15:57:31 +00:00
tty.c Oops, the last commit missed one change from 200 to OBUFSIZ + 100. 1995-12-16 21:45:02 +00:00
uipc_domain.c Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
uipc_mbuf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
uipc_proto.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
uipc_sockbuf.c Eliminate the dramatic TCP performance decrease observed for writes in 1996-01-05 21:41:54 +00:00
uipc_socket2.c Eliminate the dramatic TCP performance decrease observed for writes in 1996-01-05 21:41:54 +00:00
uipc_socket.c Nuked ambiguous sleep message strings: 1995-12-14 22:51:13 +00:00
uipc_syscalls.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
uipc_usrreq.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vfs_bio.c Convert BOUNCE_BUFFERS and BOUNCEPAGES to new option scheme. 1996-01-05 20:12:53 +00:00
vfs_cache.c kern_conf.c: remove a now unused variable. 1995-12-22 15:56:35 +00:00
vfs_cluster.c Fixed bugs and finished staticization for things inside `#ifdef DEBUG'. 1995-12-22 16:06:46 +00:00
vfs_conf.c Finished (?) cleaning up sysinit stuff. 1995-12-02 17:11:20 +00:00
vfs_export.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
vfs_extattr.c convert FDESC, KERNFS, NULLFS, PORTAL, UMAPFS, and UNION to the new 1996-01-05 17:46:14 +00:00
vfs_init.c Staticize. 1995-12-17 21:23:44 +00:00
vfs_lookup.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
vfs_mount.c Finished (?) cleaning up sysinit stuff. 1995-12-02 17:11:20 +00:00
vfs_subr.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
vfs_syscalls.c convert FDESC, KERNFS, NULLFS, PORTAL, UMAPFS, and UNION to the new 1996-01-05 17:46:14 +00:00
vfs_vnops.c Staticize. 1995-12-17 21:23:44 +00:00
vnode_if.pl Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vnode_if.sh Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vnode_if.src Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00