Thread: Performance of the Ethenet card

  1. #1
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342

    Performance of the Ethenet card

    I am trying to run some tests by puting together two Intel machines with Realtek RTL-8139 NIC's. Is there a way to find out the peak bandwidth offered by this piece of hardware?
    In the middle of difficulty, lies opportunity

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Well, it says on the box. Assuming your are using good quality CAT-5 cables, you are expected to be able to transfer data up to 100Mbps
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342
    Cool!! I am using CAT5. I have lost the box,actually. I tried to locate the datasheet for this hardware, it spoke of something in the range of 100MBps too.
    In the middle of difficulty, lies opportunity

  4. #4
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    If Google is right it said your NIC runs at up to 100mb/s which is pretty standard I guess.

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Generalyl, expect about 98&#37; performance. Also 100 Mbps will yield about 10 MBps due to overhead and dropped packets.

    This thread shoudl probablye be moved to network/device communications.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    in case you didn't know, the b here stands for bits, not the more commonly used bytes. 8 bits = 1 byte, therefore, 100Mbps = 12.5MBytes/s

  7. #7
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by cyberfish View Post
    in case you didn't know, the b here stands for bits, not the more commonly used bytes. 8 bits = 1 byte, therefore, 100Mbps = 12.5MBytes/s
    And in a real-life situation with two machines next to each other, I got large (10s to 100s of megabytes) file-transfers at around 11-11.5MBytes/s. Smaller file transfers (at least using "scp") gets less reliable because:
    1. the timing is in seconds, so the error is often large if the time is less than several seconds.
    2. The protocol overhead at start and end of communication is more noticable [this is usually very short packets that require a response before the next packet can be sent - once it gets into the stride of actually sending your file-data, it fires of multiple packets in the sequence and the response usually gets back before it has to start waiting].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bitwise Unwanted Output
    By pobri19 in forum C++ Programming
    Replies: 4
    Last Post: 09-15-2008, 04:07 AM
  2. Vector out of range program crash.
    By Shamino in forum C++ Programming
    Replies: 11
    Last Post: 01-18-2008, 05:37 PM
  3. Segmentation Fault - aaaaaaaah!
    By yogibear in forum C Programming
    Replies: 6
    Last Post: 10-01-2007, 03:21 AM
  4. Blackjack
    By Tommo in forum C Programming
    Replies: 10
    Last Post: 06-20-2007, 08:07 PM
  5. How can I access a struct (from a header file)?
    By loxslay in forum C++ Programming
    Replies: 3
    Last Post: 10-07-2006, 01:25 PM