'\" t .\" Title: ping_pong .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/26/2011 .\" Manual: .\" Source: .\" Language: English .\" .TH "PING_PONG" "1" "03/26/2011" "" "" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ping_pong \- measures the ping\-pong byte range lock latency .SH "SYNOPSIS" .HP \w'\fBping_pong\ [options]\ \ \fR\ 'u \fBping_pong [options] \fR .HP \w'\fBping_pong\fR\ 'u \fBping_pong\fR [\-r] [\-w] [\-m] .SH "DESCRIPTION" .PP 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\&. .SH "OPTIONS" .PP \-r .RS 4 do reads .RE .PP \-w .RS 4 do writes .RE .PP \-m .RS 4 use mmap .RE .SH "EXAMPLES" .PP Testing lock coherence .sp .if n \{\ .RS 4 .\} .nf ping_pong test\&.dat N .fi .if n \{\ .RE .\} .PP Testing IO coherence .sp .if n \{\ .RS 4 .\} .nf ping_pong \-rw test\&.dat N .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%https://wiki.samba.org/index.php/Ping_pong\fR\m[], ctdb(1), ctdbd(1) .SH "COPYRIGHT/LICENSE" .sp .if n \{\ .RS 4 .\} .nf Copyright (C) Andrew Tridgell 2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version\&. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&. You should have received a copy of the GNU General Public License along with this program; if not, see http://www\&.gnu\&.org/licenses/\&. .fi .if n \{\ .RE .\}