Skip to main content

Memcached

Memcached is an open source (BSD licensed), high-performance, distributed memory object caching system. Memcached is an in-memory key-value store for small arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached works with an in-memory dataset. It is a client-server model workload in which Memcached acts as server. There are different tools that acts are clients.

One of the widely used is the memtier_benchmark produced by Redis Labs.

What is Being Measured?

The Memtier toolset is used to generate various traffic patterns against Memcached instances. It provides a robust set of customization and reporting capabilities all wrapped into a convenient and easy-to-use command-line interface. It performs GET and SET operations against a Memcached server and gives percentile latency distributions and throughput.

Workload Metrics

The following metrics are examples of those captured by the Virtual Client when running the Memtier workload against a Memcached server.

Raw Metrics - Memtier Benchmark

The following table shows the list of metrics that are captured from the execution of the Memtier workload against a Memcached server. Each Memtier client will produce the following metrics. Certain profiles for Virtual Client capture aggregate metrics as well (see below).

ScenarioNameMetric NameExample ValueUnit
memtier_16t_16c_1kb_r1:1Bandwidth99831.145833333328kilobytes/sec
memtier_16t_16c_1kb_r1:1Throughput96143.676666666681requests/sec
memtier_16t_16c_1kb_r1:1Hits/sec48070.774999999994
memtier_16t_16c_1kb_r1:1Misses/sec0
memtier_16t_16c_1kb_r1:1Latency-Avg265.929245milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50258.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1Latency-P80299.226milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90331.775milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95346.111milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99385.36433333333338milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99.9442.02566666666667milliseconds
memtier_16t_16c_1kb_r1:1GET-Bandwidth49797.129166666673kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Throughput48070.774999999994requests/sec
memtier_16t_16c_1kb_r1:1GET-Latency-Avg265.9334425milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P50258.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P90331.775milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P95354.81500000000005milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99386.047milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99.9442.87900000000008milliseconds
memtier_16t_16c_1kb_r1:1SET-Bandwidth50034.015833333331kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Throughput48072.902499999989requests/sec
memtier_16t_16c_1kb_r1:1SET-Latency-Avg265.92504749999995milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P50266.239milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P90348.159milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P95364.543milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99395.263milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99.9441.17233333333337milliseconds

Aggregated Metrics - Memtier Benchmark

The following tables shows the list of metrics that are captured from the execution of the Memtier workload against a Memcached server. The metrics are the result of aggregating the raw metrics (see above) for each individual Memtier client into a single set.

