From: Kevin Dalley Date: Thu, 29 May 2014 23:03:50 +0000 (-0700) Subject: doc: Improve man page for rados bench X-Git-Tag: v0.82~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1885%2Fhead;p=ceph.git doc: Improve man page for rados bench Add information about seq and rand for bench. Also mention --no-cleanup option. Signed-off-by: Kevin Dalley --- diff --git a/man/rados.8 b/man/rados.8 index 0b9881f3bfc6..eea43572f8d2 100644 --- a/man/rados.8 +++ b/man/rados.8 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "RADOS" "8" "January 12, 2014" "dev" "Ceph" +.TH "RADOS" "8" "May 29, 2014" "dev" "Ceph" .SH NAME rados \- rados object storage utility . @@ -148,9 +148,16 @@ Create pool snapshot named \fIfoo\fP\&. Remove pool snapshot named \fIfoo\fP\&. .TP .B \fBbench\fP \fIseconds\fP \fImode\fP [ \-b \fIobjsize\fP ] [ \-t \fIthreads\fP ] -Benchmark for seconds. The mode can be write or read. The default +Benchmark for \fIseconds\fP\&. The mode can be \fIwrite\fP, \fIseq\fP, or +\fIrand\fP\&. \fIseq\fP and \fIrand\fP are read benchmarks, either +sequential or random. Before running one of the reading benchmarks, +run a write benchmark with the \fI\-\-no\-cleanup\fP option. The default object size is 4 MB, and the default number of simulated threads (parallel writes) is 16. +.UNINDENT +.sp +\fBcleanup\fP +.INDENT 0.0 .TP .B \fBlistomapkeys\fP \fIname\fP List all the keys stored in the object map of object name.