Very Slow Network Transfer - Hours - X5000
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    I am tinkering with MorphOS 18 on my AmigaOne X5000 non registered version.

    I just booted, clicked Network, saw my NAS, and I started a transfer of a 300MB video.

    The speed is less than snails.

    As you will see from the picture, it says 2 + hours.

    This forum appears to not allow me to add a picture.

    Let me make a video and post the link to my YouTube Channel so you can see.

    Is this common for a network transfer from a NAS?

    Is it a setting thing I need to change?

    Curious.

    Thanks

    TJ

    The video showing how slow.

    https://youtu.be/TG5I8yz_t3c



    https://youtu.be/TG5I8yz_t3c

    [ Edited by amigasociety 09.03.2025 - 15:15 ]
  • »09.03.25 - 23:17
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    It'd help if you could provide more details. Like the network connection type you're using. It may be a good idea to enable the Netlamps screenbar, that'll also let you open the stats window where you'll see the current up/down transfers.
  • »10.03.25 - 02:31
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Quote:

    jacadcaps wrote:
    It'd help if you could provide more details. Like the network connection type you're using. It may be a good idea to enable the Netlamps screenbar, that'll also let you open the stats window where you'll see the current up/down transfers.


    Thank you.

    As I am new to MorphOS, is this Netlamps a setting in MorphOS I can turn on?

    Please point me to that and I will do that and do the same test.

    Meanwhile...
    I am directly connected to my Internet Router that my fiber internet folks provided.
    I am on 1Gig Fiber here and the router has 5 ports.
    The NAS is directly connected to the same.
    I will get model info later today as well as do a test of unplugging the exact cable from my X5K and plug into my 2019 Mac Pro and do a transfer to make sure no cable issue.
    I will transfer the same file in question as well.

    Thanks

    TJ
  • »10.03.25 - 14:10
    Profile Visit Website
  • Moderator
    Kronos
    Posts: 2384 from 2003/2/24
    Netlamps is a screenbar module which you can select by right clicking the screens depth gadget (top right).

    Question, how fast is downloading a big file over the 1GBit Internet connection?
  • »10.03.25 - 14:31
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12282 from 2003/5/22
    From: Germany
    >> enable the Netlamps screenbar, that'll also let you open the
    >> stats window where you'll see the current up/down transfers.

    > is this Netlamps a setting in MorphOS I can turn on?

    Netlamps is a screenbar module, see https://library.morph.zone/Screenbar_Modules for more information on screenbar modules in general and on the Netlamps module in particular.


    Edit: Kronos beat me to it.

    [ Edited by Andreas_Wolf 10.03.2025 - 14:33 ]
  • »10.03.25 - 14:33
    Profile
  • Butterfly
    Butterfly
    SkulleateR
    Posts: 65 from 2023/9/19
    I don´t have a real NAS, only some network shares and 4TB HDD connected to my router as "wannbe NAS" and I get something like 14 to 16 MB/s on my Mac G5 ... just tested with a 2GB file which took around 2 minutes to transfer.

    What kind of NIC does the X5000 have ? Did you test the transfer speeds on AOS4 and/or Linux on the machine ?
  • »10.03.25 - 14:35
    Profile
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Thank you folks.


    Later today I will do more testing and I will try this Netlamps when I do the tests.


    The X5K has an on-board ethernet port and that is what I connected to, as a side note.

    I will test later running a www.testmy.net again but yesterday I was getting only 10 to 12Mbs speed for downloads over the fiber internet in Wayfarer.

    Seems very off.

    Is the www.testmy.net in Wayfarer not a valid test or real speed? Maybe it is off?

    Of course that is faster than my 4Mbps Odyssey does in Amiga OS 4.1 LOL!

    But yeh something is not right.

    Once I run the test again I will disconnect the ethernet cable from my X5K and connect to my 2019 Mac Pro and run the same testmy.net for internet download speed so we can see that.

    I will also try to copy the same file as yesterday from my NAS to my Mac Pro for speed.

    Maybe I have a bad cable but don't think so. We will rule that out though.

    I have always had slow www.testmy.net speeds on my X5K in Odyssey, normally down in the 4mpbs range, yet other computers connected to the same router get 900Mbps, one a Ubuntu system and the other a Mac.

    Anyway, I will tinker some more and report back.

    TJ

    [ Edited by amigasociety 10.03.2025 - 06:05 ]
  • »10.03.25 - 15:00
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Quote:

    Kronos wrote:
    Netlamps is a screenbar module which you can select by right clicking the screens depth gadget (top right).

    Question, how fast is downloading a big file over the 1GBit Internet connection?




    I guess I need to figure out what file to download that is around 1gb in size. haha.

    My guess the www.testmy.net is not a good gauge.

    You know of any I should try this with and I can have the Netlamps up and running and make a video when I try it?

    TJ
  • »10.03.25 - 15:07
    Profile Visit Website
  • Moderator
    Kronos
    Posts: 2384 from 2003/2/24
    Quote:

    amigasociety wrote:


    I guess I need to figure out what file to download that is around 1gb in size. haha.

    My guess the www.testmy.net is not a good gauge.





    Why not?

    You won't get full speed as the CPU won't be able to handle the overhead.

    I pay for 50MBit, get 57 on MacStudio, the G5 gets 17.4 with WayFarer and measly 2.7 with Odyssey....
    All still faster than what you describe with your NAS.

    The point here is to determine if it is a general slowness with your NIC, SW overhead (is the CPU maxxed out when downloading from NAS, see Utilties/TaskManager or the CPU screenbar) or is the NAS dropping packages to some issue wuth the protocol used.
  • »10.03.25 - 15:26
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    What you've shown in the video looks like a stall or some error, not a speed issue.It looks like the data isn't actually sent at all.

    As for web speedtests - our networking stack is unfortunately not modern enough to give you better speeds (although one can workaround that by proxying traffic through a local linux machine, see Wayfarer's FAQ about that). This does not affect local traffic, though. That one will be CPU-bound, but would still be way faster than traffic to a remote server. And if your NAS enforces SMB3, your speed will also be affected by en/decryption of all data being sent.

    I'd need a packet capture to be able to say more.
  • »10.03.25 - 16:07
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Did a quick google for MorphOS Packet Capture and not finding anything for a newb.

    If you can let me know how to do this, happy to test that.

    Thanks

    TJ

    Quote:

    jacadcaps wrote:
    What you've shown in the video looks like a stall or some error, not a speed issue.It looks like the data isn't actually sent at all.

    As for web speedtests - our networking stack is unfortunately not modern enough to give you better speeds (although one can workaround that by proxying traffic through a local linux machine, see Wayfarer's FAQ about that). This does not affect local traffic, though. That one will be CPU-bound, but would still be way faster than traffic to a remote server. And if your NAS enforces SMB3, your speed will also be affected by en/decryption of all data being sent.

    I'd need a packet capture to be able to say more.
  • »10.03.25 - 16:22
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    MorphOS comes standard with a tcpdump tool known from Linux. Something like Code:
    tcpdump -i eth0 -s 65535 -w ram:dump
    should do just fine. Start that before you connect to a share.

    But before all that: are you able to copy small files OK? Are you able to copy small files from the NAS?
  • »10.03.25 - 16:41
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Quote:

    jacadcaps wrote:
    MorphOS comes standard with a tcpdump tool known from Linux. Something like Code:
    tcpdump -i eth0 -s 65535 -w ram:dump
    should do just fine. Start that before you connect to a share.

    But before all that: are you able to copy small files OK? Are you able to copy small files from the NAS?


    Thank you.

    I will try to copy few small files and see.

    Will report once I know more.

    TJ
  • »10.03.25 - 16:57
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Just tested on a handful of small 500k to 900k jpgs and they did copy over.

    Slow, as seen in the video, but it did work.

    Then I tried a 80mb file and it failed and back to that same buffering forever and not going to work thing.

    Video showing some of the small JPS transferring with the netlamp and cpu on.

    https://youtu.be/_ZM5xL6KtKc

    TJ

    Quote:

    jacadcaps wrote:
    MorphOS comes standard with a tcpdump tool known from Linux. Something like Code:
    tcpdump -i eth0 -s 65535 -w ram:dump
    should do just fine. Start that before you connect to a share.

    But before all that: are you able to copy small files OK? Are you able to copy small files from the NAS?
  • »10.03.25 - 17:30
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    That could be the network driver dying. Could you open Applications/LogTool when that happens and see if anything interesting pops up there?

    Does Wayfarer keep loading pages when this happens?

    [ Edited by jacadcaps 10.03.2025 - 17:44 ]
  • »10.03.25 - 17:41
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Log Tool open and two videos.

    One copying 10 at a time JPGs over. Worked. Slow but worked.

    https://youtu.be/Ag6LpphDAzo

    Now Log Tool open and trying a 80MB file.

    SLOW SLOW SLOW but did work, took 15 minutes to copy.

    This video just shows a short portion of it. Nothing appears in the Log Tool that I see.

    https://youtu.be/Rr3AVjImY2c

    TJ

    Quote:

    jacadcaps wrote:
    That could be the network driver dying. Could you open Applications/LogTool when that happens and see if anything interesting pops up there?

    Does Wayfarer keep loading pages when this happens?
  • »10.03.25 - 18:10
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12282 from 2003/5/22
    From: Germany
    > What kind of NIC does the X5000 have ?

    It's the QorIQ P5 CPU's onchip GbE NIC.
  • »10.03.25 - 18:17
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    I wonder if it's falling back to a 100Mbps link for you... Does your router have LEDs that show the link speed? If not, double-click on the Network screenbar and open the Network Device tab. That will show the Line Rate at the bottom.
  • »10.03.25 - 19:00
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    My Network Device tab, bottom shows Line Rate 1000 MBits/s, max transmission unit 1500.

    TJ


    Quote:

    jacadcaps wrote:
    I wonder if it's falling back to a 100Mbps link for you... Does your router have LEDs that show the link speed? If not, double-click on the Network screenbar and open the Network Device tab. That will show the Line Rate at the bottom.
  • »10.03.25 - 19:11
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    I also left it open to that Network Device and started that 80MB transfer again just to see if it changes during the transfer.

    It does not, shows 1000MBits/s through the whole download.

    TJ

    Quote:

    jacadcaps wrote:
    I wonder if it's falling back to a 100Mbps link for you... Does your router have LEDs that show the link speed? If not, double-click on the Network screenbar and open the Network Device tab. That will show the Line Rate at the bottom.
  • »10.03.25 - 19:14
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3184 from 2003/3/5
    From: Canada
    The link speed does not change over time.

    I guess it’s time for that tcpdump…
  • »10.03.25 - 19:20
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    Quote:

    jacadcaps wrote:
    The link speed does not change over time.

    I guess it’s time for that tcpdump…


    Let me give that a whirl.

    Once done, it is something I can save and attach to this thread?

    Or cut and past to the thread?

    TJ
  • »10.03.25 - 19:43
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 70 from 2023/12/1
    The video will show it BUT, I was just able to test 5 times and if I type the tcpdump command as you stated before doing anything else, it brings up a Net Log window, and neither show much but you can see in the video what they show and end with, the Transfer WORKS, and Much Faster!

    Still Slow as I would think a 300MB file should take 20 to 30 seconds and not 2+ minutes BUT, it works.

    I did this 5 times. Every time and between reboots, it just worked.

    The 80MB file took about 45 seconds or so off the top of my head.

    Now, the WEIRD... the second I don't bring up a shell and type the TCPDUMP command, and try to do a transfer, it DOES NOT work, same old buffering and slow slow slow and I can't wait it out.

    TJ

    https://youtu.be/N3Zi9Yqb1Sg

    Quote:

    jacadcaps wrote:
    The link speed does not change over time.

    I guess it’s time for that tcpdump…
  • »10.03.25 - 20:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 727 from 2004/2/10
    For a benchmark comparison on my G5 and my NAS with a PCIe Nic on a wired network:
    350MB file from NAS to G5 - 7 Seconds
    350MB file from G5 to NAS - 25 Seconds

    I did it multiple time and was very consistent.

    Good luck!
  • »10.03.25 - 21:05
    Profile