Spdk/examples/nvme
John Kariuki 596f92f583 fio_plugin: add mem_size to fio config file
While doing performance testing for the SPDK NVMe driver using fio with
our fio_plugin, I saw the error (transport->ctrlr_create_io_qpair() failed)
when running 18 jobs on my system. The error was happening when trying
to allocate memory for the trackers at line 890 in the lib/nvme/nvme_pcie.c.
Root cause was the fio_plugin.c initializes the environment with only
512 MB of hugepage RAM. I changed opts.mem_size to 1024 and rebuild
the plugin the issue was resolved.
This patch enables setting the mem_size in the fio config file using
parameter named mem_size_mb. E.g. mem_size_mb=1024

Change-Id: I3541b2029a6b36c26f814101313f49c2dd98c9bc
Signed-off-by: John Kariuki <John.K.Kariuki@intel.com>
Reviewed-on: https://review.gerrithub.io/365735
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-06-26 13:49:55 -04:00
..
arbitration env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
fio_plugin fio_plugin: add mem_size to fio config file 2017-06-26 13:49:55 -04:00
hello_world test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
hotplug example/hotplug: quit from hotplug once the count of hotplug is correct. 2017-06-16 14:06:31 -04:00
identify event/env: remove dpdk_ prefix 2017-06-16 14:20:26 -04:00
nvme_manage nvme_manage: trim newline from fgets() buffer 2017-06-12 16:30:12 -04:00
perf examples/perf: fill buffer with non-zeroed data when QD=1 2017-06-21 19:02:29 -04:00
reserve test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
Makefile example: Add example for nvme hotplug. 2016-12-01 10:23:10 +08:00