mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-22 15:44:13 +00:00
072cb2e8d9
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
22 lines
478 B
Bash
Executable File
22 lines
478 B
Bash
Executable File
#!/bin/bash
|
|
|
|
while true; do
|
|
./dragonfly --vmodule=accept_server=1,listener_interface=1 --logbuflevel=-1 &
|
|
DRAGON_PID=$!
|
|
echo "dragonfly pid $DRAGON_PID"
|
|
|
|
sleep 0.5
|
|
|
|
memtier_benchmark -p 6379 --ratio 1:0 -n 100000 --threads=2 --expiry-range=15-25 --distinct-client-seed \
|
|
--hide-histogram 2> /dev/null > /dev/null &
|
|
MEMT_ID=$!
|
|
|
|
echo "memtier pid $MEMT_ID"
|
|
echo "Running.............."
|
|
sleep 5
|
|
echo "killing dragonfly"
|
|
|
|
kill $DRAGON_PID
|
|
wait $DRAGON_PID
|
|
|
|
done |