source: vendor/current/ctdb/doc/ping_pong.1.html

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 2.4 KB
Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>ping_pong</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"><a name="ping_pong.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ping_pong &#8212; measures the ping-pong byte range lock latency</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">ping_pong</code> { -r | -w | -rw } [-m] [-c] {<em class="replaceable"><code>FILENAME</code></em>} {<em class="replaceable"><code>NUM-LOCKS</code></em>}</p></div></div><div class="refsect1"><a name="idp52545920"></a><h2>DESCRIPTION</h2><p>
2 ping_pong measures the byte range lock latency. It is especially
3 useful on a cluster of nodes sharing a common lock manager as it
4 will give some indication of the lock manager's performance
5 under stress.
6 </p><p>
7 FILENAME is a file on shared storage to use for byte range
8 locking tests.
9 </p><p>
10 NUM-LOCKS is the number of byte range locks, so needs to be
11 (strictly) greater than the number of nodes in the cluster.
12 </p></div><div class="refsect1"><a name="idp51929904"></a><h2>OPTIONS</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-r</span></dt><dd><p>
13 test read performance
14 </p></dd><dt><span class="term">-w</span></dt><dd><p>
15 test write performance
16 </p></dd><dt><span class="term">-m</span></dt><dd><p>
17 use mmap
18 </p></dd><dt><span class="term">-c</span></dt><dd><p>
19 validate the locks
20 </p></dd></dl></div></div><div class="refsect1"><a name="idp49227968"></a><h2>EXAMPLES</h2><p>
21 Testing lock coherence
22 </p><pre class="screen">
23 ping_pong test.dat N
24 </pre><p>
25 Testing lock coherence with lock validation
26 </p><pre class="screen">
27 ping_pong -c test.dat N
28 </pre><p>
29 Testing IO coherence
30 </p><pre class="screen">
31 ping_pong -rw test.dat N
32 </pre></div><div class="refsect1"><a name="idp53939216"></a><h2>SEE ALSO</h2><p>
33 <span class="citerefentry"><span class="refentrytitle">ctdb</span>(7)</span>,
34
35 <a class="ulink" href="https://wiki.samba.org/index.php/Ping_pong" target="_top">https://wiki.samba.org/index.php/Ping_pong</a>
36
37 </p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.