Comments (3)
Hi all,
Checking more log by calling rte_eth_stats_get(port_id, ð_stats) I can see the received error packet stats:
struct rte_eth_stats eth_stats;
unsigned i;
for (i = 0; i < rte_eth_dev_count(); i++) {
rte_eth_stats_get(i, ð_stats);
printf("\nPort %u stats:\n", i);
printf(" - Pkts in: %"PRIu64"\n", eth_stats.ipackets);
printf(" - Pkts out: %"PRIu64"\n", eth_stats.opackets);
printf(" - In Errs: %"PRIu64"\n", eth_stats.ierrors);
printf(" - Out Errs: %"PRIu64"\n", eth_stats.oerrors);
printf(" - Mbuf Errs: %"PRIu64"\n", eth_stats.rx_nombuf);
}
Port 0 stats:
- Pkts in: 155440503
- Pkts out: 155264785
- In Errs: 254299497
- Out Errs: 0
- Mbuf Errs: 0
Port 1 stats:
- Pkts in: 155440561
- Pkts out: 155264631
- In Errs: 254299663
- Out Errs: 0
- Mbuf Errs: 0
All packets sent by traffic generator are the same format.
Is there a case that the OpenNetVM Manager process is not fast enough to receive packets, packets are marked as error?
Lapd
from opennetvm.
Hi all,
I'm able to get high results now after
- Add one more core for RX on onvm_mgr/init.h
- Increase RX/TX and Ring buffer size onvm_mgr/init.c
#define RTE_MP_RX_DESC_DEFAULT 2048
#define RTE_MP_TX_DESC_DEFAULT 2048
#define CLIENT_QUEUE_RINGSIZE 2048
Lapd
from opennetvm.
@lapd-viosoft yes, that is the right approach. We will be updating the docs with this kind of tuning advice.
from opennetvm.
Related Issues (20)
- Container NFs Initialisation Error - Cannot open '/dev/hugepages' HOT 5
- When Congestion occurs with shared core, number of pkt processing is abnormal HOT 6
- Setting up Jumbo Packet mtu 9000 in ONVM HOT 1
- dpdk-pdump+ONVM HOT 2
- Duplicated flush in `onvm_pkt_process_rx_batch` HOT 5
- Linter Cppcheck. HOT 3
- Performance observations when running NF's on local and/or remote NUMA node in a server HOT 11
- Questions about the bridge example HOT 4
- Memory leak when sending messages between NFs with full rings HOT 3
- Questions about scaling example HOT 21
- Unable to probe PCI devices within rte_eal_init() on onvm_mgr start HOT 3
- Simple Skeleton
- Display packet drop stats HOT 1
- speed tester can crash if given a pcap with jumbo frames HOT 1
- I have a question: If I want to deploy vnf on different machines, does OpenNetVM support this method? If so how can I connect them through IP address? HOT 1
- Install guide/script references igb_uio as the only usable network driver for DPDK ports HOT 1
- arp nf and load balancer tutorial
- Support for Arm64 HOT 4
- [BUG]: `.gitmodules` content is outdated and incorrect
- Is the nfvnice-reinforce branch still supported?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opennetvm.