From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: [PATCH] eal: add function to check if primary proc alive Date: Wed, 20 Jan 2016 22:19:57 -0800 Message-ID: <56A0788D.9000802@mhcomputing.net> References: <1453296322-1210-1-git-send-email-harry.van.haaren@intel.com> <533710CFB86FA344BFBF2D6802E6028622F1E7EA@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 8BCFD8E59 for ; Thu, 21 Jan 2016 07:19:58 +0100 (CET) Received: from mhall-osx-home.local (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id DC7FABF for ; Thu, 21 Jan 2016 01:19:57 -0500 (EST) In-Reply-To: <533710CFB86FA344BFBF2D6802E6028622F1E7EA@SHSMSX101.ccr.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: --no-shconf --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 '^\.' . .. .pktgen_hugepage_info .rte_config .rte_hugepage_info .sdn_sensor_hugepage_info So I think you have to keep the different primary-secondary sets separate using --file-prefix . Matthew.