Skip to content

Commit 137fbe4

Browse files
Arushi-07copybara-github
authored andcommitted
Add prefilling flags to diskspd metadata
PiperOrigin-RevId: 837253478
1 parent 674c54d commit 137fbe4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

perfkitbenchmarker/configs/default_benchmark_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ diskspd_read_only:
504504
after_prepare_sleep_time: 300 # Wait after the prepare phase for prefill to complete.
505505
diskspd_file_size: 1000G
506506
diskspd_prefill_block_size: 512K
507+
diskspd_fill_mode: with_fill
507508

508509
diskspd_write_only:
509510
name: diskspd
@@ -522,6 +523,7 @@ diskspd_single_thread_latency:
522523
diskspd_block_size: 8k
523524
diskspd_access_pattern: r
524525
diskspd_prefill_block_size: 512K
526+
diskspd_fill_mode: with_fill
525527

526528
diskspd_max_iops:
527529
name: diskspd

perfkitbenchmarker/windows_packages/diskspd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def RunDiskSpd(running_vm):
358358
metadata['diskspd_block_size'] = FLAGS.diskspd_block_size
359359
metadata['diskspd_prefill_duration'] = DISKSPD_PREFILL_DURATION.value
360360
metadata['diskspd_prefill_block_size'] = DISKSPD_PREFILL_BLOCK_SIZE.value
361+
metadata['diskspd_fill_mode'] = DISKSPD_FILL_MODE.value
362+
metadata['diskspd_file_size'] = DISKSPD_FILE_SIZE.value
361363

362364
sample_list = []
363365
# We can use io array or thread array for calculate max IOPs

0 commit comments

Comments
 (0)