[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

Matthew Hall mhall at mhcomputing.net
Thu Jan 21 07:19:57 CET 2016

On 1/20/16 10:14 PM, Qiu, Michael wrote:
> As we could start up many primaries, how does your secondary process
> work with them?

I just worked on this tonight myself. When doing > 1 primary (for 
example pktgen and app), I had to specify:

--file-prefix pktgen
--file-prefix app

Or you get a panic and RTE fails to init, but the file-prefix seems to 
get applied both to the hugepage mmap() files and also to the lockfiles 
in /var/run:

$ ls -a /var/run | egrep -i '^\.'

So I think you have to keep the different primary-secondary sets 
separate using --file-prefix .


More information about the dev mailing list