Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ESXi 5.5 packet loss

    Scheduled Pinned Locked Moved Virtualization
    13 Posts 4 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arozanov
      last edited by

      Hello! I have a problem with packet loss on ESXi 5.5. PFsense 2.2.4 (works like nat, fw) openvm-tools, vmxnet3.
      In pfsense performance tab i saw packet loss (picture 1, don't watch on the highest peaks, its when rebooted)
      It's always receive loss, transmit is ok.
      After ENABLING(!) i.e untick "Disable hardware TCP segmentation offload" and "Disable hardware large receive offload" the performance tab looks like picture 4, it seems like loss now rare, but it happens.
      According with http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010071
      i want to try edit RX Ring buffers, but don't know how :) And how to view current parameters of buffers? How to monitor where is bottleneck on pfsense and what i need to increase/tune?
      Your help very appreciated, thanks.
      1.jpg
      1.jpg_thumb
      4.jpg
      4.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        how many packets?  I am not seeing this at all..

        nodropps.png
        nodropps.png_thumb

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • A
          arozanov
          last edited by

          @johnpoz:

          how many packets?  I am not seeing this at all..

          Sorry, don't know why, but its problem with screenshot from vsphere client. Something around 50-300 packets every 30-60 mins.
          Before tuning, it was 200-400 every minute.

          drops.JPG
          drops.JPG_thumb

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            no not how many drops how many TOTAL packets – ie the ones your not dropping.  See my screen shot.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • A
              arozanov
              last edited by

              @johnpoz:

              no not how many drops how many TOTAL packets – ie the ones your not dropping.  See my screen shot.

              Ah, ok.

              pckts.JPG
              pckts.JPG_thumb

              1 Reply Last reply Reply Quote 0
              • H
                Halvsvenskeren
                last edited by

                Try to see if E1000 network adapter works better for comparison.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  So your seeing a LOT of packets!!!  Yeah I think adjusting the ring value or ring 2 value might be in order.. But sorry not sure how to do that in freebsd or pfsense.. linux normally just a simple ethtool -G

                  With intel something with sysctl hw.em.rxd= but not sue with using the vmx3??

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • A
                    arozanov
                    last edited by

                    @johnpoz:

                    So your seeing a LOT of packets!!!  Yeah I think adjusting the ring value or ring 2 value might be in order.. But sorry not sure how to do that in freebsd or pfsense.. linux normally just a simple ethtool -G

                    With intel something with sysctl hw.em.rxd= but not sue with using the vmx3??

                    Yes, same problem for me. Not sure, can i write just something like hw.vmx.rxd=4096? And which parameter for ring value, and which one for ring 2?…..

                    1 Reply Last reply Reply Quote 0
                    • A
                      arozanov
                      last edited by

                      @Halvsvenskeren:

                      Try to see if E1000 network adapter works better for comparison.

                      Its a little problematic for me. But can be done, if needed. I thought, it will be the same problem.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Halvsvenskeren
                        last edited by

                        We saw much better performance from the E1000 than VMXnet2 and 3.

                        Try it and report back.

                        1 Reply Last reply Reply Quote 0
                        • A
                          arozanov
                          last edited by

                          @Halvsvenskeren:

                          We saw much better performance from the E1000 than VMXnet2 and 3.

                          Try it and report back.

                          Ok, will try later today and will report back.

                          1 Reply Last reply Reply Quote 0
                          • A
                            arozanov
                            last edited by

                            So, the problem was with receiving buffers. According with https://www.freebsd.org/cgi/man.cgi?query=vmx&sektion=4  i increased buffers of vmx adapters and problem is gone (em works well too, with tuned buffers). After, jumbo frames was overloaded, so i increased this parameter too.
                            The same with receiving buffers on windows clients, but this is another story…

                            Thanks, guys! :)

                            1 Reply Last reply Reply Quote 0
                            • A
                              anzak84
                              last edited by

                              Which commands were executed on pfsense?
                              System: Advanced: System Tunables
                              hw.em.txd value
                              hw.em.rxd value
                              right?

                              System 2 Nics  Wan -em1000 and Lan -em1000

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.