]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/tools/kttcp/README
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / tools / kttcp / README
1 $FreeBSD$
2
3 This is a port of Jason Thorpe's kttcp tool for testing network
4 performance for in-kernel applications (like NFS).  The tool consists
5 of a loadable module and a small user-mode application.  Beware
6 that you should match the kernel module to the kernel it is to be
7 used with.  By default SYSDIR is set to /usr/src/sys in Makefile.
8 You may want to change that.
9
10 To use the tool do something like on each of two machines:
11
12 1. make
13 2. su; make install (installs module and kttcp in /usr/local/bin)
14 3. kldload kttcp
15
16 Then:
17
18 4. kttcp -r on one machine
19 5. kttcp -t foo on the other machine, where foo is the
20    machine where #4 was done.
21
22 kttcp w/o arguments gives usage.  Otherwise the source is your
23 friend.  Beware that the kernel code must mimic soreceive and sosend
24 for results to be meaningful.