custom util and iperf data rates don't matchbenchmark tcp: ab or iperf like tool to send hex/binary/pcap...
Someone scrambled my calling sign- who am I?
When should a starting writer get his own webpage?
Asserting that Atheism and Theism are both faith based positions
Nested Dynamic SOQL Query
Why are there no stars visible in cislunar space?
PTIJ: Which Dr. Seuss books should one obtain?
Do I need to convey a moral for each of my blog post?
Are hand made posters acceptable in Academia?
Why is this tree refusing to shed its dead leaves?
Imaginary part of expression too difficult to calculate
Justification failure in beamer enumerate list
Jem'Hadar, something strange about their life expectancy
Should I be concerned about student access to a test bank?
How do researchers send unsolicited emails asking for feedback on their works?
UK Tourist Visa- Enquiry
Interior of Set Notation
Is this Pascal's Matrix?
Why does Surtur say that Thor is Asgard's doom?
How can an organ that provides biological immortality be unable to regenerate?
How are passwords stolen from companies if they only store hashes?
Extraneous elements in "Europe countries" list
Should a narrator ever describe things based on a characters view instead of fact?
Do people actually use the word "kaputt" in conversation?
Symbolism of 18 Journeyers
custom util and iperf data rates don't match
benchmark tcp: ab or iperf like tool to send hex/binary/pcap data?Packet loss rate with iperf and tcpdumpCan I pull data from server to client with Iperf?iperf installation and useiperf - first packet loss and acceptable jitterHow does iperf calculate throughput and jitter?Difference in iperf output between client and serverIperf Tcp Client and Serverproc's limit and ulimit -f don't matchHow can I use an iperf output and only grep Interval and Bandwidth?
I'm working with a custom Linux based board. We have 2 wifi interfaces. To measure data rates going through them I wrote a simple program running in user space. Essentially it is reading
/sys/class/net/wlan0/statistics/rx_bytes
/sys/class/net/wlan0/statistics/tx_bytes
/sys/class/net/wlan1/statistics/rx_bytes
/sys/class/net/wlan1/statistics/tx_bytes
once a second (each file is read in a separate thread), takes a difference from the previous value and calculates the data rate.
To test is I ran an iperf
. Here is where I'm confused. For some reason my iperf
data rate is much lower (roughly by 5 to 8 Mbps. I'm sending data at 140 Mbps with iperf). I looked through the code for my application and just can't find a fault with it (thought it is very possible I'm making a mistake somewhere). Is there something about iperf
I don't know? Why am I seeing such a difference?
linux iperf
New contributor
add a comment |
I'm working with a custom Linux based board. We have 2 wifi interfaces. To measure data rates going through them I wrote a simple program running in user space. Essentially it is reading
/sys/class/net/wlan0/statistics/rx_bytes
/sys/class/net/wlan0/statistics/tx_bytes
/sys/class/net/wlan1/statistics/rx_bytes
/sys/class/net/wlan1/statistics/tx_bytes
once a second (each file is read in a separate thread), takes a difference from the previous value and calculates the data rate.
To test is I ran an iperf
. Here is where I'm confused. For some reason my iperf
data rate is much lower (roughly by 5 to 8 Mbps. I'm sending data at 140 Mbps with iperf). I looked through the code for my application and just can't find a fault with it (thought it is very possible I'm making a mistake somewhere). Is there something about iperf
I don't know? Why am I seeing such a difference?
linux iperf
New contributor
add a comment |
I'm working with a custom Linux based board. We have 2 wifi interfaces. To measure data rates going through them I wrote a simple program running in user space. Essentially it is reading
/sys/class/net/wlan0/statistics/rx_bytes
/sys/class/net/wlan0/statistics/tx_bytes
/sys/class/net/wlan1/statistics/rx_bytes
/sys/class/net/wlan1/statistics/tx_bytes
once a second (each file is read in a separate thread), takes a difference from the previous value and calculates the data rate.
To test is I ran an iperf
. Here is where I'm confused. For some reason my iperf
data rate is much lower (roughly by 5 to 8 Mbps. I'm sending data at 140 Mbps with iperf). I looked through the code for my application and just can't find a fault with it (thought it is very possible I'm making a mistake somewhere). Is there something about iperf
I don't know? Why am I seeing such a difference?
linux iperf
New contributor
I'm working with a custom Linux based board. We have 2 wifi interfaces. To measure data rates going through them I wrote a simple program running in user space. Essentially it is reading
/sys/class/net/wlan0/statistics/rx_bytes
/sys/class/net/wlan0/statistics/tx_bytes
/sys/class/net/wlan1/statistics/rx_bytes
/sys/class/net/wlan1/statistics/tx_bytes
once a second (each file is read in a separate thread), takes a difference from the previous value and calculates the data rate.
To test is I ran an iperf
. Here is where I'm confused. For some reason my iperf
data rate is much lower (roughly by 5 to 8 Mbps. I'm sending data at 140 Mbps with iperf). I looked through the code for my application and just can't find a fault with it (thought it is very possible I'm making a mistake somewhere). Is there something about iperf
I don't know? Why am I seeing such a difference?
linux iperf
linux iperf
New contributor
New contributor
New contributor
asked 7 mins ago
flashburnflashburn
1011
1011
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
flashburn is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958885%2fcustom-util-and-iperf-data-rates-dont-match%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
flashburn is a new contributor. Be nice, and check out our Code of Conduct.
flashburn is a new contributor. Be nice, and check out our Code of Conduct.
flashburn is a new contributor. Be nice, and check out our Code of Conduct.
flashburn is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958885%2fcustom-util-and-iperf-data-rates-dont-match%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown