Giter Club home page Giter Club logo

Comments (3)

hhaim avatar hhaim commented on June 6, 2024

please provide more information

from trex-core.

hhaim avatar hhaim commented on June 6, 2024

"Trex always shows one more packets total_rx than total_tx
When I ran trex, I see that one packet (64 bytes) at the beginning of the test which considered at the total-rx statistics that make we always have one more packet rx than tx.
let me show a scenario:
i have ran the following command:
./t-rex-64 -c 1 -d 1 -m 1 -f cap2/dns_no_delay.yaml
the statistics that i see is:
Total-pkt-drop : 0 pkts
Warning : number of rx packets exceeds 101% of tx packets!
Total-tx-bytes : 170 bytes
Total-tx-sw-bytes : 0 bytes
Total-rx-bytes : 234 byte
Total-tx-pkt : 2 pkts
Total-rx-pkt : 3 pkts
Total-sw-tx-pkt : 0 pkts
Total-sw-err : 0 pkts
Total ARP sent : 2 pkts
Total ARP received : 0 pkts
I ran command in a back to back configuration
"

from trex-core.

ibarnea avatar ibarnea commented on June 6, 2024

Hi,
When I run your command on ports connected in loopback, I see the counters as below (which is OK). Is it possible that you have some switch in the middle which issues the extra ARP packet?

Total-pkt-drop : 0 pkts
Total-tx-bytes : 170 bytes
Total-tx-sw-bytes : 0 bytes
Total-rx-bytes : 170 byte

Total-tx-pkt : 2 pkts
Total-rx-pkt : 2 pkts
Total-sw-tx-pkt : 0 pkts
Total-sw-err : 0 pkts
Total ARP sent : 2 pkts
Total ARP received : 0 pkts

from trex-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.