Skip to content

Commit cb4eb44

Browse files
committed
Add PCIe transfer benchmark (H2D/D2H) with Smart Chunking
1 parent a497d26 commit cb4eb44

5 files changed

Lines changed: 349 additions & 45 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
benchmarks:
2+
- benchmark_name: host_device_smart_chunking
3+
num_runs: 20
4+
benchmark_sweep_params:
5+
# Single Chip (1 Chip, 2 Devices)
6+
- {
7+
num_devices: 2,
8+
data_size_mb_list: [1, 16, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768]
9+
}
10+
csv_path: "../microbenchmarks/host_device/single_chip_smart"
11+
trace_dir: "../microbenchmarks/host_device/single_chip_smart/trace"

Ironwood/guides/host_device/host_device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This guide provides instructions for running Host Device (Host-to-Device and Device-to-Host) microbenchmarks on tpu7x-2x2x1 Google Kubernetes Engine (GKE) clusters. It covers creating a node pool, running the benchmarks, and viewing the output.
44

5-
> [!WARNING]
5+
> [!NOTE]
66
> This benchmark is currently a Work In Progress (WIP). Expected bandwidth numbers are not yet finalized.
77
88
## Create Node Pools

Ironwood/scripts/run_host_device_benchmark.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@ while [[ "$#" -gt 0 ]]; do
2727
done
2828

2929
echo "--- Starting Host-Device Transfer Benchmark (H2D/D2H) ---"
30-
echo "********************************************************"
31-
echo "WARNING: This benchmark is currently a WORK IN PROGRESS"
32-
echo "********************************************************"
33-
echo ""
34-
echo "Configuration:"
35-
echo " Interleaved: $INTERLEAVED"
36-
echo ""
30+
echo "Note: This benchmark is work in progress"
31+
echo "Interleaved: $INTERLEAVED"
3732

3833
if [ -n "$SPECIFIC_CONFIG" ]; then
3934
CONFIGS=("$SPECIFIC_CONFIG")

0 commit comments

Comments
 (0)