https://github.com/pgaref/memcached_bench
https://github.com/pgaref/memcached_bench
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgaref/memcached_bench
- Owner: pgaref
- License: mit
- Created: 2016-04-14T20:24:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T00:52:36.000Z (over 8 years ago)
- Last Synced: 2025-01-08T06:35:45.047Z (over 1 year ago)
- Language: C++
- Size: 3.17 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# memcached_bench
## How to use memaslap to benchmark memcached. I used:
* Memcached 1.4.14 (installed from Ubuntu packages)
* memaslap from libmemcached using QJump [patch](http://www.cl.cam.ac.uk/research/srg/netos/qjump/login2015/figure1b.html)
## In order to build libmemcached including memaslap. Inside the git repo path run:
* cd libmemcached-1.0.15/
* ./configure --enable-memaslap
* make && sudo make install
## To run memcached, use the configuration below:
* /usr/bin/memcached -m 64 -p 11211 -u memcache
## To run memaslap benchmark:
* ../clients/memaslap -s 127.0.0.1:11211 -S 1s -B -T2 -c 128 > out
## For graphs, install matplotlib
* Ubuntu: sudo apt-get install python-matplotlib
* MacOs: pip install matplotlib