From 3f1e5b38d8e4636398bd34349283b22e21380b00 Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 22 Dec 2023 18:11:37 +0000 Subject: [PATCH] DNM demo --- demo_sharding.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/demo_sharding.sh b/demo_sharding.sh index bf33c712f8..c170eb1c7f 100644 --- a/demo_sharding.sh +++ b/demo_sharding.sh @@ -31,3 +31,31 @@ pgbench postgres -i -h 127.0.0.1 -p 55432 -U cloud_admin -s $SCALE cargo neon $ARGS tenant status # pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 600 -P 1 -c 32 +# +# tmux +#Ctrl+b+% horizontal split +#Ctrl+b-o toggle panes + +#alias neon="cargo neon --release -q" + +# Pt1: baseline: one pageserver + +#INITIAL_SHARDS=1 bash demo_sharding.sh +#neon tenant status + +#taskset -c 12-15 pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 30 -P 1 -c 64 +#taskset -c 12-15 pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 30 -P 1 -c 64 -S + +# Pt2: four shards + +#INITIAL_SHARDS=4 bash demo_sharding.sh +#neon tenant status + +#taskset -c 12-15 pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 30 -P 1 -c 64 +#taskset -c 12-15 pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 30 -P 1 -c 64 -S + +# Pt3: 8 shards + +#bash demo_split_8.sh +#taskset -c 12-15 pgbench postgres -h 127.0.0.1 -p 55432 -U cloud_admin -T 30 -P 1 -c 64 -S +