Skip to content

rfan1/bcache_function_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bcache_function_tests

Basic function tests for bcache

  1. Install the required packages for bcache tests: (for different OS release, you may need add required package repository) bcache-tools - Basic CLI for bcache fio - Load i/o stress tool python3 - "bcache-status" command needs python environment axel - Downloads a file from a FTP or HTTP server through multiple connection

You can also use the below command to install them

./bcache_main.bash -i

  1. For more detail usage, please use the below manual page:

./bcache_main.bash -h

Usage: bcache_main.bash [OPTION]... -i Install the required packages: bcache-tools, python, fio etc -c Create/setup bcache environment -d Delete bcache devices and clean test environment -w Change writeback percent: 0-100 -p Replacement Policy "lru fifo random" -l Load fio stress, default fio config file "bcache.fio" -f fio configuration file, combind with "-l" option -g trigger gc -v flash volume -r Run the multi-threading i/o test -h Show this help

  1. Adjustable parameters (examples as below, you should modify them based on your tests) att_det_loop" in "loop_detach_attach.bash"**

    • The loop number of bcache devices detach/attach

    Others are in "bcache_main.bash"

About

Basic function tests for bcache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages