AFP vs SMB performance

I've just updated to the latest version of Sierra.  I thought I had read somewhere that SMB was preferred over the AFP in Sierra and that performance would improve.  I don't see any improvement.  My results are so radically different, I thought that I post to see if anyone can tell me why my performance SMB is so catastrophic?

I have a Mac Pro (non-cylindre) on a home network wired gigabit.  Synology DS412 + NAS running 4 disks in RAID 5.  I mounted it my my Mac using the basic option "Connect to Server" in the Finder and typing "afp://server:share" and "smb://server:share" for testing.  Both were mounted and tested separately, which means I am disconnected from the AFP before Assembly and test SMB.  I used rsync with some verbose options to copy a 1.5 GB file in order to see the speed and get a transfer of the statistics.

Here are the stats to transfer the file to AFP:

[josh@jeter /joshtmp]-> transfer diskimage. ISO/Volumes/FILES/tmp /.

Building file list...

1 file to examine

DiskImage. ISO

1.49 G 100% 52.18 MB/s 0:00:27 (xfer #1,-check = 0/1)

Number of files: 1

Number of transferred files: 1

File size: 1.49 G bytes

The total size of the transferred file: 1.49 G bytes

Literal data: 1.49 G bytes

Matched data: 0 bytes

Size of the file list: 121

List of files generation time: 0.002 seconds

List of files transfer time: 0.000 seconds

Total number of bytes sent: 1.49 G

Total number of bytes received: 42

received bytes sent to 1.49 G 42 bytes 52,20 M bytes/s

total size is 1.49 G speedup is 1.00

I think it's a pretty decent speed, but my concern is not the top speed, is the disparity.

Here is the SMB speed:

[josh@jeter /joshtmp]-> transfer diskimage. ISO/Volumes/FILES/tmp /.

Building file list...

1 file to examine

DiskImage. ISO

1.49 G 100% 18.02 MB/s 0:01:18 (xfer #1,-check = 0/1)

Number of files: 1

Number of transferred files: 1

File size: 1.49 G bytes

The total size of the transferred file: 1.49 G bytes

Literal data: 1.49 G bytes

Matched data: 0 bytes

Size of the file list: 121

List of files generation time: 0.001 seconds

List of files transfer time: 0.000 seconds

Total number of bytes sent: 1.49 G

Total number of bytes received: 42

received bytes sent to 1.49 G 42 bytes 18,71 M bytes/s

total size is 1.49 G speedup is 1.00

Also, here is the info from statshare to see how it was mounted:

[josh@jeter /joshtmp]-> smbutil statshares - a

================================================================================ ==================

THE ACTION ATTRIBUTE VALUE TYPE

================================================================================ ==================

FILES

Server_name rivera

USER_ID 1026

SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED

SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED

SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED

SMB_VERSION SMB_3.0

SMB_SHARE_TYPE DISK

SIGNING_SUPPORTED TRUE

EXTENDED_SECURITY_SUPPORTED TRUE

LARGE_FILE_SUPPORTED TRUE

CLIENT_REQUIRES_SIGNING TRUE

DFS_SUPPORTED TRUE

MULTI_CREDIT_SUPPORTED TRUE

ENCRYPTION_SUPPORTED TRUE

SIGNING_ON TRUE

-------------------------------------------------------------------------------- ------------------

In addition, attached is a screenshot of my share of the Synology settings.  It shows the parameters of the SMB and AFP.  The pop-out box is the options 'Advanced settings' of the SMB section.

Any ideas at all?  Please and thank you.

See Image here.

It seems that Apple still did not set their "quick and dirty" dose for such Badlock described in this thread: El Capitan 10.11.5 update slow SMB (bug)

If you believe that your network is protected from man-in-the-middle attacks and the bug Badlock, then you can disable the client for signature.

  1. Create a nsmb.conf file in / etc with vim. sudo will be necessary.
  2. Write to the file:

[default]

signing_required = no


Then restart your machine. Your SMB3 speeds should be comparable to the AFP again.

Here is the post above: Re: Re: Re: Re: update of El Capitan 10.11.5 slow SMB (bug)

Tags: Mac OS & System Software

Similar Questions

  • El Capitan - Time Machine - AFP or SMB?

    Hello

    I was using a QNAP NAS TS-412 years now with different Mac and since Snow Leopard, I meet regularly with the issue of corrupted Time Machine backups that need to be recreated every few weeks. Now, with the help of El Capitan, the problem persists.

    For all I know, it's a broken, reverse engineered AFP implementation (netatalk) used in NAS devices based on Linux. Now I'll reconfigure my SIN and I have heard a few rumors Apple SMB2 AFP switching actions.

    This apply to Time Machine as well? Should I configure SMB2 and leave aside the AFP when I reconfigure?

    I'm on El Capitan, latest version (that I can remember, it's 10.11.1).

    Kind regards

    Thomas

    Nobody here don't know what to do about Apple products without notice. A third SIN is unsuitable for use with Time Machine, regardless of what the manufacturer. The expected result of its use as it should be the total loss of data.

  • Slow connection to SMB/AFP file sharing

    Configuration:

    OSX 10.11.3 (15 D 21)

    Server V5.0.4

    Running services: calendar, file sharing, Manager profiles, Time Machine, VPN, Web, Wiki, DNS, FTP sites, open the directory

    We have a problem which has lasted for several months where clients that attempt to connect to file sharing (AFP or SMB makes no difference) takes too long to authenticate. He constantly takes ~ 40-45 seconds to open a session or even reject a bad password. The really strange part is that it affects all computers on our network with the exception of a Mac Mini. Seems not be customer specific, i.e. all users connect without delay on a Mac Mini and slowly on other computers. I was not able to determine differences in settings of network connection or on different computers, but I don't know there are parameters, I'm not aware of that.

    Did someone met with something like that?

    Thanks in advance.

    The faster connection Mac Mini there the active local folders?  Or using a faster SMB protocol?

  • macOS Sierra / numbers 4.0: problem with registration on a Synology via AFP

    place vote0down votefavorite

    Hello

    I experienced a similar problem, well that related to the creation or manipulate PDF files.

    As long as those who are are on a local/internal volume, a NFS or SMB, all the seams to be fine, only when it comes to volumes mounted to AFP, the application works with PDF * AND * Finder remain blocked. Sometimes with force quit the application and restart the Finder seems to do the trick, otherwise only a reboot solves this problem (again, the application needs to get with force quit and Finder should be raised, otherwise Mac OS start again).

    If you would be inclined to believe in the conspiracy, maybe it's this way Apple to 'persuade' abandon ship-AFP and SMB-migrate users?

    -MMHein

  • AFP://user: password@server + connect as?

    Hello

    before you move on to Sierra, to connect to my NAS, under Finder-> go-> connect to server, I used to type:

    AFP://user: password@server/share_name

    with no pop-up windows ' connect as '.

    Now, after the upgrade, after the command: afp://user: password@server, a "connect as" windows appears and it's annoying.

    Someone knows how to jump this window "connect as"?

    Thank you

    Daniele

    I think it has something to do with SMB being now the default connection for Sierra. I tried the syntax shown you and replaced "afp" with "smb", but still have the screen connect as . Even when you select the server in the left pane of the Finder, I always have to make a sign in as. It is used to remember how I connected and go immediately to the actions on the server, but no more. Always have to connect as.

  • direct AFP share vs time machine services

    I'm trying OSX Server 3.x (Mavericks), mainly to use it for Time Machine backups, but all her trying some of the other services as well installed.  My question is about the time service Machine that comes with os x Server.  I don't see myself using most of the other features on OSX Server, I will list out all my needs to the end server, but most of them can be easily made with different solutions open source, in some cases in a more flexible way, it seems then that means OSX Server out of the box.  But TM backups for my home network is the only thing that OSX Server provides I think is not provided in any other way, in addition to buying a Time Capsule.  Don't I have that right?

    Time Machine, the 1, 2 or 3 options:

    1. Buy a time Capsule.  To my knowledge, Time Capsule does not allow me to set a size limit for each client computer.  They are just fighting for space until the 3 TB drive fills up.  Also 3 TB is barely big enough (except USB).  With OSX Server I can throw in a disc of TM in there to manage several macs with big backup discs.  I also have an old mac alternative pro sitting here who need a goal.
    2. Run OSX Server.  check.
    3. Forget OSXServer, manually create a part of the AFP on mac server, create a sparsebundle to every customer mac that I intend to back up and since client mac, mount the sparsebundle and use it as reader of TM.

    So the question is: are there at - there any functional difference between Option2 Option3 technique?  TM OSX Server service a service works any extra well beyond the AFP, to make it more reliable in some way then option3?  If OSX Server provides just a comfortable GUI wrapper around the same underlying mechanism base mounting a sparsebundle via AFP, maybe do a little easier to monitor what is happening, etc...  Its nice to have if I happen to have OSX Server running, but if he is not so maybe I would be ok with option3 as his offering the same guarantees in terms of network dropouts, resource conflicts, and such things.  OSX Server makes it easier in some way or more reliable to stay mounted on the sparsebundle containing the tm, unlike option3 backup?

    Any thoughts?

    Also compare OSX Server to Time Capsule if you have knowledge.  OSX Server seems to bring some benefits... but I don't know if OSX Server just basically provides a way to configure the creation of the sparsebundle and I could just as easily do with hdiutil, even on a TC, but certainly in option3.

    Also, is there any additional functionality of TM put into play, if I configure Manager profile or something like that?  It comes to the essence of a single user in a network with multiple Macs, but a main user... it's not complicated.

    Beyond backup TM, I'll use this area for the following services, some of which may be dealt with by OSX Server and some cannot, or could be better managed by full versions open source:

    Time machine, AFP shares SMB sharing, Web, Pydio, Plex, iTunes server (maybe), FTP (pure-ftpd), postgres DB (need pydio or other uses I will come with), possibly git or necessarily crashplan finally.  I also can I possibly transition some critical documents of mission from a NAS separate mirrored on this machine using a raid mirror under OSX.

    Any thoughts welcome...

    Also following this question, does anyone know if its possible to have TM on the server machine, backup itself via the OSX Server TM service hosted on the same computer?  When I try to select a time backup device on the server machine, it does not display the optional service TM backup device, it shows that local hard drives that are available and stores the data in the normal way of local drive... not in a sparsebundle as do all other mac clients.  NOTE - I have service TM put TM backups on a separate drive internal then the boot drive... so it is always a good idea to make a TM on the same drive, so be it.  But it seems that I need a partition dedicated to isolate the backup of the server itself... or I need to use option3 and create manually a sparsebundle to save the boot drive, since he cannot see the time service machine OSX Server...   Don't I have that right?

  • Poor SMB combined

    I have a 6 ESXi host with an iSCSI NAS Raid 10 for storage. I also have a Hyper-V host running with a virtual machine on the same host. I tested file transfer performance SMB between guest virtual computer. What I'm running into is when copying large files and comments of the VM on the VMware host after about 2 GB, the file transfer slows down of 110MBps at all about 45-50 Mbps. This problem does not occur on the Hyper-V VM host so I know this isn't a hardware problem. The guest VM is also the 2012 R2 server.

    So I did more tests and actually increase the number of IOPS / s for Round Robin to 100 effectively resolved the SMB performance. However, I still see a problem with the Round Robin and he doesn't want us more 120mbs between all 4 network cards. I've read some things that my understanding was with Robin, I should be able to use fully all 4 cards, but now I can't.

  • Customer Beach on OSXS balls

    TL; DR: connections to the server to slow down to a crawl for the customers, without apparent reason.

    ________________________________________________________________________


    Server: last model Intel Xserve quad Xeon 2.26 GHz, 12 GB of RAM, with all updates linking El Cap 10.11.6/Server 5.1.7 plant internal SSD. Accessed files are on separate disk. Bare metal system installation and reconfig a few months ago (server were previously running Snow Leopard). Our services enabled only for customers are the sharing of files with Time Machine. OD turned off, since we do not use the services in need.

    Network: Wired cat 6 GigE via managed HP happen, more wireless for mobile devices. About 60 connections total network at any time. Xserve bonded (i.e. dual GigE) ethernet link to pass. Comcast Business Internet connection is theoretically 150 / 20 Mbit/s down/up but very variable in practice.

    Customers: over 30 Macs, the recent OS versions (with the exception of the one with 10.6.8). Some connected via AFP, some SMB. About 8 Basic users mostly on iMac 27 "with a lot of RAM launch Adobe CC files from the server on the network and work that way. The remaining users are usually connected to the server but not actively using it most of the time.

    Problem: drastic periodic slowdowns for the users of the database. Normal activities, like save or open files on the network now take place at a glacial pace, accompanied by the dreaded spinning beachball. All basic users are affected when this happens. Applications concerned are CC Adobe (Photoshop, Illustrator, InDesign), but that's what these basic users work with almost exclusively, so may be negligible. However, these applications are supposed to be quite chatty (phone home, automatic backup, etc.). Often but not always occurs towards the end of the day.

    Comments: server restart usually clears the problem... until next time. So sometimes we are OK for a few days, sometimes not. No correlation is apparent with AFP or SMB connections. Server logs do not show everything that attracts my attention, but they are still quite enigmatic for mere mortals. Server.app statistics show very light server load to cpu (< 20%), memory (< 6 GB), network (< 25 MB/s). Activity Monitor shows no runaway process. Server disks SMART status is good. Basically, our Xserve hardware is in good shape and just stroll along most of the time.

    At this point, I'm desperate for ideas or suggestions for a methodology arrive at a solution.

    IME, you get these symptoms if the switch is down packages. AFP (I'm not sure about SMB) has a crucial ACK packet with a long (30 s IIRC) timeout for a reply. If your network loses the package, or its response, the customer just locks 30 seconds at a time. Packet-sniffing (tcpdump or wire Shark) with filters would demonstrate if that was the problem.

    If your users have to deal with the volume of server as a local drive and open the files "in place" for editing and then performance is likely to be disappointing. It's much better from many points of view to download to a local drive, to do the work, then download again.

    If you don't have it already, made your clocks menu display time in seconds and give each desktop a block notes and pen each make one not time displayed precise (HH) this beach balling happens. You can then refine the journal article, you must study and see if all the machines are affected at the same time.

    I fought a problem like that for months. It has not been resolved until the network team replaces the HP switch with a Juniper one.

    C.

  • Time Capsule is slow reading files on mac but fast on PC

    At the office, we have a Time Capsule to share and store files. Each pc is connected to the player via wifi and have no problem with folder slow loading time. The mac I use is high enough spec and works on yosemite 10.10.5 and struggles loading files, it varies from 10 seconds to a minute round to view the contents of the folder. We also have an old mac running osx 10.4.11 and content is immediately, same as they do on a pc. Must be one of finder or a setting somewhere that someone could point me in the direction of it please?

    Thanks in advance

    Craig

    It comes down to implementing new versions of SMB on later versions of Mac OS X, starting with the Mavericks.

    If you do an Internet search on this you will come with dozens of articles and still more 'solutions '. Earlier versions of Mac OS X used either AFP or SMB according to what the other device supported. Since OS X 10.10, Apple introduced SMB3 with mixed results.

  • Server - name or ip address?

    Hi people,

    I've recently implemented a WD ShareSpace NAS on my home wireless network, which consists of a 4th gen Airport Extreme, a MBP and a Mac mini. Simple stuff. :-)

    I see that I can connect using several different ways - I can use afp or smb, and I can send it either by IP address or by name.  Which way should I choose - is a way to better than the other?

    No way is better than the other. But using the name may be better in the case of the NAS is configured to use DHCP, the IP address is assigned to the can change when you restart. But if you have reserved an IP address for the NAS server then you can use the IP address to connect.

  • ACL work properly with 10.11.3?

    I upgraded a few weeks before 10.11.3 on my server and I noticed that new files created from client computers (actions) are now owned by the creator instead of the group. They user is not yet listed in the ACL is only the group. In fact for other users cannot delete the files that must be deleted.

    I use the server to change the permissions using the ACL and that worked great, but after the upgrade, it's just like using the Finder to change (POSIX) permissions when I used to have all the problems.

    Y at - it something I am doing wrong? or something that has allowed?

    Thanks for any help.

    I've noticed that new files created from client computers (actions) are now owned by the creator instead of the group.

    A folder can never belong to a group.

    The owner of any file/folder is always a 'user '.

    Customers use AFP or SMB?

    If SMB: activate ACL for the SMB shared files, run this command on the server:

    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server lock - bool YES

    sudo serveradmin stop smb

    sudo serveradmin beginning smb

    If you still have problem, please create a folder then check/post the permissions of the parent folder and it's new.

    LS - lde/Path/Parent/NewFolder

    LS - Parent/road/lde

    Jeff

  • Excel and El Capitan server: can't reopen the document is saved due to the low memory

    Hello world

    We have a server that has been recently upgraded to El Capitan with new version of the application server is installed. We have activated with Open Directory for all users of the file-sharing network. Network users who connect get this error message when registering files excel on the server:

    When this file is then reopened, there is an error saying that the file is damaged and you want to try to fix it. The repair never works.

    What happens 9/10 times only Excel files on our server Mac users and different computers. Open Directory has been rebuilt and added users, but we have the same problem. All users (about 8) use Macs with Yosemite and El Capitan. All users use Office for Mac 2011. Server running OS X Lion mountain with server before, while we went through a deletion and installation to make sure that we started with the parameters of charges. All data is stored on a separate internal hard drive "Data HD" and is separated from the HD of server where the OS is installed. Permissions for data HD and all folders in have been re-spread so we are sure they are 100% accurate overall. Server has 16 GB of memory, so I highly doubt that it is actually a memory problem. Users are able to save Excel files on their desks from the end server, so it is certainly related to the server.

    Everything worked fine with the previous operating system. Any suggestions would be super useful. I'm pretty tech-savvy Apple, but this one left me speechless.

    Thank you.

    Tim

    Have you tested AFP vs SMB?

    Default value is SMB.

    Try to force AFP using: afp: / /.

    If the question of the effects of the SMB only, then disable SMB (my preferred solution when there is no windows user) or activate the ACL for SMB.

    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server lock - bool YES

    You didn't say exactly what permissions have been propagated and they were ACL or POSIX.

    This article can help too.

    Failed to save a point for sharing OS X Server that allows write access - Apple Support

    Jeff

  • Migration wizard - Time Machine on Windows sharing

    Hello guys,.

    I made a backup of my MacBook (Yosemite) via the time machine on a windows share ("smb://asus/TimemachineMacbook"). Inside the action, there is my folder (respectively image) "TimeMachine.sparsebundle". Everything went successfully.

    I made a clear installation with El Capitan. Now I want to restore my music, photos and so on...

    I am able to open the smb share and mount the 'TimeMachine.sparsebundle '. I see the backup, all files are there.

    But I am not able to access this sparsebundle with the Migration Wizard. Inside the wizard, I can add an smb with the correct credentials share, but it shows me nothing to select. Just an empty list.

    I also tried with afp... I installed "Acronis access Connect" on my windows computer and created an afp share "smb://asus/TimemachineMacbook". I can access with the finder. in the migration wizard, it shows me the afp share automatically (I must not add), when I select and press 'next', nothing happens...

    Does anyone have a solution how to use the wizard migration with my sparsebundle on a windows machine?

    Concerning

    I did it!

    Sharing should be mounted, for example: /Volumes/TimeMachine.sparsebundle

    And finally in the terminal:

    sudo hdiutil attach /Volumes/TimeMachine.sparsebundle

  • system root 100% volume: RNAS inaccessible 104, NetGear support still not able to find a solution

    Hello

    I am very frustrated after two years, suddenly RNAS no longer works and appear Netgear support are unable to solve a well-known problem.

    I receive a new subscription to support after support ask me to pay the ticket and open it. I'm on the 3rd level of support and 14 days pending.

    I found a log entry: "100% root system volume, contact technical support. Here I made...

    I can reach RNAS by web Panel, but what I'm trying to make I get an error message.

    So I can't up having AFP or SMB, NFS is on but RNA is not accessible.

    USB, usually attached to the NAS drive suddenly disappear.

    I can't download from the Panel, I can't ftp because nothing appears in the list dir.

    I can't access my data!

    NetGear support ask me to put the SIN in support mode... but nothing will happen after several days.

    They ask me to activate TeamViewer on my Mac... they don't know how to handle because that is not in English.

    I don't have any installed application, not mysql or loganalyzer running... just use the NRA for the backup and it is full that 45% of the available space.

    All worked in the same problem and solved?

    Thank you

    Stefano

    Leve3 has been able to set up the workspace root successfully.

    So for now the RNAS works very well :-)

    I have no idea how the root of space was no longer available. Maybe the apps I have installed even I has not really used and I removed the months ago.

    In any case... There is something badly placed under the control of the user.

    I think I'll do a full backup and reset RNA to make it clean.

    Thanks for your support!

    Stefano

  • ReadyNAS and El Capitan - problems!

    Hello

    I'm under El Capitan (OSX 10.11) on my Mac laptop.

    I have 3 actions on my ReadyNAS Duo V2, using the latest version of RAIDar (6.1), I can see the device (which is plugged into the router on my network) & it shows that I have the latest firmware (5.3.11).

    The admin page is accessible - and confirms when I check the updates that the firmware is up-to-date (i.e. no update to apply).

    I have set up the protocols of AFP and SMB on the shares.

    From my Mac, I can manually mount & access SMB shares, but do not get anything in the finder for AFP, but see PT - NAS (CIFS) which I suppose is for SMB access (but this does not allow me to connect either).

    It seems that the latest version of the OS is broken for access to the NAS - help!

    Thank you

    Peter Thompson

    I just checked and I can connect to my Duo via AFP v2 without any problem. I'm under 10.11.2 at this time.

    This sounds like a problem with discovery. You can try to disable overall AFP service then it starts again.

    In the Finder, if you're going to go > connect to server, you can connect to afp://192.168.1.50?

Maybe you are looking for

  • Siri wecker ton

    Wenn ich einen Wecker uber Siri stelle wird immer der Weckerton der devising "Radar." Will be man kann in den Einstellungen das change, denn ich, dass Siri devising den your "Wecker" einstellt.

  • where is temporary popup

    Where is the temporary button allows pop up windows. It used to be in the bottom right of the bottom bar.

  • Unable to update the Service Pack 1 for Vista

    PLEASE, SOMEONE HELP ME I'm new to all this. I have a laptop and have somehow an update for service Pack 1? Whenever I'm trying to download it then lift back with a load of error messages that I don't understand. I tried to download the pack that too

  • window vista to vista ultimate upgrade

    the question I have is my laptop has vista home and I would like to upgrade to vista ultimate, when I update what I lose all my program I have on my laptop? the reason why I'm upgrading is to me, we can not have vista on the computer home this is why

  • 17 - G190nb of Pavilion: Pavilion 17-G190nb Max RAM

    Dear Sir I am looking to buy a model of the Pavilion or ENVY, but I can't seem to find information on memory maximum RAM offer these models. Especially the Pavilion 17-G190nb is interesting, but could someone tell me if the memory is expandable from