Skip to contentSkip to conversation

doc: add a restriction to multi-process support

PATCH Superseded [email protected] 2 participants 3 messages Nov 28, 2017 – Nov 29, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add a restriction to multi-process support

From: Junjie Chen <[email protected]>

This patch add a restriction to multi-process support: secondary processes should only run alongside primary process with same DPDK version, so that secondary processes can use the same hugepage mmap layout as primary process.

---
 doc/guides/prog_guide/multi_proc_support.rst | 1 +
 doc/guides/tools/proc_info.rst               | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
doc/guides/prog_guide/multi_proc_support.rst +1 -0
index 9a9dca7fe..0cd67ae2d 100644
@@ -51,6 +51,7 @@ For now, there are two types of process specified:
 Standalone DPDK processes are primary processes,
 while secondary processes can only run alongside a primary process or
 after a primary process has already configured the hugepage shared memory for them.
+And secondary processes should only run alongside primary process with same DPDK version.
 
 To support these two process types, and other multi-process setups described later,
 two additional command-line parameters are available to the EAL:
doc/guides/tools/proc_info.rst +2 -1
index fd17e278c..512fd3263 100644
@@ -36,7 +36,8 @@ The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application
 that runs as a DPDK secondary process and is capable of retrieving port
 statistics, resetting port statistics and printing DPDK memory information.
 This application extends the original functionality that was supported by
-dump_cfg.
+dump_cfg. Note that dpdk-procinfo can only run alongside primary process with 
+same DPDK version.
 
 Running the Application
 -----------------------
Signature · 1 line
2.15.0
#1 lore raw
Quoted 31 lines · On Tue, Nov 28, 2017 at 04:56:54AM -0500, [email protected] wrote:

From: Junjie Chen <[email protected]>

This patch add a restriction to multi-process support: secondary processes should only run alongside primary process with same DPDK version, so that secondary processes can use the same hugepage mmap layout as primary process.

---
 doc/guides/prog_guide/multi_proc_support.rst | 1 +
 doc/guides/tools/proc_info.rst               | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
doc/guides/prog_guide/multi_proc_support.rst +1 -0
index 9a9dca7fe..0cd67ae2d 100644
@@ -51,6 +51,7 @@ For now, there are two types of process specified:
 Standalone DPDK processes are primary processes,
 while secondary processes can only run alongside a primary process or
 after a primary process has already configured the hugepage shared memory for them.
+And secondary processes should only run alongside primary process with same DPDK version.
 
 To support these two process types, and other multi-process setups described later,
 two additional command-line parameters are available to the EAL:
doc/guides/tools/proc_info.rst +0 -0
index fd17e278c..512fd3263 100644

doc/guides/tools/proc_info.rst The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application · line 43

Quoted 9 lines
doc/guides/tools/proc_info.rst +2 -1
@@ -36,7 +36,8 @@ The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application
 that runs as a DPDK secondary process and is capable of retrieving port
 statistics, resetting port statistics and printing DPDK memory information.
 This application extends the original functionality that was supported by
-dump_cfg.
+dump_cfg. Note that dpdk-procinfo can only run alongside primary process with 
+same DPDK version.
 
 Running the Application
 -----------------------

Good to add to the docs. I suggest that you add them using the proper "note" markup to make it clearer in the docs.

/Bruce

#2 lore raw
Quoted 52 lines

-----Original Message-----
From: Richardson, Bruce
Sent: Tuesday, November 28, 2017 7:22 PM
To: Chen, Junjie J <[email protected]>
Cc: Gonzalez Monroy, Sergio <[email protected]>; Mcnamara, John <[email protected]>; Tahhan, Maryam <[email protected]>; Pattan, Reshma <[email protected]>; [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: add a restriction to multi-process support

Quoted 20 lines · On Tue, Nov 28, 2017 at 04:56:54AM -0500, [email protected] wrote:

From: Junjie Chen <[email protected]>

This patch add a restriction to multi-process support: secondary processes should only run alongside primary process with same DPDK version, so that secondary processes can use the same hugepage mmap layout as primary process.

---
 doc/guides/prog_guide/multi_proc_support.rst | 1 +
 doc/guides/tools/proc_info.rst               | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
doc/guides/prog_guide/multi_proc_support.rst +0 -0
index 9a9dca7fe..0cd67ae2d 100644
@@ -51,6 +51,7 @@ For now, there are two types of process specified:
 Standalone DPDK processes are primary processes,  while secondary
Quoted 3 lines

processes can only run alongside a primary process or after a primary process has already configured the hugepage shared memory for them. +And secondary processes should only run alongside primary process with

same DPDK version.

Quoted 3 lines

To support these two process types, and other multi-process setups
described later, two additional command-line parameters are available to

the EAL:

Quoted 7 lines
(quoted diff) +0 -0

b/doc/guides/tools/proc_info.rst index fd17e278c..512fd3263 100644

doc/guides/tools/proc_info.rst +0 -0
@@ -36,7 +36,8 @@ The dpdk-procinfo application is a Data Plane

Development Kit (DPDK) application that runs as a DPDK secondary process and is capable of retrieving port statistics, resetting port statistics

and printing DPDK memory information.

Quoted 5 lines

This application extends the original functionality that was
supported by -dump_cfg.

doc/guides/tools/proc_info.rst +2 -0
+dump_cfg. Note that dpdk-procinfo can only run alongside primary
+process with same DPDK version.
Quoted 7 lines
Quoted 3 lines

Running the Application
-----------------------
--

Good to add to the docs. I suggest that you add them using the proper "note" markup to make it clearer in the docs.

/Bruce

Thanks, done.

Junjie