Skip to content
Snippets Groups Projects
Commit d4905ec6 authored by Peter Cai's avatar Peter Cai
Browse files

experiments: memcached: Fix off-by-one

parent 9badcf74
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ cleanup_memcached() {
start_memcached() {
echo "Starting memcached"
taskset -c 0-$THREADS $MEMCACHED -u root -t $THREADS -b 16384 -c 32768 -m 10240 -o hashpower=24,no_lru_maintainer,no_lru_crawler $@ 2>&1 > /dev/null &
taskset -c 0-$((THREADS - 1)) $MEMCACHED -u root -t $THREADS -b 16384 -c 32768 -m 10240 -o hashpower=24,no_lru_maintainer,no_lru_crawler $@ 2>&1 > /dev/null &
MEMCACHED_PID=$!
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment