Issue Gathering Ethernet Error Metrics on Ubuntu with Intel X550 NIC












0















I am working on some cable benchmarking and have been having some problems gathering accurate ethernet error statistics. When running traffic generation software, I found that the OS counters (both ifconfig and /proc/net/dev) always have ethernet errors at 0 even though typically well performing ethernet have at least 1 in 1012 bit error rate (probably worse since I am using a lossy cable). I am wondering if there is some other place I can look for ethernet metrics. Why does the OS not seem to update the packet errors? Are packets with errors dropped automatically and not counted? Is there some issue with my current NIC/driver/kernel combo? Any tips on how to get more accurate measurements?



Current my setup is 2 linux Ubuntu 16.04.5 LTS servers with a 10gE ethernet running between both. I am using 2 NICs and a cat6 cable going between both servers that supports 10gE. The NIC is using Intel(R) 10 Gigabit PCI Express Network Driver - version 4.2.1-k.



Thanks for any help!










share|improve this question



























    0















    I am working on some cable benchmarking and have been having some problems gathering accurate ethernet error statistics. When running traffic generation software, I found that the OS counters (both ifconfig and /proc/net/dev) always have ethernet errors at 0 even though typically well performing ethernet have at least 1 in 1012 bit error rate (probably worse since I am using a lossy cable). I am wondering if there is some other place I can look for ethernet metrics. Why does the OS not seem to update the packet errors? Are packets with errors dropped automatically and not counted? Is there some issue with my current NIC/driver/kernel combo? Any tips on how to get more accurate measurements?



    Current my setup is 2 linux Ubuntu 16.04.5 LTS servers with a 10gE ethernet running between both. I am using 2 NICs and a cat6 cable going between both servers that supports 10gE. The NIC is using Intel(R) 10 Gigabit PCI Express Network Driver - version 4.2.1-k.



    Thanks for any help!










    share|improve this question

























      0












      0








      0








      I am working on some cable benchmarking and have been having some problems gathering accurate ethernet error statistics. When running traffic generation software, I found that the OS counters (both ifconfig and /proc/net/dev) always have ethernet errors at 0 even though typically well performing ethernet have at least 1 in 1012 bit error rate (probably worse since I am using a lossy cable). I am wondering if there is some other place I can look for ethernet metrics. Why does the OS not seem to update the packet errors? Are packets with errors dropped automatically and not counted? Is there some issue with my current NIC/driver/kernel combo? Any tips on how to get more accurate measurements?



      Current my setup is 2 linux Ubuntu 16.04.5 LTS servers with a 10gE ethernet running between both. I am using 2 NICs and a cat6 cable going between both servers that supports 10gE. The NIC is using Intel(R) 10 Gigabit PCI Express Network Driver - version 4.2.1-k.



      Thanks for any help!










      share|improve this question














      I am working on some cable benchmarking and have been having some problems gathering accurate ethernet error statistics. When running traffic generation software, I found that the OS counters (both ifconfig and /proc/net/dev) always have ethernet errors at 0 even though typically well performing ethernet have at least 1 in 1012 bit error rate (probably worse since I am using a lossy cable). I am wondering if there is some other place I can look for ethernet metrics. Why does the OS not seem to update the packet errors? Are packets with errors dropped automatically and not counted? Is there some issue with my current NIC/driver/kernel combo? Any tips on how to get more accurate measurements?



      Current my setup is 2 linux Ubuntu 16.04.5 LTS servers with a 10gE ethernet running between both. I am using 2 NICs and a cat6 cable going between both servers that supports 10gE. The NIC is using Intel(R) 10 Gigabit PCI Express Network Driver - version 4.2.1-k.



      Thanks for any help!







      networking drivers server ethernet






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 26 at 17:44









      jjeremydiaz-rexjjeremydiaz-rex

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          0














          No errors is probably correct, and there is no reason to suspect that this is due to a interface problem between your OS and NIC.



          I run a network with multiple Cisco switches at work, and have traffic counters currently in the triple digits terabyte range - and error counters of all interfaces are nil. Zero. No errors detected.



          You can get more statistics about your NIC with ethtool -S interface, e.g. ethtool -S eth0:



          $ sudo ethtool -S eth0
          NIC statistics:
          tx_packets: 678773569
          rx_packets: 558920576
          tx_errors: 1
          rx_errors: 0
          rx_missed: 20
          align_errors: 0
          tx_single_collisions: 0
          tx_multi_collisions: 0
          unicast: 558918071
          broadcast: 2494
          multicast: 11
          tx_aborted: 0
          tx_underrun: 0


          That's from a Linux machine with ~1TiB of traffic in total.



          Typically your switch, if you have a managed switch, will also have interface counters. On Cisco show interfaces counters should give you the counters, including errors. Expect it to show 0 errors.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113112%2fissue-gathering-ethernet-error-metrics-on-ubuntu-with-intel-x550-nic%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            No errors is probably correct, and there is no reason to suspect that this is due to a interface problem between your OS and NIC.



            I run a network with multiple Cisco switches at work, and have traffic counters currently in the triple digits terabyte range - and error counters of all interfaces are nil. Zero. No errors detected.



            You can get more statistics about your NIC with ethtool -S interface, e.g. ethtool -S eth0:



            $ sudo ethtool -S eth0
            NIC statistics:
            tx_packets: 678773569
            rx_packets: 558920576
            tx_errors: 1
            rx_errors: 0
            rx_missed: 20
            align_errors: 0
            tx_single_collisions: 0
            tx_multi_collisions: 0
            unicast: 558918071
            broadcast: 2494
            multicast: 11
            tx_aborted: 0
            tx_underrun: 0


            That's from a Linux machine with ~1TiB of traffic in total.



            Typically your switch, if you have a managed switch, will also have interface counters. On Cisco show interfaces counters should give you the counters, including errors. Expect it to show 0 errors.






            share|improve this answer




























              0














              No errors is probably correct, and there is no reason to suspect that this is due to a interface problem between your OS and NIC.



              I run a network with multiple Cisco switches at work, and have traffic counters currently in the triple digits terabyte range - and error counters of all interfaces are nil. Zero. No errors detected.



              You can get more statistics about your NIC with ethtool -S interface, e.g. ethtool -S eth0:



              $ sudo ethtool -S eth0
              NIC statistics:
              tx_packets: 678773569
              rx_packets: 558920576
              tx_errors: 1
              rx_errors: 0
              rx_missed: 20
              align_errors: 0
              tx_single_collisions: 0
              tx_multi_collisions: 0
              unicast: 558918071
              broadcast: 2494
              multicast: 11
              tx_aborted: 0
              tx_underrun: 0


              That's from a Linux machine with ~1TiB of traffic in total.



              Typically your switch, if you have a managed switch, will also have interface counters. On Cisco show interfaces counters should give you the counters, including errors. Expect it to show 0 errors.






              share|improve this answer


























                0












                0








                0







                No errors is probably correct, and there is no reason to suspect that this is due to a interface problem between your OS and NIC.



                I run a network with multiple Cisco switches at work, and have traffic counters currently in the triple digits terabyte range - and error counters of all interfaces are nil. Zero. No errors detected.



                You can get more statistics about your NIC with ethtool -S interface, e.g. ethtool -S eth0:



                $ sudo ethtool -S eth0
                NIC statistics:
                tx_packets: 678773569
                rx_packets: 558920576
                tx_errors: 1
                rx_errors: 0
                rx_missed: 20
                align_errors: 0
                tx_single_collisions: 0
                tx_multi_collisions: 0
                unicast: 558918071
                broadcast: 2494
                multicast: 11
                tx_aborted: 0
                tx_underrun: 0


                That's from a Linux machine with ~1TiB of traffic in total.



                Typically your switch, if you have a managed switch, will also have interface counters. On Cisco show interfaces counters should give you the counters, including errors. Expect it to show 0 errors.






                share|improve this answer













                No errors is probably correct, and there is no reason to suspect that this is due to a interface problem between your OS and NIC.



                I run a network with multiple Cisco switches at work, and have traffic counters currently in the triple digits terabyte range - and error counters of all interfaces are nil. Zero. No errors detected.



                You can get more statistics about your NIC with ethtool -S interface, e.g. ethtool -S eth0:



                $ sudo ethtool -S eth0
                NIC statistics:
                tx_packets: 678773569
                rx_packets: 558920576
                tx_errors: 1
                rx_errors: 0
                rx_missed: 20
                align_errors: 0
                tx_single_collisions: 0
                tx_multi_collisions: 0
                unicast: 558918071
                broadcast: 2494
                multicast: 11
                tx_aborted: 0
                tx_underrun: 0


                That's from a Linux machine with ~1TiB of traffic in total.



                Typically your switch, if you have a managed switch, will also have interface counters. On Cisco show interfaces counters should give you the counters, including errors. Expect it to show 0 errors.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 27 at 16:15









                vidarlovidarlo

                10.5k52547




                10.5k52547






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113112%2fissue-gathering-ethernet-error-metrics-on-ubuntu-with-intel-x550-nic%23new-answer', 'question_page');
                    }
                    );

                    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







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido