Performance after update to Maverick a total disaster.

I have an iMac, a Macbook Air, a Windows 7 laptop, a Synology DS212j NAS and a 100 Bps Network (router and switch).


All was working fine till I upgraded the two Macs to Maverick. Connecting to the DS212 is still smooth (via Finder). Accessing a folder (directory) on the DS212 takes 2 minutes. Opening a folder with 600 music files takes 5 minutes. Opening a 5 MB Foto takes 1 minute. Saving an Excel file takes 3 minutes.


Before the upgrade all was working fine with good performance. The Windows laptop has the same (good) performance as before. Its the two Macs that after the upgrade from OS X 10.7 to 10.9 (Maverick) are extremely slow when accessing the Synology. Even Time Maschine (files are stored on the DS212) runs into a timeout on both Macs. A total disaster so to speak as with the current performence the DS212 has become totally useless.


The Synology has the latest firmware. Other than Anti-Virus I switched off all services/applications on the DS212 (such as the media service, etc.). On the DS212, the Windows File Service is switched on (incl. SMB2). Also the Mac File Service AFP is switched on.


When I switch off the Windows File Service the Macs are still slow.


When I switch off the Mac File Service and setup the two Macs to access the DS212 via SMB2 (new feature of Maverick) the Macs are still equally slow.


After switching on/off the various services to test I rebooted all systems to make sure there's nothing "hanging". No difference. Everything remains slow.


I have no idea why. Searched in Internet and found not a single suggestion what this could be.


Anyone out there who could help? I'm highly disappointed in Apple as I wasted already hours on this. I'm even more disappointed as now Windows seems the better system than OS X.


Many thanks in advance.

Eric vd Berg

Switzerland

iMac, OS X Mavericks (10.9)

Posted on Nov 14, 2013 1:08 PM

Reply
96 replies

Mar 11, 2014 12:56 PM in response to Ericvdb66

I did the deed.


I am happy to report that after installing the latest Mavericks version (10.9.2) and the latest Synology DSM 4.3 patch, everything works as fast as before.


I'm getting about 80-90 MB/s reads and a bit less in writing without any tweaking. What I've noticed is that the connection now is Samba by default instead of AFP.


So, no problem here, at least until now.

Mar 11, 2014 3:13 PM in response to palihora

palihora wrote:


Which type of Synology You have ? Your speed seems very good.


DS213. Two Seagate 4 TB disks in RAID 0. Everything connected using CAT 6 cable on a 1000baseT ethernet network. The (late 2012 27" 3.4 GHz i7) iMac has an SSD so the speed on this side is no problem.


Yeah, happy camper here! :-)


However, for some reason the maximum transfer speed of my MacBook Air is way slower. Maybe its ethernet card is 100baseT. I'll make some tests when I have some spare time. But it is not critical for me. And it is a rather old model, so there probably are some hardware limitations that I may not be aware of.

Mar 12, 2014 3:00 AM in response to NewBartleby

NewBartleby wrote:


However, for some reason the maximum transfer speed of my MacBook Air is way slower. Maybe its ethernet card is 100baseT. I'll make some tests when I have some spare time. But it is not critical for me. And it is a rather old model, so there probably are some hardware limitations that I may not be aware of.


Mistery of the slow MacBook Air connection to NAS solved.


The Ethernet adapter is 100baseT instead of 1000baseT. The poor thing is getting its maximum theorethical limit (about 10 MB/s) for that kind of hardware.


That's why my newer iMac is way faster (actually, 10 times faster) when accessing the Synology.


So, there is nothing to blame on Mavericks whatsoever.


🙂

Mar 18, 2014 7:00 AM in response to NewBartleby

Ok here is an update on my issue.


AFP was alwasy giving good speeds on single file copy from NAS to Mac around 50mb/s - problem is using itunes to sync where it stops/starts and slows down to a few kb/s constantly and sync takes hours and hours.


Upgraded to DSM 5.0 and no difference , upgraded to latest Mavericks - no difference.


Swiched to using SMB2 on NAS and connecting via SMB from Mac - speeds slower then AFP but doesnt suffer from slow downs and getting 35Mb/s over WIFI when syncing to Itunes.


Tuned smb.conf and kernel on the NAS and now getting 47Mb/s so still slighlty slower then AFP but now is usable and a full sync of iphone is possible.


Also my spinning beachball has stopped when trying to use itunes and synicing on the NAS so result alround.


Seems AFP and Itunes synicing not playing nicely together so switch to SMB is my advise till (if) they fix it.

Mar 18, 2014 1:11 PM in response to NewBartleby

Hi NewBartleby


First of all you need to unable ssh or telnet on the NAS. You can enble it in the DSM web page.


Then ssh over to it and from there you can use an editor to modify the following files using these commands


ssh root@<ip address of your NAS>


vi /etc/sysctl.conf and add these lines


net.core.wmem_max=12582912

net.core.rmem_max=12582912

net.ipv4.tcp_rmem= 10240 87380 12582912

net.ipv4.tcp_wmem= 10240 87380 12582912

net.ipv4.tcp_window_scaling = 1

net.ipv4.tcp_timestamps = 1


then edit the next file


vi /usr/syno/etc/smb.conf (Add these lines in the global section at the top)


socket options=TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072

use sendfile=Yes

write raw=yes

read raw=yes

getwd cache=Yes

oplocks=No


Once done reboot your NAS.


Not easy steps if your not used to linux and its commands


Before you start I would recommend running some base line tests by copying a file from the NAS and get some times and speeds before you change these files.


Then run again after and see if any improvement. I found I had to tweak the settings and keep re-running to see the best results.

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.

Performance after update to Maverick a total disaster.

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