From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id 3839F5684 for ; Mon, 18 Apr 2016 08:57:24 +0200 (CEST) Received: by mail-pa0-f51.google.com with SMTP id r5so20092252pag.1 for ; Sun, 17 Apr 2016 23:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=1mxhiy+T+8Z5laDZQ+iowPfNEstrHuAdI3AMKRr6QDs=; b=DE5Kmi9nrCEZt/L5e84EBaZLWsRa+5fZktuMMZH2rETjJuDCBzAd3c55rOXfntaGKm BNjAr3JGbuVpHHbkmHAcDMUEzjzuHZX31bWxR/kg+bjIQEVbV30RxpZI2h+z5quKoOPZ mRjkCDPr6Ce1LYQQSnugvF7HEGAE5v4lGBLm+6uo74whXYpYPWxiR2xya8N0i/idbR14 eeJ5Wnspenmaocj/u8hDNAKbhQpOL9uyoPkXMhjioToB/P6VL5OKZSEqKwXjRRFdfii7 Z4idV9MkRNs5hz3TpNfdsTCUp9rd+5KPI5YQs1FQ0VtT+ZPpjoWIOxtZ8Q4zkH7ai2fC ceLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=1mxhiy+T+8Z5laDZQ+iowPfNEstrHuAdI3AMKRr6QDs=; b=Kn2wLJQwt1hE8KB83vG2hzTMnAqhlrUkCccD/wd5wqcVvY3fgu91YnHrVuOUZb3qHE UMZ/v+RwTDq2u72ELWatM5m/4z7Ht8JMCL2SZwZwew0HjLfDUkud3hpXJ9RRbXRTCYxb ylPl1hRyO3w4CVsjTo8UGdQm44sbDlheyiBPe+sVztCUESfGjBqn1m+x/DvsgVFcDsDM AiREm8n/BLSwDUCC471kuEP8VdWAu4hOdQ56ZeOYns85p49ute3vZaAFISu7/7+xx6ve qumNSnxrmWT0XGqoth4KKZgV3+wQ+sUchZrDGkfIySImP+PQ6zaVQEDGevmcC14Ay0zT +O6g== X-Gm-Message-State: AOPr4FWNxlbPbOHoSUV7lAzhre/OJK8yVcXMWAC5aM2ZWFgDM274JlANU/4SoQTgOTNpK/tbrnTdCoQSb9lmwQ== MIME-Version: 1.0 X-Received: by 10.66.72.198 with SMTP id f6mr29436287pav.60.1460962643460; Sun, 17 Apr 2016 23:57:23 -0700 (PDT) Received: by 10.66.236.228 with HTTP; Sun, 17 Apr 2016 23:57:23 -0700 (PDT) In-Reply-To: <12A43467A5F69640B90142DFE5470A180184F97A@SGSIMBX004.nsn-intra.net> References: <12A43467A5F69640B90142DFE5470A180184F8F7@SGSIMBX004.nsn-intra.net> <12A43467A5F69640B90142DFE5470A180184F97A@SGSIMBX004.nsn-intra.net> Date: Mon, 18 Apr 2016 12:27:23 +0530 Message-ID: From: SAKTHIVEL ANAND S To: "Nikhila, Athaluri (Nokia - IN/Bangalore)" , users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Issue on running kni application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 06:57:24 -0000 Hi I was about to say that , you have to change(increase) the hugepages. To be simple , please follow the below step to increase number of hugepages(from my script) and then run your KNI app. #setting huge pages for DPDK program mkdir -p /mnt/huge mount -t hugetlbfs nodev /mnt/huge echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages you can cross check (last few lines): cat /proc/meminfo Regards Sakthivel S On Mon, Apr 18, 2016 at 10:10 AM, Nikhila, Athaluri (Nokia - IN/Bangalore) < athaluri.nikhila@nokia.com> wrote: > Hi, > > > > When I check option 21 ,I get the following details. > > > > Option: 21 > > chmod /dev/vfio > OK > chmod /dev/vfio/* > OK > > Current user memlock limit: 0 MB > > This is the maximum amount of memory you will be > able to use with DPDK and VFIO if run as current user. > To change this, please adjust limits.conf memlock limit for current user. > > ## WARNING: memlock limit is less than 64MB > ## DPDK with VFIO may not be able to initialize if run as current user. > > > > Rgds, > > Nikhila > > > > > > *From:* EXT SAKTHIVEL ANAND S [mailto:anand.sa88@gmail.com] > *Sent:* Friday, April 15, 2016 6:15 PM > *To:* Nikhila, Athaluri (Nokia - IN/Bangalore) > > *Cc:* users@dpdk.org > *Subject:* Re: [dpdk-users] Issue on running kni application > > > > Hi > Not sure , how much memory needed for KNI application. I am using 2MB * > 1024 pages and it is working fine.That is enough i guess. for setting up > hugepages /tools/setup.sh