github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/bench/tools/aisloader-composer/run_all.sh (about)

     1  #!/bin/bash
     2  
     3  # Run these if desired on initial setup
     4  # ./install_docker.sh
     5  # ./start_grafana.sh
     6  # ./start_netdata.sh
     7  
     8  AIS_ENDPOINT=http://10.150.56.227:51080
     9  NUM_DRIVES=30
    10  
    11  ./reset_buckets.sh $AIS_ENDPOINT bench_1MB
    12  AISLOADER_PUT_SIZE="1MB" AISLOADER_TOTAL_SIZE="10G" BUCKET="bench_1MB" ./run_put_bench.sh
    13  sleep 300
    14  clear_pagecache.sh
    15  AISLOADER_DURATION="1m" BUCKET="bench_1MB" ./run_get_bench.sh
    16  sleep 300
    17  ./clear_pagecache.sh
    18  
    19  ./reset_buckets.sh $AIS_ENDPOINT bench_10MB
    20  AISLOADER_PUT_SIZE="10MB" AISLOADER_TOTAL_SIZE="10G" BUCKET="bench_10MB" ./run_put_bench.sh
    21  sleep 300
    22  ./clear_pagecache.sh
    23  AISLOADER_DURATION="1m" BUCKET="bench_10MB" ./run_get_bench.sh
    24  sleep 300
    25  ./clear_pagecache.sh
    26  
    27  ./reset_buckets.sh $AIS_ENDPOINT bench_100MB
    28  AISLOADER_PUT_SIZE="100MB" AISLOADER_TOTAL_SIZE="10G" BUCKET="bench_100MB" ./run_put_bench.sh
    29  sleep 300
    30  ./clear_pagecache.sh
    31  AISLOADER_DURATION="1m" BUCKET="bench_100MB" ./run_get_bench.sh
    32  
    33  ./get_cluster_info.sh $AIS_ENDPOINT
    34  pip3 install -r requirements.txt 
    35  python3 parse_results.py --host_file=inventory.yaml --aisloader_hosts=dgxnodes --total_drives=$NUM_DRIVES