Spdk/test/bdev/bdev.conf.in
GangCao 7d030ef7fc QoS/Bdev: add the QoS related structure and enumeration
This patch is to introduce the specific QoS related structure
and the enumeration for types of QoS rate limits. Later new
types of QoS rate limits can be supported easily.

Change-Id: Idb8d2e7627fd145bf2b0ddb296c968b6b068f48c
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/424459
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-10-02 22:10:13 +00:00

52 lines
1.1 KiB
Plaintext

[Passthru]
# PT <bdev name> <vbdev name>
PT Malloc3 TestPT
[crypto]
# CRY <bdev name> <vbdev name> <key> <PMD>
# key size depends on cipher
# supported PMD names: crypto_aesni_mb, crypto_qat
# Note: QAT is experimental while test HW is being setup
CRY Malloc6 crypto_ram 0123456789123456 crypto_aesni_mb
[Malloc]
NumberOfLuns 7
LunSizeInMB 64
[Split]
# Split Malloc1 into two auto-sized halves
Split Malloc1 2
# Split Malloc2 into eight 4-megabyte pieces,
# leaving the rest of the device inaccessible
Split Malloc2 8 4
[AIO]
AIO /dev/ram0 AIO0
AIO /tmp/aiofile AIO1 2048
[QoS]
# QoS section defines limitation on performance
# metric like IOPS and bandwidth
#
# Format: Limit_IOPS Bdev_Name IOPS_Limit_Value
#
# IOPS limit must be 10000 or greater and be multiple
# of 10000
#
# Assign 20000 IOPS for the Malloc0 block device
Limit_IOPS Malloc0 20000
#
# Bandwidth limit must be 10 (MB) or greater and be
# multiple of 10
# Assign 100 (MB) bandwidth for the Malloc3 block
# device
Limit_BPS Malloc3 100
[RAID0]
Name raid0
StripSize 64
NumDevices 2
RaidLevel 0
Devices Malloc4 Malloc5