Hey Trond:

I was a little unclear on the -R text. Here is my attempt at rewording.

This option seeks to prevent client starvation by setting a limit to the number of sequential requests the server will process from an individual client connection. Once a connection has exceeded this value, the server will attempt to process I/O on other connections before handling any further request from this connection. The default value for this option is 20.

my $0.02 or 0.13 NOK

Eric



Trond Norbye wrote:

Issue 28: The manpage does not contain a description for all command line options...

We need a description for:
-C - Disable use of cas
-R - Number of requests processed per event

Proposed patch:
diff --git a/doc/memcached.1 b/doc/memcached.1
index 45446dc..85886da 100644
--- a/doc/memcached.1
+++ b/doc/memcached.1
@@ -43,6 +43,10 @@ Use <num> MB memory max to use for object storage; the default is 64 megabytes.
.B \-c <num>
Use <num> max simultaneous connections; the default is 1024.
.TP
+.B \-R <num>
+Maximum number of events to process for each client before serving next
+client (to avoid starvation); the default is 20.
+.TP
.B \-k
Lock down all paged memory. This is a somewhat dangerous option with large
caches, so consult the README and memcached homepage for configuration
@@ -75,6 +79,9 @@ chunk growth factor (-f option), on the other hand, you may want to increase the size to allow a bigger percentage of your items to fit in the most densely
packed (smallest) chunks.
.TP
+.B \-C
+Disable the use of CAS id (and reduce the per-item size with 8 bytes).
+.TP
.B \-h
Show the version of memcached and a summary of options.
.TP

(or: http://github.com/trondn/memcached/commit/85a66ef12de74f475c47d7b5d49e668d80727c20 )


Cheers,

Trond


Reply via email to