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