Comments (5)
Neper does not call getsockopt TCP_INFO, but reporting and aggregating those stats sounds like a useful extension.
Which specific fields of struct tcp_info are you interested in?
from neper.
the way measurement labs does it is it just grabs all of them and post-processes. More fields are added with nearly every kernel release, although i think that has slowed down a lot. I care about ecn_seen, rtt, loss, retransmits, primarily.
from neper.
Got it. That sounds like a useful addition. No promises when we'll get to it, but I'll add it to the list.
from neper.
iperf 2 uses the following
stats->cwnd = tcp_info_buf.tcpi_snd_cwnd * tcp_info_buf.tcpi_snd_mss / 1024;
stats->rtt = tcp_info_buf.tcpi_rtt;
stats->rttvar = tcp_info_buf.tcpi_rttvar;
stats->retry_tot = tcp_info_buf.tcpi_total_retrans;
stats->mss_negotiated = tcp_info_buf.tcpi_snd_mss;
from neper.
Thanks, Bob! We'll aim for at least feature parity. This is on our radar.
from neper.
Related Issues (20)
- Report stats based on a specified portion of samples
- Simulate non-networking workloads
- Record write() stats
- Pre-allocate a buffer for samples
- Support multiple outstanding requests per socket in tcp_rr
- Support multi-host tests HOT 1
- Fix report_stats()
- Jitter between per flow/thread work time samples
- The return value of 'sscanf()' should be checked
- Resource leak HOT 1
- Install on HPC
- The return value of 'sscanf()' should be checked
- Server side statistics for RR tests HOT 6
- use the flow id from the client on the server
- neper doesn't work in unprivileged network namespace HOT 1
- nerper Generate a 2-scale Voronoi tessellation
- Non-C99 standard scanf format string in cpuinfo.c
- FAQ for python segmentation faults due to users having none "en_GB", LC_ALL and LANG env vars HOT 3
- "send: No buffer space available" on EL9 when using Zero-copy
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 neper.