Skip to content

Instantly share code, notes, and snippets.

@Happytreat
Last active February 13, 2021 15:21
Show Gist options
  • Save Happytreat/ec8870159f0f4053f70e49593bf602b3 to your computer and use it in GitHub Desktop.
Save Happytreat/ec8870159f0f4053f70e49593bf602b3 to your computer and use it in GitHub Desktop.
Installing memaslap on Ubuntu 16.04
# Install libevent needed for memaslap
sudo apt-get install libevent-dev
cd libmemcached-1.0.18
# Edit Makefile by adding LDFLAGS "-L/lib64 -lpthread"
# https://bugs.launchpad.net/libmemcached/+bug/1562677
### diff of Makefile
# -LDFLAGS =
# +LDFLAGS = -L/lib64 -lpthread
###
vim Makefile
# After running ./configure step make sure configure log says:
# checking test for a working libevent... yes
./configure --enable-memaslap
sudo make install
# Run memaslap
./clients/memaslap -s 127.0.0.1:11211 -t 20s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment