summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/kttcp.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/kttcp.4 4.html')
-rw-r--r--static/netbsd/man4/kttcp.4 4.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/static/netbsd/man4/kttcp.4 4.html b/static/netbsd/man4/kttcp.4 4.html
new file mode 100644
index 00000000..5a127a67
--- /dev/null
+++ b/static/netbsd/man4/kttcp.4 4.html
@@ -0,0 +1,50 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">KTTCP(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">KTTCP(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">kttcp</code> &#x2014; <span class="Nd">kernel
+ support for testing network throughput</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="Cd">pseudo-device kttcp</code></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">This driver provides kernel support for testing network throughput
+ from the perspective of the kernel. It is similar in spirit to the classic
+ ttcp network benchmark program, the main difference being that with kttcp,
+ the kernel is the source and sink of the data.</p>
+<p class="Pp">Testing like this is useful for a few reasons:</p>
+<ol class="Bl-enum">
+ <li>This allows us to know what kind of performance we can expect from network
+ applications that run in the kernel space, such as the NFS server or the
+ NFS client. These applications don't have to move the data to/from
+ userspace, and so benchmark programs which run in userspace don't give us
+ an accurate model.</li>
+ <li>Since data received is just thrown away, the receiver is very fast. This
+ can provide better exercise for the sender at the other end.</li>
+ <li>Since the <span class="Ux">NetBSD</span> kernel currently uses a
+ run-to-completion scheduling model, kttcp provides a benchmark model where
+ preemption of the benchmark program is not an issue.</li>
+</ol>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><span class="Pa">pkgsrc/benchmarks/kttcp</span>,
+ <span class="Pa">pkgsrc/benchmarks/ttcp</span></p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">December 2, 2006</td>
+ <td class="foot-os">NetBSD 10.1</td>
+ </tr>
+</table>