Very slow file copying over gigabit network between 2 macs running Mojave

My setup is as follows:


Gigabit network all cat 6.

Mac Mini late 2014 server running Mojave. USB 4 GB drive connected via USB 3.0.

Airport Extreme with USB 4 GB drive connected via USB 2.0.

Macbook Pro running Mojave.


Copying a 20GB Photos backup file to the Airport Extreme is much faster than copying to the external drive on the Mac Mini, or the internal SSD on the Mac Mini. Copying to the Airport Extreme takes 17-19 min while copying to the Mac Mini takes 30-31 minutes.


I've tried AFP or SMB on the Mac Mini and neither makes a difference. I'm simply mounting the drives through Finder and copying the file over. I can't for the life of me figure out how the Airport Extreme could be faster over a USB 2.0 connection.




MacBook Pro

Posted on Jan 23, 2020 6:36 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 24, 2020 5:02 AM

Have you verified on the Mini that it is really connected at 1Gb?

System Preferences->Network->Advanced->Hardware


Reason I ask is that the math seems to indicate it is connecting

100 Mb. If a cable or connector is bad, it will revert to this if it

is not totally faulty. Gigabit ethernet uses all four pairs but

100 megabit only uses two. There could also be something

else wrong as well that is limiting to 100 Gb.

Similar questions

12 replies
Question marked as Top-ranking reply

Jan 24, 2020 5:02 AM in response to htmanning

Have you verified on the Mini that it is really connected at 1Gb?

System Preferences->Network->Advanced->Hardware


Reason I ask is that the math seems to indicate it is connecting

100 Mb. If a cable or connector is bad, it will revert to this if it

is not totally faulty. Gigabit ethernet uses all four pairs but

100 megabit only uses two. There could also be something

else wrong as well that is limiting to 100 Gb.

Jan 23, 2020 9:07 PM in response to htmanning

htmanning wrote:

I've tried to turn of packet signing per this link with no luck.
https://support.apple.com/en-us/HT205926

Disabling/enabling SMB packet signing really doesn't matter in this scenario. It tends to be better suited when the SMB server is a non-Apple entity, like a Windows server or a NAS. Apple has pretty much drank the SMB Kool-aid and has abandoned AFP for use only for Time Machine backups to a Time Capsule (TC). macOS Mojave has full SMB 3.x support.


If you get a chance to try Throughput Test and should nothing significant come up as the result, the next step would be to perform a data capture of a file transfer using something like Wireshark. Analyzing the results make indicate that there is a network bottleneck during the file transfer process. Unfortunately, it cannot tell you why. That would take a bit more detective work. There is a lot of info on using Wireshark for this exact purpose on the Internet.


You mention that everything is hardwired. Are both of these devices directly connected to the AirPort Extreme or are there any Ethernet switches between them?

Jan 23, 2020 8:34 PM in response to htmanning

Are both Macs connected by wireless to the AirPort Extreme base station? Have you run any wireless throughput tests between these two devices to see if the issue is more network than file transfer protocol related? That is, use something like iperf or a GUI equivalent, like TamoSoft's Throughput Test? This would establish a throughput baseline to work from.


If you run a simple ping between these devices, do you see any dropped packets or significant RTT times (> 10ms)?

Jan 24, 2020 8:49 AM in response to htmanning

Both the AirPort Extreme and Time Capsule will use SMB 1.0 for basic file transfers, but use AFP for Time Machine backups. The Apple base stations do not support SMB 2.x or 3.x. However, you can "force" which protocol to use for file transfers by how you mount their drives, i.e., afp:// or smb://


Again, without knowing your complete network configuration and how you have these devices interconnected it would be difficult to say why you are seeing "better" throughput performance with the AirPort Disk vs. Mac-to-Mac transfers.

Jan 25, 2020 8:04 AM in response to htmanning

htmanning wrote:

.....
I also use this server for Time Machine backups for one of my Macs. I reboot it automatically weekly, but maybe there was some caching issue. ...

FWIW, I never reboot my MacMini I use as a server except for

macOS updates and if I think there may be an issue (which is rare).

So far, its been online since just before Christmas which was last time

I did a system update. Of course it is on a UPS and runs 24/7.

I also have content caching enabled. Perhaps that was causing something, although the reboot and resetting of the NVRAM should have resolved it. ..

I also have Content Caching enabled and the last time I messed with that

was about 4-5 months ago when I updated the external drives to SSDs.

Jan 24, 2020 1:07 PM in response to woodmeister50

Thanks so much! This is the most help I've ever received in this forum.


Based on @woodmeister50's reply, I tested some other Macs. They were blazing fast - half the time of the Airport Extreme. So I started swapping out all of my cables for testing purposes. I could not isolate the problem to a specific cable even after testing them one by one, but after several reboots the problem seems to be resolved. I had rebooted before and cleared the NVRAM, but the problem persisted so I'm not sure the rebooting did anything. I'm wondering if there was dust in the cable connector that maybe downgraded one of the cables to 100mb? That's just a guess.


I also use this server for Time Machine backups for one of my Macs. I reboot it automatically weekly, but maybe there was some caching issue.


I also have content caching enabled. Perhaps that was causing something, although the reboot and resetting of the NVRAM should have resolved it.


I will keep an eye on it to see what happens. Thank you to everyone who chimed in. The feedback was very helpful.

Jan 23, 2020 8:44 PM in response to Tesserax

Everything is hard wired via Cat6.


I'll look into that software. I've only run the Network Utility, nothing more.


I've tried to turn of packet signing per this link with no luck.

https://support.apple.com/en-us/HT205926


This really defeats the purpose of running a server. I set this up hoping to improve the Time Machine speed, especially when restoring files and moving around in Time Machine. My theory was that USB 3 on the Mac Mini would be faster than the USB 2 on the Airport Extreme. Unfortunately, it hasn't played out that way in practice. The Airport Extreme seems much more reliable and faster.

Jan 24, 2020 12:14 PM in response to htmanning

Something you didn't mention or may have tried already,

does the slow transfer also occur when transferring from

the Mini to other devices? From Mac to Mac (not the Mini)?


FWIW, this really isn't comparing Apples to Apples (no pun intended),

but I just did a test on my system. I have a 2010 MacMini that I

am using as a home server/iTunes Master library which only has

USB2, an AEBS (the last pizza box version), and my test machine

is a late 2013 27" iMac. I transferred one of my back up folders of images

that was 15 GB and around 1010 files and the transfer took about 8 minutes.

The 8 minutes was limited by USB 2 of the Mini and the number of files.

This also seems close to your experience with AEBS>Mac transfers given it's a

Photos library which will have a lot more small files involved.


All machines are configured for SMB transfers, the Mini is the most current

High Sierra and the iMac is the most current Catalina. All the drives used on

the machines are APFS (recently upgraded my external drives on the Mini to SSD).


Something does seem a bit amiss with your Mini that you are using as a server.


Here is another thought on your Mini, I hope you don't have any 3rd party

antivirus software on the Mini? Also, do you have any other apps or utilities

running on the Mini?





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Very slow file copying over gigabit network between 2 macs running Mojave

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.