deacebd5d5
AIO bdev works on any file available from kernel. blockdev.sh is the only palce that uses the ramdisk in the current autotest.sh. After removing the /dev/ram0, aio bdev still gets tested with regular file. Note: the QoS functionality done on AIO0 still gets tested in usual qos.sh tests. Change-Id: I8d219206d49626582d5848239fb0c36b25ef92a1 Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461594 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
44 lines
889 B
Plaintext
44 lines
889 B
Plaintext
[Passthru]
|
|
# PT <bdev name> <vbdev name>
|
|
PT Malloc3 TestPT
|
|
|
|
[Malloc]
|
|
NumberOfLuns 8
|
|
LunSizeInMB 32
|
|
|
|
[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 /tmp/aiofile AIO0 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
|