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.
Summary
This PR introduces the initial implementation of the SCP benchmark for Linux as described in issue #5234.
The SCP benchmark measures the time taken to SCP a file between two VMs. The current version focuses on the Linux implementation and is functional, while the Windows implementation will follow in a future PR or updated later in this PR.
Detalis:
scp_benchmark.py
in thelinux_benchmarks
directory.BENCHMARK_NAME
andBENCHMARK_CONFIG
constants so that the benchmark can be discovered and run by PKB.GetConfig
,Prepare
,Run
, andCleanup
functions.Testing:
The benchmark was tested on Linux VMs. Example commands and results:
./pkb.py --benchmarks=scp --machine_type=e2-micro --data_disk_type=pd-ssd --data_disk_size=5
./pkb.py --benchmarks=scp --machine_type=e2-micro --data_disk_type=pd-ssd --data_disk_size=20 --scp_file_size_gb=8
Pending Items:
Seeking feedback! & Thanks again for your helpful guidance on the GHC open source day!