-
Notifications
You must be signed in to change notification settings - Fork 4
add filecache benchmarking to NPI Automation Suite #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PranjalC100
wants to merge
8
commits into
main
Choose a base branch
from
benchmark-file-cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
aeddfd1
add filecache benchmarking matrix, fio, docker, makefile
PranjalC100 53a237f
resolving git comments
PranjalC100 da0848f
rebase changes
PranjalC100 94cbf20
dry run correction
PranjalC100 3f55c48
rmove redundant filecache tests
PranjalC100 9b91e95
debug error cause
PranjalC100 58db9ca
removing nohup
PranjalC100 5e73d79
bootdisk update logic
PranjalC100 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ARG UBUNTU_VERSION=24.04 | ||
| ARG GO_VERSION=1.24.5 | ||
| ARG GCSFUSE_VERSION=master | ||
| ARG REGISTRY=us-docker.pkg.dev | ||
| ARG PROJECT=gcs-fuse-test | ||
|
|
||
| FROM ${REGISTRY}/${PROJECT}/gcsfuse-benchmarks/gcsfuse-${GCSFUSE_VERSION}-perf-base:latest | ||
| COPY run_fio_benchmark.py /run_fio_benchmark.py | ||
| COPY fio_benchmark_runner.py /fio_benchmark_runner.py | ||
| COPY run_fio_matrix.py /run_fio_matrix.py | ||
| COPY filecache_matrix.csv /filecache_matrix.csv | ||
| COPY filecache.fio /filecache.fio | ||
| ENTRYPOINT ["/run_fio_matrix.py", "--matrix-config", "/filecache_matrix.csv", "--fio-template", "/filecache.fio"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| [global] | ||
| allrandrepeat=0 | ||
| create_serialize=0 | ||
| direct=1 # o-direct, no kernel call, directly to us | ||
| fadvise_hint=0 | ||
| file_service_type=random | ||
| group_reporting=1 # combine all threads result into 1 | ||
| iodepth=64 | ||
| # ioengine=libaio is for high-performance asynchronous I/O, best for max throughput tests. | ||
| # It may produce 'disk util stat' errors in some container environments. | ||
| # ioengine=psync is for standard synchronous I/O, which is more stable and mimics typical application behavior. | ||
| ioengine=libaio | ||
| invalidate=1 | ||
| numjobs=${NUM_JOBS} | ||
| openfiles=1 | ||
| rw=${READ_TYPE} | ||
| thread=1 | ||
| filename_format=file-cache-read/fs_${FILE_SIZE}/bs_${BLOCK_SIZE}/nf_${NR_FILES}/nj_${NUM_JOBS}/experiment.$jobnum.$filenum | ||
|
|
||
| [read] | ||
| stonewall | ||
| directory=${DIR} | ||
| # Update the block size value from the table for different experiments. | ||
| bs=${BLOCK_SIZE} | ||
| # Update the file size value from table(file size) for different experiments. | ||
| filesize=${FILE_SIZE} | ||
| # Set nrfiles per thread in such a way that the test runs for 1-2 min. | ||
| nrfiles=${NR_FILES} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| READ_TYPE,FILE_SIZE,BLOCK_SIZE,NR_FILES,NUM_JOBS | ||
| read,10M,1M,50,50 | ||
| read,50M,1M,20,50 | ||
| read,100M,1M,10,50 | ||
| read,200M,1M,5,50 | ||
| read,1G,1M,2,50 | ||
| read,10G,1M,1,50 | ||
| read,10M,128K,50,50 | ||
| read,50M,128K,20,50 | ||
| read,100M,128K,10,50 | ||
| read,200M,128K,5,50 | ||
| read,1G,128K,2,50 | ||
| read,10G,128K,1,50 | ||
| read,10M,1M,50,96 | ||
| read,50M,1M,20,96 | ||
| read,100M,1M,10,96 | ||
| read,200M,1M,5,96 | ||
| read,1G,1M,2,96 | ||
| read,10G,1M,1,96 | ||
| read,10M,128K,50,96 | ||
| read,50M,128K,20,96 | ||
| read,100M,128K,10,96 | ||
| read,200M,128K,5,96 | ||
| read,1G,128K,2,96 | ||
| read,10G,128K,1,96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.