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

    Try to download a 500GB file/VM via FTP and see how packetloss and timeouts affect performance

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 633 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.
    • Cool_CoronaC
      Cool_Corona
      last edited by

      Hi there

      Downloading a wide variety of VM's and pfsense just chokes despite Suricata disabled and running on 1 core only.

      It takes about 20 seconds for the transfer to resume and timeouts every 8-10 minutes.

      Any ideas?

      Nothing in the logs at all.

      1 Reply Last reply Reply Quote 0
      • V
        verizu
        last edited by

        do you have some sort of monitoring in place that could help investigate the bottleneck ?

        1 Reply Last reply Reply Quote 0
        • Cool_CoronaC
          Cool_Corona
          last edited by

          Nothing in the server logs at all (application, security, setup, system)

          Everything is running as it should serverside.

          e0d70879-846d-4e82-a8fa-5910fd971e04-billede.png

          Only thing that sticks out.

          1 Reply Last reply Reply Quote 0
          • V
            verizu
            last edited by

            hmm maybe try using legacy blocking mode (pcap) instead of netmap ?

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

              Well I don't think I have ever downloaded a single 500GB file.. But I have downloaded say 30GB worth of files that are like 2GB each via ftp recently as a test for ftp (dead protocol) speed vs syncing the data via resilio And never seen an issue..

              But I have many days of downloading from my server. with large amounts of data.. Looking sofar for may I am at 2.86TB for the month.. Most likely I could top 3TB this month.. I have quite a few files to still grab..

              I have never seen such an issue downloading anything.. And I download quite a bit, but its mostly via https from my server and using multiple streams to max it out my connection 500Mbps.. I normally get 60MBps - and this runs at that speed sustained for the transfer... Not sure I want to test with 500GB file ;) but sure could zip up some files on the server to create a decent sized file and download that via ftp..

              It's zipping up now.. Will download and let you know how it goes. I need to grab the files anyway.

              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
              • Cool_CoronaC
                Cool_Corona
                last edited by

                Filezilla is the FTP client but could try WinSCP instead.

                30GB is not a problem banging away with 400mbit. It needs to run for a while.

                Maybe 100GB would cut it.

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

                  Ok 55ish gig file created on server.. Its downloading now - I will keep an eye on it... Got it up on my other monitor, see if I notice if it stalls.

                  dlownload.jpg

                  edit: Ok 10 min in... Haven't noticed any sort of stalls or blips.. Its just rocking away.

                  10min.jpg

                  edit2: Ok 20 min in... Have not noticed any sort of blips or stalls.. I would think such a stall would of been a big hit on the transfer rate.. Which is staying pretty freaking close to what it started at.

                  20min.jpg

                  edit3: ok complete - 30 min transfer.. Never saw any blips...
                  done.jpg

                  You saying your seeing it stall like every 8-10 I should of seen atleast 2..

                  Status:	File transfer successful, transferred 55,293,613,316 bytes in 1802 seconds
                  

                  Pretty much sustained 30MBps the whole time..

                  Something on the box your downloading from, their connection, your connection... But I don't see it as something wrong with pfsense.. Other than an increase in the interrupts.. My 4860 didn't even seem to break a sweat..

                  interupts.jpg

                  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
                  • Cool_CoronaC
                    Cool_Corona
                    last edited by

                    Thanks for the efforts. I am seeing a 6% packetloss so far.

                    Have to look into some hardware issues. BRB.

                    1 Reply Last reply Reply Quote 0
                    • Cool_CoronaC
                      Cool_Corona
                      last edited by

                      Changed the NIC to an Intel ET adapter from a Marwell Yukon. No packetloss and so far still a stable connection.

                      Looks like the Marwell driver has a memory leak.

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