From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Qiu, Michael" Subject: Re: [PATCH] eal: add function to check if primary proc alive Date: Tue, 26 Jan 2016 02:25:15 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F221CB@SHSMSX101.ccr.corp.intel.com> References: <1453296322-1210-1-git-send-email-harry.van.haaren@intel.com> <533710CFB86FA344BFBF2D6802E6028622F2180B@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: "Van Haaren, Harry" , "david.marchand@6wind.com" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 22D8EE62 for ; Tue, 26 Jan 2016 03:25:19 +0100 (CET) Content-Language: en-US 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/25/2016 7:51 PM, Van Haaren, Harry wrote:=0A= >> From: Qiu, Michael=0A= >> Subject: Re: [dpdk-dev] [PATCH] eal: add function to check if primary pr= oc alive=0A= >>=0A= >> So secondary will waste a whole lcore to do such polling?=0A= > Not really, the secondary process will need some CPU,=0A= > however it can sleep so it doesn't have to use 100% of it.=0A= > It shouldn't be run on a core that is used by the primary=0A= > for packet-forwarding though - that will impact performance.=0A= =0A= If not, what will happen if the primary been killed after you check=0A= alive? At that time, the secondary may be doing some work need primary=0A= alive.=0A= =0A= Thanks,=0A= Michael=0A= > -Harry=0A= >=0A= =0A=