From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by dpdk.org (Postfix) with ESMTP id 4BE862BF1 for ; Tue, 30 Aug 2016 04:16:45 +0200 (CEST) Received: by mail-oi0-f48.google.com with SMTP id f189so7886620oig.3 for ; Mon, 29 Aug 2016 19:16:45 -0700 (PDT) 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; bh=6tGfaFFKGNFQl0G+Q0wZpiQdd6g/DBDK0CuG2XYlNBc=; b=J0AIUJhDkDKvm0bdVyVGeEECodeWyp+K6vQzwH56A0PZtkCN7mitrf51yIOQhCY3eS Uj/5TlFKKZbCusM8/6xjrIfZ6A24qfX7nTB3wavlX2OPtY0bGnqCF7wQrVnLVdlYJW5p y/ReFndHa57vUYsctI4sVLHV1bY6nrtE3arsanqGUv+eTAJyp5qMsZpBUDcbB7SLaL4w /H2CPlfPGkX3ZXzcmE5SqgDH85/JEv7SI1ThPtQiYMvOOVWN7XwaXWyaAYaqYRIyYE1T KmGyBasixfy6XcPzZu6/NbiO7PeOQF0Tv8lnlDA4QX9JEkJz8dmcThcbjwdDqa+wN1B4 M5lA== 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; bh=6tGfaFFKGNFQl0G+Q0wZpiQdd6g/DBDK0CuG2XYlNBc=; b=SjKFsBqNeErph6y2mjK9lWMSxDKJoVph5QPW0y2ZsulWSJ3gir+4ibosQQAZ9Zlj68 uEmwBEDz9/kXO3RG70KAB1Tdb6ssvFYku30meKAXxgqAoiCmOHPhvRhh5OCpzJpAELxM iPxlARrkIfvIkWT8NcNun/EaQvZ/aJ0OsGR+vQJrirlRNdy3lLA41RA5IyKGcdJytvXX 23rWJtrKD9PR0e5abdAwHrbQ7vibxAI4hqoRPJEmiSDRNBLVVX5e2kPr5taB7zweexqG NwZ+Y7vZjQ3HljncEUAz+RyS4O4xTBhrNKrRP/OYuXSHkh0oDDmtWz1unPqPEU3jSKxj fNuQ== X-Gm-Message-State: AE9vXwNN3qJnaDsDKxStdLBBoynL7UztgfpSB3OV73IwcMZ+IKGCTSxgGJnEdla+aKZPJCjiVhpPyLM2AzvaCw== X-Received: by 10.157.19.111 with SMTP id q44mr1228559otq.139.1472523404558; Mon, 29 Aug 2016 19:16:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.106.72 with HTTP; Mon, 29 Aug 2016 19:16:44 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?xJDhu5cgSG/DoG5n?= Date: Tue, 30 Aug 2016 10:16:44 +0800 Message-ID: To: 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] How to disable flow control? 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: Tue, 30 Aug 2016 02:16:45 -0000 Here is the Port statistics of l2fwd on my computer, almost half of the packets are dropped Port statistics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Statistics for port 0 ------------------------------ Packets sent: 124 Packets received: 10000180 Packets dropped: 0 Statistics for port 1 ------------------------------ Packets sent: 5875606 Packets received: 124 Packets dropped: 4124574 Aggregate statistics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Total packets sent: 5875730 Total packets received: 10000304 Total packets dropped: 4124574 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D On Tue, Aug 30, 2016 at 10:08 AM, =C4=90=E1=BB=97 Ho=C3=A0ng wrote: > I have checked again, FC is disabled by default (I'm running the l2fwd > example). > So what's the problem with my NIC speed? > > On Tue, Aug 30, 2016 at 9:54 AM, =C4=90=E1=BB=97 Ho=C3=A0ng wrote: > >> Hi there, >> >> I'm running DPDK with a dual-port 82546EB NIC, but the performance is >> really low (about 150Mbit/s). >> Somebody told me that I should disable flow control and try again, but I >> don't know how to do it. >> So, I have 2 questions: >> - How to disable flow control? >> - If the performance doesn't get better after disabling flow control, >> what should I do next? >> >> Any advice and suggestions will be greatly appreciated. >> >> Thanks in advance! >> > >