[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
dpdk.org] On Behalf Of Prashant > Upadhyaya > Sent: Friday, November 22, 2013 7:16 PM > To: Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] Query regarding multiple processes in DPDK > > Thanks Bruce, I think your suggested example of multi_process answers > my questi

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Jeff Venable, Sr.
r does the fact >> that primary died will lead to all the memory also taken away with it >> so that the secondary can no longer function now ? >> >> Regards >> -Prashant >> >> >> -----Original Message- >> From: dev [mailto:dev-bounces at dpdk.org]

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
Prashant Upadhyaya Sent: Friday, November 22, 2013 7:16 PM To: Richardson, Bruce; dev at dpdk.org Subject: Re: [dpdk-dev] Query regarding multiple processes in DPDK Thanks Bruce, I think your suggested example of multi_process answers my questions. Regards -Prashant -Original Message- From

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Richardson, Bruce
o:dev-bounces at dpdk.org] On Behalf Of Prashant > Upadhyaya > Sent: Friday, November 22, 2013 7:16 PM > To: Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] Query regarding multiple processes in DPDK > > Thanks Bruce, I think your suggested example of multi_process an

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
: [dpdk-dev] Query regarding multiple processes in DPDK Hi Bruce, Thanks. Regarding your comment -- [BR] It will depend upon the application, but in most cases you probably want to have slightly different code paths for primary and secondary instances. For example, if a process is running as

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
Hi Bruce, Thanks. Regarding your comment -- [BR] It will depend upon the application, but in most cases you probably want to have slightly different code paths for primary and secondary instances. For example, if a process is running as primary instance, it will probably call rte_mempool_creat

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
Hi guys, The DPDP programmer's guide mentions - === The EAL also supports an auto-detection mode (set by EAL --proc-type=auto flag), whereby an Intel(r) DPDK process is started as a secondary instance if a primary instance is already running. === So does this mean that if I have a DPDK exe foo.o

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Richardson, Bruce
Hi Prashant > === > The EAL also supports an auto-detection mode (set by EAL --proc-type=auto > flag), whereby an Intel(r) DPDK process is started as a secondary instance if > a primary instance is already running. > === > > So does this mean that if I have a DPDK exe foo.out, then when I run the