Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Newbie
    Join Date
    Jun 2021
    Posts
    6

    Unhappy Download speed is half of upload

    Hello,

    New to Untangle, tested it in a virtual machine before installing it on bare metal.

    I have a strange issue with download speed, it is half of my upload speed. I have a gigabit contract with my ISP.

    2021-06-27_14h26_36.png

    I was using an EdgeRouter lite from Ubiquity and could hit 900 mbps upload/download with no problems. Also when testing the virtual machine (PC -> VM -> EdgeRouter -> ISP).

    I tested with all apps disabled:
    2021-06-27_14h34_58.png

    QoS disabled.

    Hardware: i5-7500, 8GB RAM.
    NICs:
    - I219-LM (on motherboard) -> LAN
    - Dual port PCI Express board, connected on first PCIEx16 (2xIntel Corporation 82571EB). Port 1 is WAN, Port 2 is OPT (unused).

    Any ideas or additional changes I could make?

    Thanks!

  2. #2
    Untangler
    Join Date
    May 2008
    Posts
    387

    Default

    What hypervisor?

  3. #3
    Untangle Ninja dwasserman's Avatar
    Join Date
    Jun 2008
    Location
    Argentina
    Posts
    4,366

    Default

    Try disabling Shield in config/system/shield
    The world is divided into 10 kinds of people, who know binary and those not

  4. #4
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    9,671

    Default

    Also check that the QoS is set correctly for your bandwidth in Config -> Network -> Advanced -> QoS.
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  5. #5
    Newbie
    Join Date
    Jun 2021
    Posts
    6

    Default

    What hypervisor?
    -- The VM was just for testing (Hyper-V). It ran at 900 up/down using Edgerouter as the router.

    I tried disabling Shield -- same result.

    QOS is disabled:
    Queue Discipline: Fair/Flow Queueing + Codel (fq_codel)
    QoS Enabled: [unchecked]

  6. #6
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,129

    Default

    SSH into your box, run this:

    Code:
    service untangle-vm stop
    Run your test, if you still see the performance issue, your problem is in your hardware because that's just the Linux kernel now... no "Untangle" at all.

    Code:
    service untangle-vm start
    to get Untangle going again.

    Gigabit filtration is hard...
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  7. #7
    Newbie
    Join Date
    Jun 2021
    Posts
    6

    Default

    Quote Originally Posted by sky-knight View Post
    Gigabit filtration is hard...
    This will be fun to troubleshoot

    With untangle-vm stopped I get the expected speeds:
    2021-06-28_11h11_36.png

  8. #8
    Newbie
    Join Date
    Jun 2021
    Posts
    6

    Default

    Usage during the test:
    2021-06-28_11h15_11.png

  9. #9
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,129

    Default

    Given a virtual Untangle, I'm going to assume your Hypervisor isn't giving priority scheduling to the Untangle VM. A lack of CPU or RAM resources will directly impact bandwidth. Untangle CANNOT WAIT, it needs ultimate priority for hardware access or you will have performance issues.

    This is the largest reason why virtual Untangle isn't supported. Yes, it works... and yes it's magic. But it's several orders of magnitude more complex to maintain.

    P.S. If the UVM is off, the UI is down. So I have no idea how you got that screen shot while the "test" was running. That is, unless that's a test while the UVM is running in which case ignore this.
    jcoffin likes this.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  10. #10
    Newbie
    Join Date
    Jun 2021
    Posts
    6

    Default

    It seems I did not express everything clearly so I will try to summarize what we tested so far:

    Regarding the virtual machine: I tested Untangle in a VM first, between my workstation and my old router. After I liked what I saw, I purchased a PC (Fujitsu Esprimo D957), put a dual port PCIe card, and installed Untangle on that.
    With the test vm, Untangle had no problem hitting gigabit, sitting between my workstation and my old router. Plus I'm sure others hit gigabit speeds with most apps enabled.

    All further tests were on the Fujitsu PC, with Untangle installed on bare-metal.

    Hardware information:
    Platform: Fujitsu Esprimo D957 Intel Core i5-7500 3.40 GHz, 8 GB DDR4, 256 GB SSD M.2, SFF
    Network cards:
    (1) I219-LM (on motherboard): LAN
    (2) HP brand dual port PCI Express x4 board, connected on first PCIEx16 (2xIntel Corporation 82571EB). Port 1 is WAN, Port 2 is OPT (unused).

    WAN is PPPoE.

    Tests:
    - With service untangle-vm stopped: 800 down / 900 up; 0.1% CPU usage (top)
    - With service untangle-vm started: 450 down / 900 up; 60% CPU usage (top)

    Settings with untangle-vm started:
    - QoS disabled
    - Shield disabled
    - All apps disabled (+reboot)
    - ran top during test: about 60% CPU during both upload and download.

    Notes/guesses:
    - If this was a hardware/kernel issue, it would show up during testing with untangle-vm stopped.
    - Maybe some app doesn't really stop and is still active, causing 60% CPU usage
    - Troubleshooting / Download Test (http://cachefly.cachefly.net/50mb.test): 43 MB/s
    - http://ipv4.download.thinkbroadband.com/1GB.zip: 18 MB/s
    extract from logs (I don't know what the penultimate column shows, it seems to vary):
    314050K .......... .......... .......... .......... .......... 29% 96.1M 83s
    314100K .......... .......... .......... .......... .......... 29% 101M 83s
    314150K .......... .......... .......... .......... .......... 29% 31.5M 83s
    314200K .......... .......... .......... .......... .......... 29% 2.70M 83s
    314250K .......... .......... .......... .......... .......... 29% 52.4M 83s
    full log: https://zerobin.net/?0f6a99c7fc3c49f...220xVU8YQINqc=

    - Maybe I should simply reinstall and test again
    - Switch network ports?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2