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

2014-04-01 Thread Vladimir Medvedkin
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.

[dpdk-dev] L2/3 Tx generator example

2014-04-01 Thread Wiles, Roger Keith
You can have a look at Pktgen-DPDK on: git clone git://github.com/Pktgen/Pktgen-DPDK Pktgen is a traffic generator using DPDK for L2/L3 and a number of other features :-) Hope thats what you are looking for. Keith Wiles, Principal Technologist for Networking member of the CTO office, Wind

[dpdk-dev] L2/3 Tx generator example

2014-04-01 Thread Ilan Borenshtein
Hello, I've become a member. I want to ask the following: I'm looking for Layer2/3 Tx generator (not forward) example. Thanks, Ilan

[dpdk-dev] rte_pktmbuf_alloc fails

2014-04-01 Thread Meir Tseitlin
I think I found the problem - it was solved by manually calling rte_pktmbuf_free for each packet. It seems that rte_pktmbuf_free is not automatically called from within rte_eth_tx_burst if packets are sent to pcap device. Is it possible? On Tue, Apr 1, 2014 at 2:08 PM, Meir Tseitlin wrote: >

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

2014-04-01 Thread Fred Pedrisa
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.

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

2014-04-01 Thread 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