From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 264C3A09EF for ; Mon, 21 Dec 2020 21:00:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8574DCAC7; Mon, 21 Dec 2020 21:00:25 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by dpdk.org (Postfix) with ESMTP id DBE56CAC5 for ; Mon, 21 Dec 2020 21:00:23 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id e25so76896wme.0 for ; Mon, 21 Dec 2020 12:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HhhwnkYLyUfwFgFg3AICytPWEkSFZtGJgCqsba2jDbw=; b=SERrQNV7gO5EEQEVqy2rv2VQ0SWDA4EA6ALAPz8f7ycP07qGjJgXF4HUWU0IrEDIYs CGkPS7zLdpHx7+04xcTK1bZ57wjFqTgINETpIn5lUUJzUKp300nJHw1/MYhiHapb1POw XW3bhlvjgN27b6eCP+a/IhWrgQ29vcR6tl9/NeoomTkj3hpfE/WWuDqF1yG6pVJD98Hx SAWmkWqu2Fo6nxP6jkzNdfbZFWK/khjJd6aWYfjWX2G/Rb6k7SGe4Nh5hBz71IOEtcoZ ZYRIm6JfvyF5josLkhI39WGE1Bg3kU+pKor12kTj87ARcjKQ4VS+liWyySOUhTtCMcJg QmWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HhhwnkYLyUfwFgFg3AICytPWEkSFZtGJgCqsba2jDbw=; b=H0WIOCc422qhfseXU06qlYTmmQj1TZmdS/Xc99jrMEPiGnmIFICIMKV1iI1zMQIXUY JzWlJdlDCh1DHqpjspHVlL6OmbV0cmMowlWUFW8IMH9Wad0/YIidn86S0Xodn+Xhb0oi RNesaTcSprrka9p7FEmpXN+5FfssYQTWvsCvfgeRT5y741Htz4xlnlwW+rFEfiHWuvs3 kq+noIVb66b07ZnzVkwxE6ou/s9MIntz6pJUeMpBAg3/kKDpN0Te9ZRabE9cd8AYENOt jP2xP2lI6Q/PS+dOp/Xq8jIR6S2hmoUvsFQtCfKChLq68mD78mfFGWRxjVcUl4gh2C2k kEJQ== X-Gm-Message-State: AOAM5304m0fiPkr3AoX7RH0DmFKhzlAxiVNvuUMOCjum4efX2axDe6qy cuUwDR/MnvhZmGwlPF6j26ajZCnqvY/Pm5TzN60= X-Google-Smtp-Source: ABdhPJyptD9l8maD3N/VZTCEcN7Yr1Ru4XH57Jphtki4ATSU4u8M+mYhxW6NlZwGi6ZotCxSdd8ju8hl7m1xYfdzxT8= X-Received: by 2002:a1c:e306:: with SMTP id a6mr18390882wmh.66.1608580822484; Mon, 21 Dec 2020 12:00:22 -0800 (PST) MIME-Version: 1.0 References: <00EA150B-73EF-488B-972C-35C9D4C781AF@intel.com> In-Reply-To: <00EA150B-73EF-488B-972C-35C9D4C781AF@intel.com> From: =?UTF-8?Q?Merve_Orakc=C4=B1?= Date: Mon, 21 Dec 2020 23:00:11 +0300 Message-ID: To: "Wiles, Keith" Cc: users 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] DPDK-Pktgen big pcap files 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Ok, thanks. Wiles, Keith , 5 Ara 2020 Cmt, 18:56 tarihinde =C5= =9Funu yazd=C4=B1: > > > > On Dec 5, 2020, at 4:36 AM, Merve Orakc=C4=B1 > wrote: > > > > Hi everyboyd, I have 58 GB pcap file. I want to use this pcap file and > send > > packet over DPDK port. For this reason, I use Pktgen tool but when i tr= y > to > > replay pcap file. pktgen aborted. This is about not enough memory for > this > > pcap file? How should I adjust pktgen? > > > > root@lucky-X10SRA:/home/lucky# grep -i huge /proc/meminfo > > AnonHugePages: 0 kB > > ShmemHugePages: 0 kB > > HugePages_Total: 28 > > HugePages_Free: 28 > > HugePages_Rsvd: 0 > > HugePages_Surp: 0 > > Hugepagesize: 1048576 kB > > Getting 58GB pcap file to be sent by Pktgen is going to be hard as the > number of packet buffers currently allocated to Pktgen is not that huge. > The other problem you have only have 28 hugepages. For Pktgen to use that > large of file it needs to load all 58GB into memory and then we have to > adjust the number of buffers that Pktgen allocates, which means changing > the code. The PCAP file is somewhat compressed meaning packets are back t= o > back and Pktgen would need (normally) a 2K buffer for even one 64 byte > frame. So multiply the number of frames in the 58GB file with 2K and that > is how much memory you would need to hold that 58K file. > > Maybe some other tool is needed to send this large of a file. It appears > I am not going to be much help here :-( > > > > > -- > > *Merve Orakc=C4=B1* > > Research Asistant > > Gazi University - Institute of Informatics > > Computer Forensics > > Phone :+90 0312 202 3814 > > --=20 *Merve Orakc=C4=B1* Research Asistant Gazi University - Institute of Informatics Computer Forensics Phone :+90 0312 202 3814