numam-spdk/test/lib/bdev
Jim Harris 7e4ab4d54a test/bdev: limit memory size to 1GB
This helps prepare using the bdev test tools (bdevio and
bdevperf) with a virtio/vhost-scsi initiator.  For virtio
initiators running in the host OS, SPDK must open file
descriptors for every hugepage to pass to the vhost
target.  vhost typically limits the number of memory
regions to 8 - meaning 2MB hugepages generally will not
work, but even for 1GB hugepages we need to limit it so
that we do not default to trying to use all of the
hugepages.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: If1e6e91cea096421b8dc5e707435e287ca14bb6e

Reviewed-on: https://review.gerrithub.io/374013
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-14 13:14:47 -04:00
..
bdevio bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00
bdevperf bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
nbd nbd: allow exporting more than one NBD at once 2017-08-07 17:56:21 -04:00
bdev.conf.in bdev/aio: allow user to override block size 2017-08-11 19:36:30 -04:00
blockdev.sh bdev/fio_plugin: Add trim support 2017-08-11 19:54:32 -04:00
common.c test/bdev: limit memory size to 1GB 2017-08-14 13:14:47 -04:00
Makefile test/bdev: add nbd test app 2017-06-23 13:01:04 -04:00