From ba20a9397baf8a1b72cf7c8790df0d2d3c958ab9 Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Mon, 16 Dec 2024 17:11:18 +0000 Subject: [PATCH] README.md: no huge info Signed-off-by: Alexander Indenbaum --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1d419fa..5fd52b34 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ client_cert = ./client.crt ### Huge-Pages -[DPDK requires hugepages](https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#linux-gsg-hugepages) to be set up: +[DPDK uses by default hugepages](https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#linux-gsg-hugepages) to be set up: ```bash sh -c 'echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages' @@ -302,6 +302,13 @@ sh -c 'echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages' This is automatically done in the `make setup` step. The amount of hugepages can be configured with `make setup HUGEPAGES=512`. +ℹ️ **Info:** To eliminate the dependency on huge pages, set [mem_size=4096](https://github.com/ceph/ceph-nvmeof/blob/bf83ae504e77358944c8a0150d390cf66086fa2b/tests/ceph-nvmeof.no-huge.conf#L68) (memory size in megabytes) in the spdk section of the ceph-nvmeof.conf file. See the [example](https://github.com/ceph/ceph-nvmeof/blob/devel/tests/ceph-nvmeof.no-huge.conf) configuration file for reference. + +```ini +[spdk] +mem_size=4096 +``` + ## Development ### Set-up