Skip to content

Commit

Permalink
run the binary mount-s3 for benchamrks (#739)
Browse files Browse the repository at this point in the history
Signed-off-by: Ankit Saurabh <[email protected]>
  • Loading branch information
Ankit Saurabh authored Feb 7, 2024
1 parent 6cd7d32 commit d959640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mountpoint-s3/scripts/fs_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ read_benchmark () {

# mount file system
set +e
cargo run --quiet --release -- \
cargo run --bin mount-s3 --quiet --release -- \
${S3_BUCKET_NAME} ${mount_dir} \
--debug \
--allow-delete \
Expand Down Expand Up @@ -139,7 +139,7 @@ write_benchmark () {
# mount file system
mount_dir=$(mktemp -d /tmp/fio-XXXXXXXXXXXX)
set +e
cargo run --quiet --release -- \
cargo run --bin mount-s3 --quiet --release -- \
${S3_BUCKET_NAME} ${mount_dir} \
--debug \
--allow-delete \
Expand Down
4 changes: 2 additions & 2 deletions mountpoint-s3/scripts/fs_latency_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ do
echo "Running ${job_name}"

# mount file system
cargo run --release ${S3_BUCKET_NAME} ${mount_dir} \
cargo run --bin mount-s3 --release ${S3_BUCKET_NAME} ${mount_dir} \
--debug \
--allow-delete \
--log-directory=$log_dir \
Expand Down Expand Up @@ -123,7 +123,7 @@ for job_file in "${jobs_dir}"/*.fio; do
echo "Running ${job_name}"

# mount file system
cargo run --release ${S3_BUCKET_NAME} ${mount_dir} \
cargo run --bin mount-s3 --release ${S3_BUCKET_NAME} ${mount_dir} \
--debug \
--allow-delete \
--log-directory=$log_dir \
Expand Down

0 comments on commit d959640

Please sign in to comment.