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

     1  #!/bin/bash
     2  
     3  # Run these if desired on initial setup
     4  # sh install_docker.sh
     5  # sh start_grafana.sh
     6  # sh start_netdata.sh
     7  
     8  REPLICA_OBJECT_LIST="/Users/aawilson/ais-throughput-test-replica-objects.txt"
     9  EC_OBJECT_LIST="/Users/aawilson/ais-ec-10MB.txt"
    10  
    11  
    12  ./clear_pagecache.sh
    13  # Direct benchmark from PBSS 1MB bucket
    14  AISLOADER_DURATION="1h" AISLOADER_BUCKET="s3://ais-throughput-test-replica" AISLOADER_OBJECTS=$REPLICA_OBJECT_LIST ./direct_get_bench.sh
    15  sleep 30
    16  
    17  ./clear_pagecache.sh
    18  
    19  # Cached benchmark through AIS 1MB bucket
    20  AISLOADER_EPOCHS=1 AISLOADER_BUCKET="s3://ais-throughput-test-replica" AISLOADER_OBJECTS=$REPLICA_OBJECT_LIST ./run_get_bench.sh
    21  sleep 30
    22  
    23  ./clear_pagecache.sh
    24  
    25  # Direct benchmark from pbss 10MB bucket
    26  AISLOADER_DURATION="1h" AISLOADER_BUCKET="s3://ais-ec-10MB" AISLOADER_OBJECTS=$EC_OBJECT_LIST ./direct_get_bench.sh
    27  sleep 30
    28  
    29  ./clear_pagecache.sh
    30  
    31  # Cached benchmark through AIS 10MB bucket
    32  AISLOADER_EPOCHS=1 AISLOADER_BUCKET="s3://ais-ec-10MB" AISLOADER_OBJECTS=$EC_OBJECT_LIST ./run_get_bench.sh
    33  sleep 30
    34  ./clear_pagecache.sh