ScenarioNameMetric NameExample ValueUnit
memtier_16t_16c_1kb_r1:1Bandwidth Avg99831.145833333328kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth Min96698.49kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth Stddev1823.6575402628735kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth Max103119.55kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth P2098381.842kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth P50100443.297kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth P80101887.18kilobytes/sec
memtier_16t_16c_1kb_r1:1Bandwidth Total1197973.75kilobytes/sec
memtier_16t_16c_1kb_r1:1Throughput Avg96143.676666666681requests/sec
memtier_16t_16c_1kb_r1:1Throughput Max99310.66requests/sec
memtier_16t_16c_1kb_r1:1Throughput Min93126.7requests/sec
memtier_16t_16c_1kb_r1:1Throughput Stddev1756.3137622699699requests/sec
memtier_16t_16c_1kb_r1:1Throughput P2094854.33requests/sec
memtier_16t_16c_1kb_r1:1Throughput P5095182.65requests/sec
memtier_16t_16c_1kb_r1:1Throughput P8098123.77requests/sec
memtier_16t_16c_1kb_r1:1Throughput Total1153724.12requests/sec
memtier_16t_16c_1kb_r1:1Hits/sec Avg48070.774999999994
memtier_16t_16c_1kb_r1:1Hits/sec Max49654.27
memtier_16t_16c_1kb_r1:1Hits/sec Min46562.29
memtier_16t_16c_1kb_r1:1Hits/sec Stddev878.156472669686
memtier_16t_16c_1kb_r1:1Hits/sec Total576849.29999999993
memtier_16t_16c_1kb_r1:1Misses/sec Avg0
memtier_16t_16c_1kb_r1:1Misses/sec Min0
memtier_16t_16c_1kb_r1:1Misses/sec Max0
memtier_16t_16c_1kb_r1:1Misses/sec Stddev0
memtier_16t_16c_1kb_r1:1Misses/sec Total0
memtier_16t_16c_1kb_r1:1Latency-Avg Avg265.929245milliseconds
memtier_16t_16c_1kb_r1:1Latency-Avg Min257.37339milliseconds
memtier_16t_16c_1kb_r1:1Latency-Avg Max274.49494milliseconds
memtier_16t_16c_1kb_r1:1Latency-Avg Stddev4.8649509314371953milliseconds
memtier_16t_16c_1kb_r1:1Latency-Avg P80268.37573milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50 Avg258.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50 Min252.927milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50 Max266.239milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50 Stddev3.9095334191634046milliseconds
memtier_16t_16c_1kb_r1:1Latency-P50 P80260.095milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90 Min331.775milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90 Avg337.74833333333333milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90 P80339.967milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90 Max348.159milliseconds
memtier_16t_16c_1kb_r1:1Latency-P90 Stddev4.6894529413236388milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95 Min346.111milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95 Avg354.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95 Max364.543milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95 Stddev4.6894529413236388milliseconds
memtier_16t_16c_1kb_r1:1Latency-P95 P80356.351milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99 Avg385.36433333333338milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99 Min376.831milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99 Max397.311milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99 Stddev5.3427117542394855milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99 P80389.119milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99.9 Avg442.02566666666667milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99.9 Min411.647milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99.9 Max532.479milliseconds
memtier_16t_16c_1kb_r1:1Latency-P99.9 Stddev32.01080706400402milliseconds
memtier_16t_16c_1kb_r1:1GET-Bandwidth Avg49797.129166666673kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth Min48234.48kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth Max51437.47kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth Stddev909.68510072129129kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth P2047827.237kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth P5048389.11kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth P8050822.73kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Bandwidth Total597565.55kilobytes/sec
memtier_16t_16c_1kb_r1:1GET-Throughput Avg48070.774999999994requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput Min46562.29requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput Max49654.27requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput Stddev878.156472669686requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput P2047922.592requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput P5048103.772requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput P8049060.82requests/sec
memtier_16t_16c_1kb_r1:1GET-Throughput Total576849.29999999993requests/sec
memtier_16t_16c_1kb_r1:1GET-Latency-Avg Avg265.9334425milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-Avg Min257.37776milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-Avg Max274.49896milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-Avg Stddev4.8649389483855519milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P50 Avg258.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P50 Min252.927milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P50 Max266.239milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P50 Stddev3.9095334191634046milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P80 Avg301.428milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P80 Min260.095milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P80 Max339.967milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P80 Stddev4.3814413423246189milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P90 Avg337.74833333333333milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P90 Min331.775milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P90 Max348.159milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P90 Stddev4.6894529413236388milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P95 Avg354.81500000000005milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P95 Min346.111milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P95 Max364.543milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P95 Stddev5.0252567430265076milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99 Avg386.047milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99 Min376.831milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99 Max397.311milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99 Stddev5.3208600808515767milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99.9 Avg442.87900000000008milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99.9 Min411.647milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99.9 Max532.479milliseconds
memtier_16t_16c_1kb_r1:1GET-Latency-P99.9 Stddev31.706816932640848milliseconds
memtier_16t_16c_1kb_r1:1SET-Bandwidth Avg50034.015833333331kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth Min48464.01kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth Max51682.07kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth Stddev913.97098802841549kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth P2048003.542kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth P5049993.77kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth P8051064.45kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Bandwidth Total600408.19kilobytes/sec
memtier_16t_16c_1kb_r1:1SET-Throughput Avg48072.902499999989requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput Min46564.42requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput Max49656.39requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput Stddev878.15536932182385requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput P2046291.362requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput P5048556.10requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput P8049062.95requests/sec
memtier_16t_16c_1kb_r1:1SET-Throughput Total576874.82999999984requests/sec
memtier_16t_16c_1kb_r1:1SET-Latency-Avg Avg265.92504749999995milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-Avg Min257.36902milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-Avg Max274.49091milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-Avg Stddev4.8649615272924267milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P50 Avg258.4736666666667milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P50 Min252.927milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P50 Max266.239milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P50 Stddev3.9095334191634046milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P90 Avg337.74833333333333milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P90 Min331.775milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P90 Max348.159milli0seconds
memtier_16t_16c_1kb_r1:1SET-Latency-P90 Stddev4.6894529413236388milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P95 Avg354.30299999999994milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P95 Min346.111milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P95 Max364.543milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P95 Stddev4.8029857380591956milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99 Avg384.85233333333332milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99 Min374.783milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99 Max395.263milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99 Stddev5.1850095039021333milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99.9 Avg441.17233333333337milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99.9 Min409.599milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99.9 Max536.575milliseconds
memtier_16t_16c_1kb_r1:1SET-Latency-P99.9 Stddev33.438038432632723milliseconds