From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 49DE5282 for ; Sat, 20 Dec 2014 10:32:51 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 20 Dec 2014 01:30:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="431507108" Received: from bricha3-mobl3.ger.corp.intel.com ([10.252.23.51]) by FMSMGA003.fm.intel.com with SMTP; 20 Dec 2014 01:21:27 -0800 Received: by (sSMTP sendmail emulation); Sat, 20 Dec 2014 09:32:45 +0025 Date: Sat, 20 Dec 2014 09:32:45 +0000 From: Bruce Richardson To: Haowei Yuan Message-ID: <20141220093244.GA9912@bricha3-MOBL3> References: <1f80c4cd14794b06a8f483d0fbf60b3d@BLUPR02MB115.namprd02.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Problem with running the load balancer example application 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: Sat, 20 Dec 2014 09:32:51 -0000 On Fri, Dec 19, 2014 at 12:14:27PM -0600, Haowei Yuan wrote: > Hi Bruce, > > Thank you very much for the information. I guess I will just use hugepages then. > > At the beginning, the reason for using the --no-huge flag was that > somehow hugepages used by the app was not released (I don't remember > what the exact situation was, it might be that the program failed > somewhere because something was not properly configured), and with 2K > hugepages, after running the app several times, there was no hugepage > left. So I just wanted to try the --no-huge flag as it seemed to be > easy, and I guess there are probably ways to release those hugepages. > Then the warning messages showed up after the --no-huge flag was > added. > At the end of the application run, the hugepages are released by the application as the rest of the memory it uses is, ie. automatically on process termination. However, the hugepage files used to map that memory are not automatically deleted. Despite this, the memory is still available for reuse by a subsequent DPDK run - which will automatically delete the old files on startup - or by another app - in which case you may need to manually delete the files. > At the moment, the app works fine with hugepages. > Ok, good to know. /Bruce > Thanks, > Haowei > > > On Fri, Dec 19, 2014 at 4:14 AM, Bruce Richardson > wrote: > > On Fri, Dec 19, 2014 at 01:43:26AM -0600, Haowei Yuan wrote: > >> Hi folks, > >> > >> I am new to DPDK and have been trying to run the load balancer example > >> application on a machine with two NUMA nodes. Somehow the program > >> cannot be launched correctly if I add the "--no-huge" option to the > >> command. I am wondering if someone had seen similar problems, or maybe > >> I did something wrong. > >> > > > > Hi, > > > > Can I ask why you want to run the app with the -no-huge flag. That flag is > > primarily for testing only, and is not designed for use in a real-world > > environment. > > > > /Bruce > >