summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* While calling perror() on send() failure was useful for debugging therwatson2004-09-302-3/+2
| | | | | if_em "wedging" problem, large numbers of perror() calls impacts send performance. As such, just count the error, don't print it.
* Add syscall_timing, a simple timing micro-benchmark for somerwatson2004-09-302-0/+195
| | | | | | 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.
* This is a small tool which will read an entire disk(partition) usingphk2004-09-283-0/+170
| | | | | | | | | | | | | | | | | | | | 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
* add my script that helps me handle MFC's. It takes in a commit messagejmg2004-09-242-1/+31
| | | | | | | 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..
* Print number of "waits" per second during transmission, not just waitsrwatson2004-09-241-0/+1
| | | | per call to send().
* Add mfc.des2004-09-241-0/+2
|
* A simple shell script to help MFC an entire directory to a branch where itdes2004-09-242-0/+48
| | | | does not already exist.
* Improve netsend timing logic in various ways:rwatson2004-09-211-13/+78
| | | | | | | | | | | | - 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.
* Set default socket size for netreceive to 128k to reduce the chancesrwatson2004-09-211-1/+7
| | | | | of the buffer overflowing before netreceive can be scheduled to read the packets from the socket.
* Don't forget to check defined() before testing the value.des2004-09-201-0/+1
|
* Make this use a standard bsd.subdir.mk.ru2004-09-201-6/+2
|
* netsend uses an arbitrary maximum send rate to reject bogus arguments.rwatson2004-09-191-2/+4
| | | | | It was previously 1mpps; raise to 10mpps. While here, get the error message right.
* Recognize options with values. If an option is present in both GENERICdes2004-09-191-4/+20
| | | | | 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.
* Modify accept_fd_leak regression test to generate "PASS" output, notrwatson2004-09-181-2/+3
| | | | | just "FAIL" output, in order to make it consistent with other tests in the regression test tree.
* Update path to c++ internals includes for the 3.4 location.peter2004-09-161-9/+2
| | | | | No longer use make -k since the libraries target should build now. Remove hacks for gnu/lib/libregex.
* Add libmagic to the explicit build-tools list.peter2004-09-161-0/+1
|
* Make libcrypto/libssh cross compilepeter2004-09-151-0/+1
|
* Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all"peter2004-09-151-1/+1
|
* Comment lines may have leading whitespace.des2004-09-151-1/+1
| | | | | PR: 71773 Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
* Add a very basic README for tcpstream.rwatson2004-09-131-0/+20
|
* Add tcpstream, a simple TCP stream generator that uses a pseudo-randomrwatson2004-09-132-0/+253
| | | | sequence to detect data corruption visible to an application.
* Add netrate (netreceive, netsend), a tool for generating (and sinking)rwatson2004-09-106-0/+398
| | | | | UDP packets of specified size at a fixed rate. I've been using this for netperf-related testing.
* Make the output more suitable for use in a frameset.des2004-09-081-24/+24
|
* new version of cryptotest (w/ only code from me)sam2004-09-072-1/+583
| | | | Reviewed by: imp
* Add a regression test for <tgmath.h>.stefanf2004-09-042-0/+624
|
* Join the effort in simplifying this makefile. ;)ru2004-09-031-3/+1
|
* Pass O_NONBLOCK directly to fcntl() rather than the pointer to an intrwatson2004-09-021-12/+8
| | | | | holding the value O_NONBLOCK. This worked previously because I was lucky.
* Don't override the rule used to build a binary by providing our ownrwatson2004-09-021-1/+0
| | | | compiler line.
* Add -c option to preserve comments from GENERIC in the output.des2004-08-291-4/+12
|
* Add genericize, a Perl script that converts a kernel config into somethingdes2004-08-283-0/+115
| | | | more easily diffable against GENERIC.
* Update for latest make(1) changes.obrien2004-08-241-17/+39
| | | | Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Make sure to properly initialize 'size' to sizeof(sin) before passingrwatson2004-08-241-0/+1
| | | | | it into accept(). Depending on the initial value in memory, it is otherwise possible to get EINVAL.
* Add a basic kqueue + UNIX domain socket pair regression test to do somerwatson2004-08-242-0/+340
| | | | | | 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.
* Regression tests for 'verify reading' algorithm.pjd2004-08-222-0/+69
|
* Fix positional parameter reference to ${10}.thomas2004-08-211-4/+4
| | | | | | Fix target location for generation of fstab. PR: bin/70795
* Add regression test for the new "round-robin reading" feature.pjd2004-08-211-0/+36
|
* Add description of raidtest tool.pjd2004-08-201-0/+1
|
* - fflush() standard output before fork()ing.pjd2004-08-201-2/+2
| | | | - Remove redundant 'break'.
* Add the raidtest tool, which can be used for performance tests of storage ↵pjd2004-08-203-0/+454
| | | | | | | 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.
* Remove a couple of warnings and tweak an error message.des2004-08-201-3/+1
|
* Copy open_locked() from tinderbox.pl and use it to optionally acquire ades2004-08-202-3/+63
| | | | lock file upon startup. If this fails, tbmaster will simply terminate.
* Print the patch file name in the warning message for missing patch files.des2004-08-191-1/+1
|
* Clean up, add update_releng_[45].rc.des2004-08-191-2/+6
|
* RELENG_5 is now available.des2004-08-192-2/+6
|
* Branches of interest are RELENG_4_{8,9,10}.des2004-08-192-1/+5
|
* Comment out the timeout setting; it doesn't work properly.des2004-08-191-0/+1
|
* Example configuration files for customize.sh.thomas2004-08-161-0/+34
| | | | Approved by: re (scottl)
* Add documentation of the newly-added user-configurable Makefile knobs.thomas2004-08-161-0/+16
| | | | Approved by: re (scottl)
* Add example customization script, to be used through CUSTOMIZE Makefile knob.thomas2004-08-161-0/+72
| | | | Approved by: re (scottl)
* Properly identify the root filesystem to be used in /etc/fstab in eachthomas2004-08-162-16/+75
| | | | | | | | | | 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)
OpenPOWER on IntegriCloud