mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
4a43450968
Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit af75d3e37412e03d3978073edbe6dee78f265c3c)
38 lines
2.8 KiB
HTML
38 lines
2.8 KiB
HTML
<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.76.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="ping_pong"><a name="ping_pong.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ping_pong — measures the ping-pong byte range lock latency</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">ping_pong [options] <file> <num_locks></code> </p></div><div class="cmdsynopsis"><p><code class="command">ping_pong</code> [-r] [-w] [-m]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2949769"></a><h2>DESCRIPTION</h2><p>
|
||
This measures the ping-pong byte range lock latency. It is
|
||
especially useful on a cluster of nodes sharing a common lock
|
||
manager as it will give some indication of the lock managers
|
||
performance under stress.
|
||
</p></div><div class="refsect1" title="OPTIONS"><a name="id2949782"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-r</span></dt><dd><p>
|
||
do reads
|
||
</p></dd><dt><span class="term">-w</span></dt><dd><p>
|
||
do writes
|
||
</p></dd><dt><span class="term">-m</span></dt><dd><p>
|
||
use mmap
|
||
</p></dd></dl></div></div><div class="refsect1" title="EXAMPLES"><a name="id2949828"></a><h2>EXAMPLES</h2><p>
|
||
Testing lock coherence
|
||
</p><pre class="screen">
|
||
ping_pong test.dat N
|
||
</pre><p>
|
||
Testing IO coherence
|
||
</p><pre class="screen">
|
||
ping_pong -rw test.dat N
|
||
</pre></div><div class="refsect1" title="SEE ALSO"><a name="id2949852"></a><h2>SEE ALSO</h2><p>
|
||
<a class="ulink" href="https://wiki.samba.org/index.php/Ping_pong" target="_top">https://wiki.samba.org/index.php/Ping_pong</a>, ctdb(1), ctdbd(1)
|
||
</p></div><div class="refsect1" title="COPYRIGHT/LICENSE"><a name="id2949866"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
|
||
Copyright<EFBFBD>(C)<29>Andrew<65>Tridgell<6C>2002<br>
|
||
<br>
|
||
This<EFBFBD>program<EFBFBD>is<EFBFBD>free<EFBFBD>software;<3B>you<6F>can<61>redistribute<74>it<69>and/or<6F>modify<br>
|
||
it<EFBFBD>under<EFBFBD>the<EFBFBD>terms<EFBFBD>of<EFBFBD>the<EFBFBD>GNU<EFBFBD>General<EFBFBD>Public<EFBFBD>License<EFBFBD>as<EFBFBD>published<EFBFBD>by<br>
|
||
the<EFBFBD>Free<EFBFBD>Software<EFBFBD>Foundation;<3B>either<65>version<6F>3<EFBFBD>of<6F>the<68>License,<2C>or<6F>(at<br>
|
||
your<EFBFBD>option)<29>any<6E>later<65>version.<br>
|
||
<br>
|
||
This<EFBFBD>program<EFBFBD>is<EFBFBD>distributed<EFBFBD>in<EFBFBD>the<EFBFBD>hope<EFBFBD>that<EFBFBD>it<EFBFBD>will<EFBFBD>be<EFBFBD>useful,<2C>but<br>
|
||
WITHOUT<EFBFBD>ANY<EFBFBD>WARRANTY;<3B>without<75>even<65>the<68>implied<65>warranty<74>of<br>
|
||
MERCHANTABILITY<EFBFBD>or<EFBFBD>FITNESS<EFBFBD>FOR<EFBFBD>A<EFBFBD>PARTICULAR<EFBFBD>PURPOSE.<2E><>See<65>the<68>GNU<br>
|
||
General<EFBFBD>Public<EFBFBD>License<EFBFBD>for<EFBFBD>more<EFBFBD>details.<br>
|
||
<br>
|
||
You<EFBFBD>should<EFBFBD>have<EFBFBD>received<EFBFBD>a<EFBFBD>copy<EFBFBD>of<EFBFBD>the<EFBFBD>GNU<EFBFBD>General<EFBFBD>Public<EFBFBD>License<br>
|
||
along<EFBFBD>with<EFBFBD>this<EFBFBD>program;<3B>if<69>not,<2C>see<65>http://www.gnu.org/licenses/.<br>
|
||
</p></div></div></div></body></html>
|