From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by dpdk.org (Postfix) with ESMTP id B2B602C16 for ; Tue, 9 May 2017 06:41:52 +0200 (CEST) Received: by mail-oi0-f50.google.com with SMTP id b204so74392244oii.1 for ; Mon, 08 May 2017 21:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6rO2YVNLj0IOlNzzRbIOH0iQo5vKrqewkBqLmDpqjrQ=; b=M5XWjPt7ZCP0NKHb/nNW5xhGvoX7nrD7E8i3DnHnViJfC7vjKIybLzIMm+i7Nduzyo 6/v4m/BvRAbJZA03qHi/k5vCusn6Hf6Sklex8/vbFsnVnwVc1QPBRKpt09k9DDBCfpOp IGNpyMHcNuCMsd5u4T9KOGLqSGPJO/BVtDbTioRFuDtr2Pbsif4X7pGyZXuMBTeTtTmR MhK+sJzlhE4EX3cSyhcC0wOpDlXe+CMZvf7tTiWYTM1Dy0nFAFqVIlMT9OAoX3GKibIt 7Az55tX+YOaewSP5H7quTv00MmR9ZayIR0gkGzq3DfJFKiTVJbqLOm6znK+AotJjRNjN sLCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6rO2YVNLj0IOlNzzRbIOH0iQo5vKrqewkBqLmDpqjrQ=; b=TPTx7TEDs9pgK53fzbr/G7bba1SovpRDCwQh0MnuFWG+CcKlAcx/oQ9ZUna0HOdNg4 knYd/D0mkfqQEfQ5zkvZwS75vkCn0T9+ZWnyNQCulHYnLAniZfIJu8FG8L9IhnlLYUJn 0ihUnO+C/vSIBDRY231hvDT6XtzQ2KFFq4MT0Ein7nuTWnr/J1NQ78v1quBGXyZQH8cf Jy6xJm8mmdR60JbhsEbwrtdGuOIx8BbIaTD+mlY3Toh29TooQIwxDz75srZUDj/1IQYV qIDIQovW3FSmNiBIwV/0T5mUwbUAjiUdwBhgChq77PUVqwbb4TxLKumrwjhO5s4R58sE 4KDQ== X-Gm-Message-State: AN3rC/4GiDxh2wJ8XabArhRwXD7ap1zGSEt43ErL/fSGKDavAw7yw4re IG/z6MUZ5ni3gYw0ou/C+cyvpr7wew== X-Received: by 10.202.183.133 with SMTP id h127mr23254442oif.165.1494304911961; Mon, 08 May 2017 21:41:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.56.76 with HTTP; Mon, 8 May 2017 21:41:51 -0700 (PDT) In-Reply-To: <96F1ADF5-5A09-494D-ADA3-743FDDC3FB59@intel.com> References: <96F1ADF5-5A09-494D-ADA3-743FDDC3FB59@intel.com> From: Dheeraj Dang Date: Tue, 9 May 2017 10:11:51 +0530 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Generate more than 10000 flows. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 04:41:53 -0000 Thanks a lot for your help. Regards Dheeraj Dang On Mon, May 8, 2017 at 7:12 PM, Wiles, Keith wrote: > > > On May 7, 2017, at 11:05 AM, Dheeraj Dang > wrote: > > > > Hi, > > > > I m running dpdk pktgen between two virtual machines that are on the sa= me > > network. Sender machine is sending UDP packets using range. > > I m trying to generate no of flows in dpdk-pktgen and for that purpose, > I'm > > using source and destination port options (max, min, increment and > start). > > > > Start Min Max Inc > > Source Port 3000 3000 3000+N 1 > > Destination Port 4000 4000 4000+N 1 > > > > where N is no of flows that I want to generate using dpdk-pktgen. > > > > Following are my observations with dpdk-pktgen. > > > > *N* *No of flows generated (sender side)* > > 10 10 > > 100 100 > > 1000 1000 > > 10000 8192 > > 20000 8192 > > In pktgen the range and other modes setup the 8192 packets allocated just > before sending the frames. The reason you only get 8192 is that is the > number of packet buffers allocated. In the app/pktgen-constants.h change > the following line by increasing the =E2=80=988=E2=80=99 to something lar= ger. This value > will increase the number of packets created per port so the amount used f= or > memory will increase. > > MAX_MBUFS_PER_PORT =3D (DEFAULT_TX_DESC * 8),/* number of buffers t= o > support per port */ > > > > > Is it possible to generate more than 10000 flows through dpdk-pktgen ? > > > > Regards, > > Dheeraj Dang > > Regards, > Keith > >