Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 119107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:36:02+00:00 2026-05-11T03:36:02+00:00

I have a simple scenario, where two servers are connected through a gigabit link.

  • 0

I have a simple scenario, where two servers are connected through a gigabit link. I run iperf on both sides to measure the throughput.

What surprises me, whenever I run the traffic bidirectionally, it always favor one side only (eg. ~900Mbps vs. ~100Mbps). If I run the traffic unidirectional, each side got ~900Mbps.

If I connect one of the server (the lower memory) to another server, the bidirectional traffic was balanced out. So definitely not the iperf problem.

Other facts:

  • One server has pretty big memory (~12GB), while the other only has ~4GB.
  • Both server have the same TCP memory configurations, in this case, the same TCP w/r mem, core w/r mem, TX queue length.
  • Both are using the same ethernet card (E1000 driver).
  • Same Linux version, RedHat 2.6.9. The big server runs 64-bit version, due to the 12GB memory.
  • Both have no other traffic, beside small SSH, and occasional ping every second.
  • Both have ‘tcp_moderate_rcvbuf’ on.

Questions:

  1. Why the imbalanced?
  2. Which area should I look to see if the socket buffer is heavily utilized on one side, and how?
  3. Beside iperf, what are other good software (not hardware/tester) to measure the performance?
  4. What’s the best way to get an insight on how Linux allocating the buffer, from the Ethernet ring buffer, TCP buffer, socket buffer, and other buffers?
  5. What could be the other entity that might impact the throughput that I haven’t covered above?
  6. Is there any documentation that explains how Linux distributes the memory allocation between user, kernel, device drivers, and network stack?

Any advise is deeply appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:36:03+00:00Added an answer on May 11, 2026 at 3:36 am

    Suggestions:

    • Take a look at the actual settings on your Ethernet interfaces. ‘ethtool’ is one way to get a thorough look. ‘ifconfig’ tells you something, though less. (Both probably in /usr/sbin/.) Finding kernel messages with ‘dmesg’ might tell you something. Looking at link error rates might reveal something too.
    • Querying your switch for its idea of port state might also reveal what’s really going on. (Not relevant if you’re just using a CAT5 cable between interfaces, without a switch.)
    • Since one pair of machines works as you expect, while another pair of machines doesn’t, I’m thinking about some anomaly with duplex autonegotiation. Half-duplex is unusual for GigE but perhaps your switch or NIC is causing it. Discovering a half-duplex setting anywhere, or especially a disagreement between a host and its switch about port state, could be possible cause.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, i have simple scenario: have two pages: login and welcome pages. im using
I have a simple scenario where a panel needs a masked loading indicator over
I have a deceptively simple scenario, and I want a simple solution, but it's
Pretty simple scenario. I have a web service that receives a byte array that
Here's my scenario: I have a simple stored procedure that removes a specific set
Scenario. I have a client with two network connections to a server. One connection
In this scenario there are two database servers: one is in our LAN (Server
I have a following fairly simple scenario: Some data needs to be written into
I have simple regex \.*\ for me its says select everything between and ,
In general, is it a best practice to have simple POJO Java classes implement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.