From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from col0-omc4-s15.col0.hotmail.com (col0-omc4-s15.col0.hotmail.com [65.55.34.217]) by dpdk.org (Postfix) with ESMTP id 7F8C8159 for ; Tue, 1 Apr 2014 18:41:40 +0200 (CEST) Received: from COL131-DS23 ([65.55.34.199]) by col0-omc4-s15.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 1 Apr 2014 09:43:11 -0700 X-TMN: [Oc/mYG08dGgl/ukDGuuQxvKlF0Haw4lr] X-Originating-Email: [fredhps10@hotmail.com] Message-ID: From: Fred Pedrisa To: "'Vladimir Medvedkin'" References: <067001cf4dc8$b18539d0$148fad70$@gmail.com> In-Reply-To: <067001cf4dc8$b18539d0$148fad70$@gmail.com> Date: Tue, 1 Apr 2014 13:43:14 -0300 MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHNs8I8Drh6gqPf1s+F06KHVtCIYAH9uBG3mvA9WMA= Content-Language: pt-br X-OriginalArrivalTime: 01 Apr 2014 16:43:11.0601 (UTC) FILETIME=[781DAE10:01CF4DC9] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: [dpdk-dev] RES: L2FWD uses 'too much' CPU X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 16:41:41 -0000 Hello, =20 Ok. Can you help me with something else ? =20 Right now, at a rate of 1.3~1.4 Mpps I am having about 4~5% of packet = loss, I wonder if I use my application wth a 10G NIC, will it not be able to = cope with more than 1.4 Mpps ? Because by seeing a packet loss I got a little afraid of it. =20 Sincerely, =20 Fred =20 De: Vladimir Medvedkin [mailto:medvedkinv@gmail.com]=20 Enviada em: ter=E7a-feira, 1 de abril de 2014 13:36 Para: Fred Pedrisa Cc: dev@dpdk.org Assunto: Re: [dpdk-dev] L2FWD uses 'too much' CPU =20 Hi, One of the objectives of DPDK is avoiding of interrupts, so application = (not only L2FWD) polls NIC infineteley. You can look at programmers guide section 24 "Power Management" and "L3 Forwarding with Power Management Sample Application" in Sample Applications User Guide. Regards, Vladimir. =20 2014-04-01 9:24 GMT+04:00 Fred Pedrisa : Hi, Why by default L2FWD saturate both cores ? I mean, it seems it keeps = wasting cycles due to the infinite loop placed there to check the queues. Which would be the way to improve this and make it to become more = efficient ? Sincerely, Fred =20