596f92f583
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> |
||
---|---|---|
.. | ||
ioat | ||
nvme | ||
Makefile |