other versions
- wheezy 1.12+git20120201-5
- wheezy-backports 2.5.4+debian0-4~bpo70+1
- jessie 2:4.2.14+dfsg-0+deb8u5
- testing 2:4.5.8+dfsg-2
- unstable 2:4.5.8+dfsg-2
- experimental 2:4.6.5+dfsg-1
PING_PONG(1) | CTDB - clustered TDB database | PING_PONG(1) |
NAME¶
ping_pong - measures the ping-pong byte range lock latencySYNOPSIS¶
ping_pong
{-r | -w | -rw} [-m] [-c] { FILENAME} {NUM-LOCKS}
DESCRIPTION¶
ping_pong measures the 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 manager's performance under stress. FILENAME is a file on shared storage to use for byte range locking tests. NUM-LOCKS is the number of byte range locks, so needs to be (strictly) greater than the number of nodes in the cluster.OPTIONS¶
-rtest read performance
-w
test write performance
-m
use mmap
-c
validate the locks
EXAMPLES¶
Testing lock coherenceping_pong test.dat N
ping_pong -c test.dat N
ping_pong -rw test.dat N
SEE ALSO¶
ctdb(7), https://wiki.samba.org/index.php/Ping_pongAUTHOR¶
This documentation was written by Mathieu ParentCOPYRIGHT¶
Copyright © 2002 Andrew Tridgell09/26/2014 | ctdb |