Spdk/test/bdev/bdev.conf.in
Seth Howell 7c28b8cd94 test/bdev: decrease malloc bdev size in bdev.conf.in
When trying to run the blockdev.sh test against a crypto bdev using qat,
I consistently got allocation failures on the malloc disks. I believe
that this is because the qat pmds require some amount of dma safe
memory. While the requirement is not huge, it is enough to fragment the
hugepages and make it impossible for us to allocate 7 contiguous 64MiB
buffers. The tests passed when this number was reduced to 32 MiB.

Change-Id: I66716a918123bc69e8b5d19412ac1f9c0b3dd462
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/429534
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-10-19 14:27:47 +00:00

51 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
CRY Malloc6 crypto_ram 0123456789123456 crypto_aesni_mb
[Malloc]
NumberOfLuns 7
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 /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