NC- APFS slow copy speed [FIXED]
Posted: Fri Jan 05, 2018 7:50 am
Hi Guys
I have a Synology DS216+II (higher end spec NAS) for my NAS storage.
I use SMB network shares from my Mac's to the NAS as i have done quite
a bit of reading on forums etc, and it seems Apple themselves are trying
to phase out AFP. My time machine backups would constantly crash when using AFP.
Moving to SMB has completely fixed that issue. I was also not seeing full
network speeds with AFP anyway. But i have fully migrated to using
only SMB on all devices on my network now as this seems to be the default
for Apple (correct me if im wrong, this is just what i can see from reading many forums)
To start i have made sure that im using SMB version 3 for my tests below.
My synology was forcing version 2 for some reason and this created some
crappy behavior when renaming folders etc, whereby it would actually create
a new folder and copy the contents from the old folder to the new folder when
using SMB v2, i fixed this by not forcing SMB v2 in my Synology and now all
shares connect using SMB v3 and this works flawlessly now. None of the
behavior above experienced......yay
Here you can see my share is definitely using SMB v3 now :
Then i read further on some more posts about SMB copy speed and saw many
posts about Client Signing which slows down copies over SMB.
This was introduced in Sierra to take care of vulnerabilities etc.
But im ok disabling this as i dont use SMB over the internet. this is local to my home.
I followed this website : https://dpron.com/os-x-10-11-5-slow-smb/
and specifically applied this :
I also came across another site with some advice on speeding up browsing
on network shares (this one probably does not relate to Nimble but thought
id still add it here in case this helps any of you)
So i noticed that when i open certain folders with allot of files (1000 plus)
it would take some time before the contents are displayed.
Applying this fix, seems to have made it allot faster
Website : https://support.apple.com/en-us/HT208209
What i applied specifically :
Now for my findings on copy speed.
Nimble seems to be allot slower when copying from Network SMB shares
to my local disk.
It will always pause for some time after initiating the copy. Where you will
see the copy process appear in the notification area of Nimble
and it seems paused for quite some time before the copy actually starts.
The copy will also always start around 15/Mb/s and slowly creep up in speed.
So when copying a large 3.3gig file from SMB to local disk it will start copying
at 15MB/s or so and then slowly creep up to about 67MB/s by the end of the copy.
It steadily creeps up from the starting copy speed of 15MB/s. This seems true
for all files but its more noticeable on large files as they take longer and you can
easily see the behavior.
Here is the end of a copy in Nimble from SMB share to my local disk (SSD) :
Doing the exact same file copy in Finder from SMB share to my local disk seems
to yield better speeds.
I copied the exact same file from SMB to my local disk and then monitored the
Disk Write speed in Activity Monitor.
Here you can see the write speed at about half way through the copy.
It also starts copying immediately and there is no momentary pause like there
is in Nimble when initiating the copy. it will also start the copy off with a speed
around 65-70MB/s and quickly move up to the upper 90's MB/s
As seen in this screen capture :
Doing the same file copy in the reverse direction with Nimble from local disk to
SMB network share seems to be not affected....strangely ??
If i copy the exact same file used above from my local SSD disk to the SMB
network share it starts the copy immediately without any pause.
It also starts off immediately with a copy speed around 90-95MB/s which is
exactly what i would expect on a gig network.
As seen in this screen capture :
So Mike is this something you can look into ?
It seems Nimble it doing something extra when copying from SMB to local disk
which it is not doing when copying in the reverse direction.
I can also hear the Synology NAS disk access is allot more active when copying
from SMB to local disk vs copying in the other direction.
I can physically hear the disks are allot more active copying form the NAS vs copying
to the NAS using SMB and Nimble.
The long pause before copy begins is also strange as it only does this when copying
from the SMB share to my local disk, however there is not pause at all when copying
in the other direction and the copy speed is at full speed (or at least at what i would expect to see)
Any assistance would be great.
Thanks
I have a Synology DS216+II (higher end spec NAS) for my NAS storage.
I use SMB network shares from my Mac's to the NAS as i have done quite
a bit of reading on forums etc, and it seems Apple themselves are trying
to phase out AFP. My time machine backups would constantly crash when using AFP.
Moving to SMB has completely fixed that issue. I was also not seeing full
network speeds with AFP anyway. But i have fully migrated to using
only SMB on all devices on my network now as this seems to be the default
for Apple (correct me if im wrong, this is just what i can see from reading many forums)
To start i have made sure that im using SMB version 3 for my tests below.
My synology was forcing version 2 for some reason and this created some
crappy behavior when renaming folders etc, whereby it would actually create
a new folder and copy the contents from the old folder to the new folder when
using SMB v2, i fixed this by not forcing SMB v2 in my Synology and now all
shares connect using SMB v3 and this works flawlessly now. None of the
behavior above experienced......yay
Here you can see my share is definitely using SMB v3 now :
Then i read further on some more posts about SMB copy speed and saw many
posts about Client Signing which slows down copies over SMB.
This was introduced in Sierra to take care of vulnerabilities etc.
But im ok disabling this as i dont use SMB over the internet. this is local to my home.
I followed this website : https://dpron.com/os-x-10-11-5-slow-smb/
and specifically applied this :
I also came across another site with some advice on speeding up browsing
on network shares (this one probably does not relate to Nimble but thought
id still add it here in case this helps any of you)
So i noticed that when i open certain folders with allot of files (1000 plus)
it would take some time before the contents are displayed.
Applying this fix, seems to have made it allot faster
Website : https://support.apple.com/en-us/HT208209
What i applied specifically :
Now for my findings on copy speed.
Nimble seems to be allot slower when copying from Network SMB shares
to my local disk.
It will always pause for some time after initiating the copy. Where you will
see the copy process appear in the notification area of Nimble
and it seems paused for quite some time before the copy actually starts.
The copy will also always start around 15/Mb/s and slowly creep up in speed.
So when copying a large 3.3gig file from SMB to local disk it will start copying
at 15MB/s or so and then slowly creep up to about 67MB/s by the end of the copy.
It steadily creeps up from the starting copy speed of 15MB/s. This seems true
for all files but its more noticeable on large files as they take longer and you can
easily see the behavior.
Here is the end of a copy in Nimble from SMB share to my local disk (SSD) :
Doing the exact same file copy in Finder from SMB share to my local disk seems
to yield better speeds.
I copied the exact same file from SMB to my local disk and then monitored the
Disk Write speed in Activity Monitor.
Here you can see the write speed at about half way through the copy.
It also starts copying immediately and there is no momentary pause like there
is in Nimble when initiating the copy. it will also start the copy off with a speed
around 65-70MB/s and quickly move up to the upper 90's MB/s
As seen in this screen capture :
Doing the same file copy in the reverse direction with Nimble from local disk to
SMB network share seems to be not affected....strangely ??
If i copy the exact same file used above from my local SSD disk to the SMB
network share it starts the copy immediately without any pause.
It also starts off immediately with a copy speed around 90-95MB/s which is
exactly what i would expect on a gig network.
As seen in this screen capture :
So Mike is this something you can look into ?
It seems Nimble it doing something extra when copying from SMB to local disk
which it is not doing when copying in the reverse direction.
I can also hear the Synology NAS disk access is allot more active when copying
from SMB to local disk vs copying in the other direction.
I can physically hear the disks are allot more active copying form the NAS vs copying
to the NAS using SMB and Nimble.
The long pause before copy begins is also strange as it only does this when copying
from the SMB share to my local disk, however there is not pause at all when copying
in the other direction and the copy speed is at full speed (or at least at what i would expect to see)
Any assistance would be great.
Thanks