Skip to content

Commit

Permalink
io-tester.md: update available parameters for job description
Browse files Browse the repository at this point in the history
This change updates the description of job
parameters. It adds the information about
'extent_allocation_size_hint' parameter and
its usage.

Signed-off-by: Patryk Wrobel <[email protected]>
  • Loading branch information
pwrobelse committed Jun 3, 2024
1 parent 0af1324 commit 1bbebe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/io-tester.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ For example:
* `type`: mandatory property, one of seqread, seqwrite, randread, randwrite, append, cpu, unlink
* `shards`: mandatory property, either the string "all" or a list of shards where this class should place jobs.
* `data_size`: optional property, used to divide the available disk space between workloads. Each shard inside the workload uses its portion of the assigned space. If not specified 1GB is used.
* `extent_allocation_size_hint`: optional property, allows setting the hint for allocation of extents for files. If not specified, then the size of file is used as hint.
* `files_count`: optional property, relevant only for unlink job class - in such case it is required. Describes the number of files that need to be created during startup to be unlinked during evaluation. Describes files count per shard.

> **_NOTE:_** the actual file size is always aligned to 1MB.
> **_NOTE:_** if not properly aligned, then the extent allocation size hint is aligned to 128kB by seastar.
The properties under `shard_info` represent properties of the job that will
be replicated to each shard. All properties under `shard_info` are optional, and in case not specified, defaults are used.
Expand Down

0 comments on commit 1bbebe0

Please sign in to comment.