rwatson
724b02db8c
While calling perror() on send() failure was useful for debugging the
...
if_em "wedging" problem, large numbers of perror() calls impacts send
performance. As such, just count the error, don't print it.
2004-09-30 06:17:26 +00:00
rwatson
af519fd928
Add syscall_timing, a simple timing micro-benchmark for some
...
characteristic system calls. I've been sending this to people for
a while, and figured it would be more efficient to just put it in
CVS.
2004-09-30 05:25:00 +00:00
phk
d0514db4ed
This is a small tool which will read an entire disk(partition) using
...
1M blocks and optionally write the read data to a file or disk.
If a read error happens, the 1M block gets put on the end of the worklist
and will be retried with 64k blocksize.
If a read error happens again, the 64k block gets put at the end of the
worklist and will be retried with single sector reads.
The program keeps trying until you stop it.
You can refresh a disk:
recoverdisk /dev/ad1 /dev/ad1
or salvage a floppy:
recoverdisk /dev/fd0 myfloppy.flp
2004-09-28 22:00:01 +00:00
jmg
b069886175
add my script that helps me handle MFC's. It takes in a commit message
...
and generates the proper (hopefully) update -j lines + commit line to do
the MFC... This has saved me a lot of time doing recent MFC's...
You still should use diff to verify the changes before doing the commit..
2004-09-24 20:06:49 +00:00
rwatson
e1013efdd6
Print number of "waits" per second during transmission, not just waits
...
per call to send().
2004-09-24 18:02:31 +00:00
des
70ac2d0f2c
Add mfc.
2004-09-24 15:25:35 +00:00
des
d8aa7d51b2
A simple shell script to help MFC an entire directory to a branch where it
...
does not already exist.
2004-09-24 15:24:12 +00:00
rwatson
3165926b59
Improve netsend timing logic in various ways:
...
- Centralize time comparison.
- Check clock resolution to make sure it has enough granularity to
implement the desired wait interval.
- Keep track of how many times the timing loop has to spin waiting
for the next send time; report statistics.
- Add commented out warning about deadlines being missed when
spinning.
- Improve statistics reporting generally to provide a more useful
summary of sender condition after a run.
2004-09-21 20:21:40 +00:00
rwatson
362f547d94
Set default socket size for netreceive to 128k to reduce the chances
...
of the buffer overflowing before netreceive can be scheduled to read
the packets from the socket.
2004-09-21 03:10:28 +00:00
des
07e6fe379f
Don't forget to check defined() before testing the value.
2004-09-20 15:22:57 +00:00
ru
6ceb6b3015
Make this use a standard bsd.subdir.mk.
2004-09-20 14:04:00 +00:00
rwatson
72782378d5
netsend uses an arbitrary maximum send rate to reject bogus arguments.
...
It was previously 1mpps; raise to 10mpps. While here, get the error
message right.
2004-09-19 22:57:21 +00:00
des
a327ab2ee1
Recognize options with values. If an option is present in both GENERIC
...
and the custom kernel, but its value has been modified, it will now be
kept in its correct spot instead of being moved to the bottom.
2004-09-19 21:21:26 +00:00
rwatson
1991acc23e
Modify accept_fd_leak regression test to generate "PASS" output, not
...
just "FAIL" output, in order to make it consistent with other tests in
the regression test tree.
2004-09-18 13:06:00 +00:00
peter
942021ba90
Update path to c++ internals includes for the 3.4 location.
...
No longer use make -k since the libraries target should build now.
Remove hacks for gnu/lib/libregex.
2004-09-16 01:41:11 +00:00
peter
70ad7978cb
Add libmagic to the explicit build-tools list.
2004-09-16 00:22:59 +00:00
peter
2188870a35
Make libcrypto/libssh cross compile
2004-09-15 23:15:53 +00:00
peter
cea236373e
Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all"
2004-09-15 23:01:28 +00:00
des
52a20a8652
Comment lines may have leading whitespace.
...
PR: 71773
Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
2004-09-15 21:10:46 +00:00
rwatson
a18be84c1f
Add a very basic README for tcpstream.
2004-09-13 16:53:40 +00:00
rwatson
ed6044d475
Add tcpstream, a simple TCP stream generator that uses a pseudo-random
...
sequence to detect data corruption visible to an application.
2004-09-13 03:17:22 +00:00
rwatson
29bafe6120
Add netrate (netreceive, netsend), a tool for generating (and sinking)
...
UDP packets of specified size at a fixed rate. I've been using this for
netperf-related testing.
2004-09-10 19:09:50 +00:00
des
5d17d7721f
Make the output more suitable for use in a frameset.
2004-09-08 16:04:38 +00:00
sam
7ad4b5615e
new version of cryptotest (w/ only code from me)
...
Reviewed by: imp
2004-09-07 18:35:00 +00:00
stefanf
6d0c938ba1
Add a regression test for <tgmath.h>.
2004-09-04 11:34:53 +00:00
ru
083ce78d85
Join the effort in simplifying this makefile. ;)
2004-09-03 06:18:52 +00:00
rwatson
621b91453c
Pass O_NONBLOCK directly to fcntl() rather than the pointer to an int
...
holding the value O_NONBLOCK. This worked previously because I was
lucky.
2004-09-02 21:41:57 +00:00
rwatson
b9685c935d
Don't override the rule used to build a binary by providing our own
...
compiler line.
2004-09-02 21:37:50 +00:00
des
ff465de13a
Add -c option to preserve comments from GENERIC in the output.
2004-08-29 19:45:50 +00:00
des
044539800a
Add genericize, a Perl script that converts a kernel config into something
...
more easily diffable against GENERIC.
2004-08-28 13:36:16 +00:00
obrien
7c80b82fd9
Update for latest make(1) changes.
...
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-08-24 17:33:42 +00:00
rwatson
a52ebd899d
Make sure to properly initialize 'size' to sizeof(sin) before passing
...
it into accept(). Depending on the initial value in memory, it is
otherwise possible to get EINVAL.
2004-08-24 04:59:26 +00:00
rwatson
45da4deacb
Add a basic kqueue + UNIX domain socket pair regression test to do some
...
elementary exercising of kqueues on datagram and stream sockets. Note
that the datagram write kqueue case is left untested due to potentially
confusing behavior for the developer (me) that might require attention.
2004-08-24 04:02:41 +00:00
pjd
9602bb2cd9
Regression tests for 'verify reading' algorithm.
2004-08-22 16:26:09 +00:00
thomas
a4418fa3a8
Fix positional parameter reference to ${10}.
...
Fix target location for generation of fstab.
PR: bin/70795
2004-08-21 20:21:49 +00:00
pjd
6ac179d92c
Add regression test for the new "round-robin reading" feature.
2004-08-21 18:14:55 +00:00
pjd
2f1906caa2
Add description of raidtest tool.
2004-08-20 16:56:43 +00:00
pjd
bd124ccfb5
- fflush() standard output before fork()ing.
...
- Remove redundant 'break'.
2004-08-20 12:49:09 +00:00
pjd
7ee655e7b6
Add the raidtest tool, which can be used for performance tests of storage devices.
...
It uses random offsets, random requests size and random operation type (READ or
WRITE). It also allows to run many processes to send I/O requests in parallel.
2004-08-20 12:02:34 +00:00
des
573364fb62
Remove a couple of warnings and tweak an error message.
2004-08-20 10:23:22 +00:00
des
a05183855a
Copy open_locked() from tinderbox.pl and use it to optionally acquire a
...
lock file upon startup. If this fails, tbmaster will simply terminate.
2004-08-20 08:10:30 +00:00
des
736d98ed04
Print the patch file name in the warning message for missing patch files.
2004-08-19 07:31:10 +00:00
des
8f59c24c11
Clean up, add update_releng_[45].rc.
2004-08-19 07:28:30 +00:00
des
31b763b78b
RELENG_5 is now available.
2004-08-19 07:27:42 +00:00
des
a36fbf13a8
Branches of interest are RELENG_4_{8,9,10}.
2004-08-19 07:27:21 +00:00
des
80d319927b
Comment out the timeout setting; it doesn't work properly.
2004-08-19 07:26:31 +00:00
thomas
795682e917
Example configuration files for customize.sh.
...
Approved by: re (scottl)
2004-08-16 22:55:51 +00:00
thomas
bf9c75f97d
Add documentation of the newly-added user-configurable Makefile knobs.
...
Approved by: re (scottl)
2004-08-16 22:52:40 +00:00
thomas
efc85186f0
Add example customization script, to be used through CUSTOMIZE Makefile knob.
...
Approved by: re (scottl)
2004-08-16 22:46:58 +00:00
thomas
fd87ccf13c
Properly identify the root filesystem to be used in /etc/fstab in each
...
slice of the flash card, ensuring that the loader will mount the root fs
from the booted slice by default.
Allow usage of FFS volume labels instead of hardcoded device names through
WITH_GEOM_VOL Makefile knob.
Approved by: re (scottl)
2004-08-16 22:41:58 +00:00