* [dpdk-stable] [PATCH] doc: fix references to /dev/huge
@ 2020-06-23 5:55 Sarosh Arif
2020-07-05 20:44 ` Thomas Monjalon
0 siblings, 1 reply; 5+ messages in thread
From: Sarosh Arif @ 2020-06-23 5:55 UTC (permalink / raw)
To: dev, john.mcnamara, sthemmin, jerinj, mczekaj, marko.kovacevic
Cc: stable, Sarosh Arif
change /dev/huge to /dev/hugepages
Bugzilla ID: 492
Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
---
doc/guides/faq/faq.rst | 2 +-
doc/guides/nics/thunderx.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst
index f19c1389b..bb1df7dc8 100644
--- a/doc/guides/faq/faq.rst
+++ b/doc/guides/faq/faq.rst
@@ -18,7 +18,7 @@ The number of pages allocated can be seen by executing the following command::
Once all the pages are mmapped by an application, they stay that way.
If you start a test application with less than the maximum, then you have free pages.
-When you stop and restart the test application, it looks to see if the pages are available in the ``/dev/huge`` directory and mmaps them.
+When you stop and restart the test application, it looks to see if the pages are available in the ``/dev/hugepages`` directory and mmaps them.
If you look in the directory, you will see ``n`` number of 2M pages files. If you specified 1024, you will see 1024 page files.
These are then placed in memory segments to get contiguous memory.
diff --git a/doc/guides/nics/thunderx.rst b/doc/guides/nics/thunderx.rst
index f42133e54..b1ef9eba5 100644
--- a/doc/guides/nics/thunderx.rst
+++ b/doc/guides/nics/thunderx.rst
@@ -156,7 +156,7 @@ This section provides instructions to configure SR-IOV with Linux OS.
-netdev tap,id=net0,ifname=tap0,script=/etc/qemu-ifup_thunder \
-device virtio-net-device,netdev=net0 \
-serial stdio \
- -mem-path /dev/huge
+ -mem-path /dev/hugepages
#. Enable **VFIO-NOIOMMU** mode (optional):
--
2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-stable] [PATCH] doc: fix references to /dev/huge
2020-06-23 5:55 [dpdk-stable] [PATCH] doc: fix references to /dev/huge Sarosh Arif
@ 2020-07-05 20:44 ` Thomas Monjalon
2020-07-06 8:01 ` Sarosh Arif
2020-07-28 10:17 ` [dpdk-stable] [dpdk-dev] " Burakov, Anatoly
0 siblings, 2 replies; 5+ messages in thread
From: Thomas Monjalon @ 2020-07-05 20:44 UTC (permalink / raw)
To: Sarosh Arif
Cc: dev, john.mcnamara, sthemmin, jerinj, mczekaj, marko.kovacevic, stable
23/06/2020 07:55, Sarosh Arif:
> change /dev/huge to /dev/hugepages
>
> Bugzilla ID: 492
> Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
Please could you explain why /dev/hugepages must be used,
in the commit log for the record?
FYI, a similar change was done in the website by Stephen.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-stable] [PATCH] doc: fix references to /dev/huge
2020-07-05 20:44 ` Thomas Monjalon
@ 2020-07-06 8:01 ` Sarosh Arif
2020-07-30 23:31 ` Thomas Monjalon
2020-07-28 10:17 ` [dpdk-stable] [dpdk-dev] " Burakov, Anatoly
1 sibling, 1 reply; 5+ messages in thread
From: Sarosh Arif @ 2020-07-06 8:01 UTC (permalink / raw)
To: Thomas Monjalon
Cc: dev, Mcnamara, John, sthemmin, jerinj, mczekaj, Kovacevic, Marko, stable
On Mon, Jul 6, 2020 at 1:44 AM Thomas Monjalon <thomas@monjalon.net> wrote:
> 23/06/2020 07:55, Sarosh Arif:
> > change /dev/huge to /dev/hugepages
> >
> > Bugzilla ID: 492
> > Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
>
> Please could you explain why /dev/hugepages must be used,
> in the commit log for the record?
>
The path /dev/huge does not exist, the correct path is /dev/hugepages, so
for the sake of accuracy in the documentation it should be changed.
>
> FYI, a similar change was done in the website by Stephen.
>
This bug was submitted by Stephen on bugzilla, I took notice of it and
submitted a patch to correct it. This bug is not yet corrected on the
website.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-stable] [PATCH] doc: fix references to /dev/huge
2020-07-06 8:01 ` Sarosh Arif
@ 2020-07-30 23:31 ` Thomas Monjalon
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2020-07-30 23:31 UTC (permalink / raw)
To: Sarosh Arif
Cc: stable, dev, Mcnamara, John, sthemmin, jerinj, mczekaj,
Kovacevic, Marko, stable
06/07/2020 10:01, Sarosh Arif:
> On Mon, Jul 6, 2020 at 1:44 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> > 23/06/2020 07:55, Sarosh Arif:
> > > change /dev/huge to /dev/hugepages
> > >
> > > Bugzilla ID: 492
> > > Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
> >
> > Please could you explain why /dev/hugepages must be used,
> > in the commit log for the record?
> >
>
> The path /dev/huge does not exist, the correct path is /dev/hugepages, so
> for the sake of accuracy in the documentation it should be changed.
The directory can be created.
As Anatoly said, the reason is that it is the default path
on most systems.
> >
> > FYI, a similar change was done in the website by Stephen.
> >
>
> This bug was submitted by Stephen on bugzilla, I took notice of it and
> submitted a patch to correct it. This bug is not yet corrected on the
> website.
It is fixed in the website.
Applied with more explanations.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] doc: fix references to /dev/huge
2020-07-05 20:44 ` Thomas Monjalon
2020-07-06 8:01 ` Sarosh Arif
@ 2020-07-28 10:17 ` Burakov, Anatoly
1 sibling, 0 replies; 5+ messages in thread
From: Burakov, Anatoly @ 2020-07-28 10:17 UTC (permalink / raw)
To: Thomas Monjalon, Sarosh Arif
Cc: dev, john.mcnamara, sthemmin, jerinj, mczekaj, marko.kovacevic, stable
On 05-Jul-20 9:44 PM, Thomas Monjalon wrote:
> 23/06/2020 07:55, Sarosh Arif:
>> change /dev/huge to /dev/hugepages
>>
>> Bugzilla ID: 492
>> Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
>
> Please could you explain why /dev/hugepages must be used,
> in the commit log for the record?
>
> FYI, a similar change was done in the website by Stephen.
>
/dev/hugepages is the default path used by systemd (check
dev-hugepages.mount unit) so this is the correct path.
--
Thanks,
Anatoly
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-07-30 23:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23 5:55 [dpdk-stable] [PATCH] doc: fix references to /dev/huge Sarosh Arif
2020-07-05 20:44 ` Thomas Monjalon
2020-07-06 8:01 ` Sarosh Arif
2020-07-30 23:31 ` Thomas Monjalon
2020-07-28 10:17 ` [dpdk-stable] [dpdk-dev] " Burakov, Anatoly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).