Commit graph

26567 commits

Author SHA1 Message Date
David Greenman c3229e05a3 Improved connection establishment performance by doing local port lookups via
a hashed port list. In the new scheme, in_pcblookup() goes away and is
replaced by a new routine, in_pcblookup_local() for doing the local port
check. Note that this implementation is space inefficient in that the PCB
struct is now too large to fit into 128 bytes. I might deal with this in the
future by using the new zone allocator, but I wanted these changes to be
extensively tested in their current form first.

Also:
1) Fixed off-by-one errors in the port lookup loops in in_pcbbind().
2) Got rid of some unneeded rehashing. Adding a new routine, in_pcbinshash()
   to do the initialial hash insertion.
3) Renamed in_pcblookuphash() to in_pcblookup_hash() for easier readability.
4) Added a new routine, in_pcbremlists() to remove the PCB from the various
   hash lists.
5) Added/deleted comments where appropriate.
6) Removed unnecessary splnet() locking. In general, the PCB functions should
   be called at splnet()...there are unfortunately a few exceptions, however.
7) Reorganized a few structs for better cache line behavior.
8) Killed my TCP_ACK_HACK kludge. It may come back in a different form in
   the future, however.

These changes have been tested on wcarchive for more than a month. In tests
done here, connection establishment overhead is reduced by more than 50
times, thus getting rid of one of the major networking scalability problems.

Still to do: make tcp_fastimo/tcp_slowtimo scale well for systems with a
large number of connections. tcp_fastimo is easy; tcp_slowtimo is difficult.

WARNING: Anything that knows about inpcb and tcpcb structs will have to be
         recompiled; at the very least, this includes netstat(1).
1998-01-27 09:15:13 +00:00
KATO Takenori 5be975adf0 Execute cpuid if BIOS disables cpuid instruction of Cyrix 6x86MX CPU. 1998-01-27 08:12:09 +00:00
Daniel O'Callaghan 38ce39bde5 PR: 5573
Submitted by:	garbanzo@hooked.net
Add strncasecmp, strncmp to NAME field.
1998-01-27 07:01:09 +00:00
John Dyson 3f89af99f4 Someone removed vm_zone.c from /sys/conf/files. 1998-01-27 01:54:25 +00:00
Jordan K. Hubbard 139162a5ae Temporary work-around for a ports building problem I really don't
understand just yet.
1998-01-27 01:06:49 +00:00
Bruce Evans 4a2d2630c8 Generate symlinks to the "sys" and <machine> directories and put
them in the include path.  This fixes recent breakage of the syscons
LKMs and general brokenness of the include paths (headers under
/usr/include were used in many cases).
1998-01-26 20:36:38 +00:00
Brian Somers a512daba6c Correct $Id$ 1998-01-26 19:52:34 +00:00
Julian Elischer 3458e54ac1 Move DPT related options out of i386 specific files
so DPT devices can be used on other PCI (alpha?) machines.

Suggested by: several people
1998-01-26 18:31:18 +00:00
KATO Takenori be2a40ab9b Sync with sys/i386/i386/userconfig.c revision 1.101. 1998-01-26 09:18:18 +00:00
KATO Takenori 15ebf6c973 Sync with sys/i386/confi/files.i386, majors.i386 and options.i386
revisions 1.187, 1.25 and 1.68, respectively.
1998-01-26 09:17:43 +00:00
Julian Elischer 16094866e7 Add the DPT driver and options.
GENERIC with dpt may wait a few days if required.
1998-01-26 06:33:48 +00:00
Julian Elischer ff85d547a5 A bit of the dpt userland utilities that got left out. 1998-01-26 06:26:41 +00:00
Julian Elischer c5bc0dccc4 Obtained from: Simon Shapiro
Userland utilities to control, and monitor a DPT RAID system.
1998-01-26 06:20:48 +00:00
Julian Elischer b37c91fdc7 Add Simon Shapiro's DPT driver
this shouldn't break anything existing.
Userland utilities to follow.
1998-01-26 06:11:18 +00:00
Peter Wemm f5c9b8cbc7 Merge CYCLIC branch changes 1998-01-26 04:50:17 +00:00
Peter Wemm 4665b7b2d1 Restore file that was inadvertently deleted last time 1998-01-26 04:48:56 +00:00
Peter Wemm 3d0e86bdb6 Remove stray files 1998-01-26 04:47:16 +00:00
Peter Wemm 7ee3907f2a re-sort back into order 1998-01-26 04:44:32 +00:00
Peter Wemm 855b08ed7b Add missing definition for swi_vm 1998-01-26 04:41:23 +00:00
Peter Wemm 60271a1905 comment that pvcs_to_rcs is left out since it needs perl5 1998-01-26 04:33:03 +00:00
Peter Wemm 73b41018e1 Add libdiff 1998-01-26 04:21:52 +00:00
Peter Wemm d92c069870 Build the internal libified diff 1998-01-26 04:14:21 +00:00
Peter Wemm 8be324b9b3 Update options.h as per configure generated version 1998-01-26 04:02:05 +00:00
Peter Wemm 6eccce856f Update config.h 1998-01-26 03:59:21 +00:00
Peter Wemm 2dfc3bcde9 missing bracket 1998-01-26 03:54:53 +00:00
Peter Wemm 64c8118794 Merge changes from CYCLIC onto main branch 1998-01-26 03:29:29 +00:00
Peter Wemm d302a0c08c Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come. 1998-01-26 03:24:11 +00:00
Peter Wemm edd1d86130 This commit was generated by cvs2svn to compensate for changes in r32785,
which included commits to RCS files with non-trunk default branches.
1998-01-26 03:09:57 +00:00
Peter Wemm 57e58c3aa7 Import cvs-1.9.23 as at 19980123. There are a number of really nice
things fixed in here, including the '-ko' vs. -A problem with
remote cvs which caused all files with -ko to be resent each time
(which is damn painful over a modem, I can tell you).  It also found a
heap of stray empty directories that should have been pruned with the -P
flag to cvs update but were not for some reason.

It also has the fully integrated rcs and diff, so no more fork/exec
overheads for rcs,ci,patch,diff,etc.  This means that it parses the control
data in the rcs files only once rather than twice or more.

If the 'cvs diff' vs. Index thing is going to be fixed for future patch
compatability, this is the place to do it.
1998-01-26 03:09:57 +00:00
Brian Somers 87c2f276be Remove ``start='' used when testing :-( 1998-01-26 02:26:29 +00:00
Jean-Marc Zucconi 0d6515cde0 The status command prints the audio position, the media catalog and the
volume value for the disc. It is now possible to specify additional arguments
(audio, volume, media) to print only a subset of the full status.
This is particularly useful with drives which stop playing when asked to
return the catalog number.
1998-01-26 00:57:54 +00:00
KATO Takenori e881afe741 Undo previous commit. The cpuid symbol has been already used by SMP
stuff.

Pointed-out by:	Manfred Antar <root@mantar.slip.netcom.com>
1998-01-25 23:45:41 +00:00
Wolfram Schneider dfe64147d2 Add two new options:
-i     Do not overwrite files.

     -s     Do not strip output pathname to base filename. By default uuencode
	    deletes any prefix ending with the last slash '/' for security
	    purpose.
1998-01-25 19:26:05 +00:00
Wolfram Schneider b72ceac5ef preconsolidate is mis-spelled preconsoidate
Submitted by:  "Danny J. Zerkel" <dzerkel@phofarm.com>
1998-01-25 19:21:04 +00:00
Wolfram Schneider 16db9c966d Add reference to /usr/share/misc/iso3166 where are most
country names stored. web2 itself does not contain country names.
1998-01-25 19:20:00 +00:00
Steve Price e2f6977240 Initialize if_ibytes and if_obytes to zero.
PR:		1376
Submitted by:	risner@stdio.com
1998-01-25 17:54:57 +00:00
Steve Price 0f87b00d6b Allow comments to begin with multiple '#' characters.
PR:		4452
Submitted by:	Joao Carlos Mendes Luis <Jonny@mailhost.coppe.ufrj.br>
1998-01-25 17:51:10 +00:00
Steve Price 1717267a28 SEE ALSO swapinfo(8).
PR:		5447
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-01-25 17:28:52 +00:00
Steve Price 694ad0a9b1 Fix a couple of operator precedence bugs.
PR:		5450
Submitted by:	Sakari Jalovaara <sja@tekla.fi>
1998-01-25 17:25:41 +00:00
KATO Takenori 31e6b13443 Added cpuid instruction. 1998-01-25 17:02:00 +00:00
KATO Takenori 2f5a8c876a Execute cpuid if BIOS disables cpuid instruction of Cyrix 6x86MX CPU,
and store its result into cpu_id and cpu_feature variables.

Tested by:	Simon Coggins <chaos@ultra.net.au>
1998-01-25 17:01:31 +00:00
Steve Price 9e7a1d01b0 Use -literal to make for a more pleasing list.
PR:		5547
Submitted by:	Matthew Hunt <mph@pobox.com>
1998-01-25 16:38:42 +00:00
Steve Price 2ccbe549bc Fix a couple of typos.
PR:		5561
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-01-25 16:22:22 +00:00
Kazutaka YOKOTA 65b8196101 Fix typo.
PR: docs/5562
1998-01-25 15:49:00 +00:00
KATO Takenori 88a92ff10e Even though BIOS writer's guide recommends cpuid instruction of Cyrix
6x86MX CPU is enabled (BIOS should not disable it), some BIOS disables
it via CCR4.  In this case, cpu variable becomes CPU_486 and
identblue() is called.  Because Cyrix 6x86MX has MSR and doesn't have
MSR1002, wrmsr instruction generates general protection fault.

Tested by:	Simon Coggins <chaos@ultra.net.au>
1998-01-25 12:01:38 +00:00
John Birrell 44626f8fec Make machine dependent asm code machine dependent. 8-) 1998-01-25 09:52:32 +00:00
John Birrell 3b306d567c Change MACHINE -> MACHINE_ARCH so that the design make sense on those
machines where the processor chip determines the compiler, and where
multiple machines use the same architecture.
1998-01-25 09:49:00 +00:00
KATO Takenori 40f6a786db Sync with sys/i386/conf/options.i386 revision 1.67. 1998-01-25 09:45:38 +00:00
John Birrell 2a4a5158b6 Modify for MACHINE_ARCH support instead of assuming just x86.
Added alpha and m68k stuff.
1998-01-25 09:45:00 +00:00
KATO Takenori 9758931d62 Fixed typo in comment. 1998-01-25 09:44:33 +00:00