-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Memcached Benchmark
slivne edited this page Feb 19, 2015
·
12 revisions
The following describe the details of the Memcached benchmark making it reproducible. Let us know if you find anything is missing.
- Server 1: Memcache server
- Server 2: Memcache Client - memqslap
- Fetch dpdk from upstream (support for i40e is not sufficient in 1.8.0)
- update config/common_linuxapp
- update CONFIG_RTE_MBUF_REFCNT to 'n'
- update CONFIG_RTE_MAX_MEMSEG=4096
- follow instructions from Seastar readme on DPDK installation for 1.8.0
- hugepages define 2048,2048 pages
- compile seastar
- sudo build/release/apps/memcached/memcached --network-stack native --dpdk-pmd --dhcp 0 --host-ipv4-addr $seastar_ip --netmask-ipv4-addr 255.255.255.0 --collectd 0 --smp $cpu
Disable irqbalance
- Fix the irq smp_affinity of the 40Gb card to invoke each interrupt on a single cpu
for $cpu < 6
for ((i = 0; i < 12; ++i)); do taskset -c $i memaslap -s $seastar_ip:11211 -t 60s -T 1 -c 60 -X 64 & done
for $cpu >= 6
for ((i = 0; i < 52; ++i)); do taskset -c $i memaslap -s $seastar_ip:11211 -t 60s -T 1 -c 60 -X 64 & done
- verify there are no misses in each test - restart memcached for each test
Same as HTTPD Test