From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 339DFDE5 for ; Mon, 16 Jan 2017 15:42:07 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 16 Jan 2017 06:42:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,239,1477983600"; d="scan'208";a="53855595" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by fmsmga005.fm.intel.com with ESMTP; 16 Jan 2017 06:42:05 -0800 To: Shirley Avishour , dev@dpdk.org References: From: Ferruh Yigit Message-ID: Date: Mon, 16 Jan 2017 14:42:04 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 14:42:07 -0000 On 1/16/2017 12:20 PM, Shirley Avishour wrote: > Hi, > I have an application over dpdk which is consisted of the following threads > each running on a separate core: > 1) rx thread which listens on in a poll mode for traffic > 2) 2 packet processing threads (for load balancing) > 3) kni thread (which also runs on a separate core). This is kernel thread, right? Is it bind to any specific core? Is it possible that this thread shares the core with 2nd processing thread when enabled? > > the rx thread receives packets and clones them and transmit a copy to the > kni and the other packet is sent to the packet processing unit (hashing > over 2 threads). > the receive traffic rate is 100Mbps. > When working with single packet processing thread I am able to get all the > 100Mbps towards the kni with no drops. > but when I activate my application with 2 packet processing threads I start > facing drops towards the kni. > the way I see it the only difference now is that I have another threads > which handles an mbuf and frees it once processing is completed. > Can anyone assist with this case please? > > Thanks! >