DESCRIPTION

mcsoda - streaming, sugary performance test

This is the script formerly called ram.py.

usage: ./pytests/performance/mcsoda xxx@xxx.xxx [key=val]*

  default protocol = memcached-binary://
  default port     = 11211

examples: ./pytests/performance/mcsoda memcached-binary://127.0.0.1:11211 max-items=1000000 json=1
          ./pytests/performance/mcsoda memcached://127.0.0.1:11211
          ./pytests/performance/mcsoda 127.0.0.1:11211
          ./pytests/performance/mcsoda 127.0.0.1
          ./pytests/performance/mcsoda xxx@xxx.xxx
          ./pytests/performance/mcsoda xxx@xxx.xxx

optional key=val's and their defaults:
    batch                = 100  Batch / pipeline up this number of commands.
    exit-after-creates   = 0    Exit after max-creates is reached.
    json                 = 1    Use JSON documents. 0 to generate binary documents.
    max-creates          = -1   Max number of creates; defaults to max-items.
    max-items            = -1   Max number of items; default 100000.
    max-ops              = 0    Max number of ops before exiting. 0 means keep going.
    min-value-size       = 10   Minimal value size in bytes during SET's.
    prefix               =      Prefix for every item key.
    ratio-creates        = 0.1  Fraction of SET's that should create new items.
    ratio-hot            = 0.2  Fraction of items to have as a hot item subset.
    ratio-hot-gets       = 0.95 Fraction of GET's that hit the hot item subset.
    ratio-hot-sets       = 0.95 Fraction of SET's that hit the hot item subset.
    ratio-misses         = 0.05 Fraction of GET's that should miss.
    ratio-sets           = 0.1  Fraction of requests that should be SET's.
    threads              = 1    Number of client worker threads to use.
    cur-creates          = 0    Number of sets that were creates.
    cur-gets             = 0    Number of gets already done.
    cur-items            = 0    Number of items known to already exist.
    cur-sets             = 0    Number of sets already done.

Change-Id: I1f209eb1116dba5759215b588b71c2d1caee4475


COMMENTS

author: Zackery Barr
date: 2011-10-10 18:39:39.834000000

Uploaded patch set 3.

-------------------------------------
author: Zackery Barr
date: 2011-10-10 18:40:20.669000000

Patch Set 3:

converted the print statements to log statements.

-------------------------------------
author: Nora Conway
date: 2011-10-10 18:52:54.368000000

Patch Set 3: Looks good to me, approved



-------------------------------------
author: Nora Conway
date: 2011-10-10 19:01:09.649000000

Patch Set 3: No score



-------------------------------------
