Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bngblaster report.json throughput (tx/rx-pps) shows only whole (round-off) value #303

Open
rsys-mponnusa opened this issue Jan 22, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsys-mponnusa
Copy link

#Run command with below feature enabled
/usr/sbin/bngblaster
-C /var/bngblaster/TEST/config.json
-S /var/bngblaster/TEST/run.sock
-J /var/bngblaster/TEST/run_report.json
-j session
-j streams
-L /var/bngblaster/TEST/run.log
-l error
-l ip
-l info
-l pppoe
-P /var/bngblaster/TEST/run.pcap

1.from config.json file
Rate - 1 Mbps
Length - 1460
number of subscribers -3

throughput = config["Mbps"] * 1000000 / 8 / length = 85.61643835616438

2.repot.json file
"rx-pps": 77,
"tx-pps": 77,
"rx-pps-max": 85,
"tx-pps-max": 85,

Queries:
1.Are we doing round-off on the throughput (rx-pps-max/tx-pps-max ) values?
2.Is there a way we can print exact value with floating value (85.62)
3.Here rx-pps/tx-pps is avg throughput?
4.can we display rx-pps-min/tx-pps-min as well ?( currently only 2 values shown)

run_report.json
run.json
run.log
config.json

@rsys-mponnusa rsys-mponnusa added the bug Something isn't working label Jan 22, 2025
@rsys-mponnusa rsys-mponnusa changed the title bngblaster report.json throughput (tx/rx-pps) shows only while number bngblaster report.json throughput (tx/rx-pps) shows only whole number(round-off) Jan 22, 2025
@rsys-mponnusa rsys-mponnusa changed the title bngblaster report.json throughput (tx/rx-pps) shows only whole number(round-off) bngblaster report.json throughput (tx/rx-pps) shows only whole (round-off) value Jan 22, 2025
@GIC-de GIC-de added enhancement New feature or request and removed bug Something isn't working labels Jan 22, 2025
@GIC-de
Copy link
Member

GIC-de commented Jan 22, 2025

This is currently not supported, but it should be considered more of an enhancement than a bug!

@rsys-mponnusa
Copy link
Author

Thanks for the update
Please consider this an enhancement and Let us know once its available

@rsys-mponnusa
Copy link
Author

Could you please help me with below item
Till then is there an alternate way we can get the exact throughput per flow ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants