run.sh

application/octet-stream

Filename: run.sh
Type: application/octet-stream
Part: 1
Message: RE: [Patch] Optimize dropping of relation buffers using dlist
psql test -c 'vacuum analyze';
psql test -c 'checkpoint';

echo 'warmup'
pgbench -n -S -j 4 -c 16 -S -M prepared -T 600 test 2>&1 | grep excluding | awk '{print $3}'

echo '1 client'
for i in `seq 1 15`; do

	pgbench -n -S -j 1 -c 1 -M prepared -T 60 test 2>&1 | grep excluding | awk '{print $3}';

done;

echo '8 clients'
for i in `seq 1 15`; do

        pgbench -n -S -j 4 -c 8 -M prepared -T 60 test 2>&1 | grep excluding | awk '{print $3}';

done;

echo '16 clients'
for i in `seq 1 15`; do

        pgbench -n -S -j 4 -c 16 -M prepared -T 60 test 2>&1 | grep excluding | awk '{print $3}';

done;