Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .gitlab/test_nixlbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ run_nixlbench() {
./bin/nixlbench --etcd-endpoints ${NIXL_ETCD_ENDPOINTS} --initiator_seg_type DRAM --target_seg_type DRAM --filepath /tmp --total_buffer_size 80000000 --start_block_size 4096 --max_block_size 16384 --start_batch_size 1 --max_batch_size 4 $args
}

run_nixlbench_one_worker() {
benchmark_group=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
args="$@"
run_nixlbench --benchmark_group $benchmark_group $args
}

run_nixlbench_two_workers() {
benchmark_group=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
Expand All @@ -81,9 +76,18 @@ run_nixlbench_two_workers() {
wait $pid
}

run_nixlbench_two_workers --backend UCX --op_type READ
run_nixlbench_two_workers --backend UCX --op_type WRITE
run_nixlbench_one_worker --backend POSIX --op_type READ
run_nixlbench_one_worker --backend POSIX --op_type WRITE
run_nixlbench_two_workers_with_ucx_tls() {
ucx_tls_value="$1"
shift
args="$@"
echo "==== Running nixlbench with UCX_TLS=$ucx_tls_value ===="
export UCX_TLS="$ucx_tls_value"
echo "UCX_TLS is now set to: $UCX_TLS"
run_nixlbench_two_workers $args
unset UCX_TLS
}

run_nixlbench_two_workers_with_ucx_tls "tcp" --backend UCX --op_type READ
run_nixlbench_two_workers_with_ucx_tls "rc_x,rc" --backend UCX --op_type READ

pkill etcd