From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by dpdk.org (Postfix) with ESMTP id 78EC65591 for ; Thu, 17 Nov 2016 20:46:23 +0100 (CET) Received: by mail-qk0-f195.google.com with SMTP id n204so27956966qke.2 for ; Thu, 17 Nov 2016 11:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qlEaXozWUJpd/CfwfzI5uO4yAfqq2YdXQK4QpgCeNew=; b=hHM5JXi/WIyhVafpIXHKcIIrIxWYH7npTxx7yDJlVp8eWBd0ZGnxUrJBB7FeD8GdVi 4upC/pmbCzivTO7vT2FpcfKYOrzTHkgk3m0rGxvqGb1zMF5Hz6hOubo+gk0USALPEttD KZEcLEihmdbKFMePbUhiNkG59yIjstZtw/SDndP7liG+E0Lx+uRb2nz00cmq1Ct+yF2Z m3y3DxYJ+vbN56wtxzh5HluKfbay/gMVIuHjFaue+X7lxNIMw52BihAcOSKjkkDrZn9B JClP1ZQbXEl+jRPs70RFD46Kqd6VUcNSef8W2Mh3h5ZkFAPgo7pD8XzV1a7a5bjyjH9I H8EQ== 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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qlEaXozWUJpd/CfwfzI5uO4yAfqq2YdXQK4QpgCeNew=; b=SWF220/W2d7m0j+OWDbGeYVSN8ITePU8bs4OWGl0aq2JRF6xodPf626cAJ+pwDMVas wIip4XgKuzzvMi7snP9HspmMx8nZKV9WR0wnP7LS/PKd1Lw/9gmj3USnljMn6bjxNHst qwnlczkx5d6L8YpUUtjbITF4KN49UYqmcdL6lwey0Meuw0ja7CdlogePar1gQQ/8pEtk NFn4cfqI/BLWnFI5k3PxYc8XFG0Yq19hhsZn1n6NhBPd99H88y6Dh0s75jjk5Qchj2bj EitQeCgN6LDHHPW63Li54xP5vVtEBO3vqX5A4OD52ABUD4Gy+d2awL9IC68+eKaDCKyX IXoA== X-Gm-Message-State: AKaTC01y+mcpKK33RetCO+VnqN9W48B0Q5DTUnsNvKrj4iNwWo43b3KsDgU69WD7rxAK7bwL1T2uV9jD9UyXiw== X-Received: by 10.55.142.194 with SMTP id q185mr5322786qkd.82.1479411982810; Thu, 17 Nov 2016 11:46:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.34.77 with HTTP; Thu, 17 Nov 2016 11:46:02 -0800 (PST) In-Reply-To: <24E2F452-E943-46FF-81F2-119DAF776C40@intel.com> References: <24E2F452-E943-46FF-81F2-119DAF776C40@intel.com> From: James Huang Date: Thu, 17 Nov 2016 11:46:02 -0800 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] DPDK Linux kernel version requirement 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: Thu, 17 Nov 2016 19:46:23 -0000 I did a bunch test with DPDK v16.07 - system (netgate appliance box) CentOS release 6.5 (Final) Linux NETGATE-TEST-Appliance 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 09:03:27 CET 2014 x86_64 x86_64 x86_64 GNU/Linux 4 CPU cores @2.4GHz 8 GB memory 6 1Gb NICs, eth0 - eth5 - install module (x86_64) igb_uio.ko rte_kni.ko - reserve huge pages memory (2M*512=3D1GB) mkdir -p /mnt/huge mount -t hugetlbfs nodev /mnt/huge echo 512 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hug= epages - run test programs testpmd.i686 -c7 -n3 --vdev=3Deth_pcap0,iface=3Deth4 --vdev=3Deth_pcap1,iface=3Deth5 -- -i --nb-cores=3D2 --nb-ports=3D2 --total-num-mbufs=3D2048 packet size 64B Rx-pps and Tx-pps around 120K, or 77Mbps testpmd.i686 -c7 -n3 -- -i --nb-cores=3D2 --nb-ports=3D2 --total-num-mbufs= =3D2048 use igb_uio driver packet size 64B Rx-pps and Tx-pps around 1.4M, or 900Mbps ./pktgen.i686 -c f -n 4 -- -p 0x3 -P -m "1.0, 2.1" -N -T packet size from 64 to 1500, all throughputs could reach 998-999Mbit/s According to the test results, could I say DPDK 32bit applications are GOOD to run on Linux 64bit kernel v2.6.32? Regards, James Huang On Thu, Nov 17, 2016 at 10:32 AM, Wiles, Keith wrot= e: > >> On Nov 17, 2016, at 12:27 PM, James Huang wrote: >> >> Hi, >> >> Nice to join DPDK community. >> >> read from DPDK system requirements for Linux >> (http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html) >> >> Kernel version >=3D 2.6.34 >> >> I'd like to know if there is any reason to block DPDK build and run on >> older kernel version, i.e. 2.6.32, as carried on CentOS 6. where >> gcc=3D4.4. >> >> Could we just keep our CentOS 6 64bit x86_64 OS and continuing running >> 32bit applications with DPDK injected. >> >> or, there are good reasons *must* upgrade to CentOS 7, where >> kernel=3D3.10.0, gcc=3D4.8, and re-build applications to 64bit as well? > > The only issues I can think of are no huge page support and the igb_uio o= r kernel components may not build. Having no huge page support can be a per= formance hit, but you should use =E2=80=94no-huge option. I know some peopl= e have it building on older kernels, but it has been many revs back. > >> >> Thanks a lot! >> >> >> James > > Regards, > Keith >