Skip to content

Commit ba20a93

Browse files
author
Alexander Indenbaum
committed
README.md: no huge info
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
1 parent bf83ae5 commit ba20a93

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,14 +294,21 @@ client_cert = ./client.crt
294294
295295
### Huge-Pages
296296
297-
[DPDK requires hugepages](https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#linux-gsg-hugepages) to be set up:
297+
[DPDK uses by default hugepages](https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#linux-gsg-hugepages) to be set up:
298298
299299
```bash
300300
sh -c 'echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages'
301301
```
302302
303303
This is automatically done in the `make setup` step. The amount of hugepages can be configured with `make setup HUGEPAGES=512`.
304304
305+
ℹ️ **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.
306+
307+
```ini
308+
[spdk]
309+
mem_size=4096
310+
```
311+
305312
## Development
306313
307314
### Set-up

0 commit comments

Comments
 (0)