From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 25 Jan 2016 18:25:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,347,1449561600"; d="scan'208";a="641401984" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 25 Jan 2016 18:25:18 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 25 Jan 2016 18:25:18 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 25 Jan 2016 18:25:18 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Tue, 26 Jan 2016 10:25:15 +0800 From: "Qiu, Michael" To: "Van Haaren, Harry" , "david.marchand@6wind.com" Thread-Topic: [dpdk-dev] [PATCH] eal: add function to check if primary proc alive Thread-Index: AQHRU4YjdEIiCFakoU645h1q4mhKnQ== 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> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] eal: add function to check if primary proc alive X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 02:25:20 -0000 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=