[dpdk-dev] RES: L2FWD uses 'too much' CPU

Fred Pedrisa fredhps10 at hotmail.com
Tue Apr 1 18:43:14 CEST 2014


Hello,

 

Ok. Can you help me with something else ?

 

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.

 

Sincerely,

 

Fred

 

De: Vladimir Medvedkin [mailto:medvedkinv at gmail.com] 
Enviada em: terça-feira, 1 de abril de 2014 13:36
Para: Fred Pedrisa
Cc: dev at dpdk.org
Assunto: Re: [dpdk-dev] L2FWD uses 'too much' CPU

 

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.

 

2014-04-01 9:24 GMT+04:00 Fred Pedrisa <fredhps10 at hotmail.com>:

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

 



More information about the dev mailing list