github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/python/pyaisloader/Makefile (about)

     1  install:
     2  	pip install -e .
     3  
     4  short_put: ## Run a short PUT benchmark
     5  	pyaisloader PUT --bucket ais://abc --duration 30s --workers 16 --totalsize 1GB --minsize 5KB --maxsize 10KB --cleanup
     6  
     7  short_get: ## Run a short GET benchmark
     8  	pyaisloader GET --bucket ais://abc --duration 30s --workers 16 --totalsize 1GB --minsize 5KB --maxsize 10KB --cleanup
     9  
    10  short_mixed: ## Run a short MIXED benchmark
    11  	pyaisloader MIXED --bucket ais://abc --duration 30s --workers 16 --minsize 5KB --maxsize 10KB --putpct 50 --cleanup
    12  
    13  short_list: ## Run a short LIST benchmark
    14  	pyaisloader LIST --bucket ais://abc --cleanup true --objects 50000 --workers 16
    15  
    16  long_put: ## Run a long (and more intensive) PUT benchmark
    17  	pyaisloader PUT --bucket ais://abc --duration 30m --workers 32 --totalsize 10GB --minsize 50MB --maxsize 100MB --cleanup
    18  
    19  long_get: ## Run a long (and more intensive) GET benchmark
    20  	pyaisloader GET --bucket ais://abc --duration 30m --workers 32 --totalsize 10GB --minsize 5KB --maxsize 10KB --cleanup
    21  
    22  long_mixed: ## Run a long (and more intensive) MIXED benchmark
    23  	pyaisloader MIXED --bucket ais://abc --duration 30m --workers 32 --totalsize 10GB --minsize 5KB --maxsize 10KB --putpct 50 --cleanup
    24  
    25  long_list: ## Run a long (and more intensive) LIST benchmark
    26  	pyaisloader LIST --bucket ais://abc --objects 500000 --workers 32 --cleanup
    27  
    28  help:
    29  	@echo -e "\n\e[1mUsage:\e[0m make <target>\n"
    30  	@echo -e "\e[1mTargets:\e[0m"
    31  	@egrep '^(.+)\:\ ##\ .+' ${MAKEFILE_LIST} | column -t -c 2 -s ':#' | awk 'BEGIN {FS = ":"} {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
    32  	@echo -e "\n"