4 ms·
I have a media server I keep movies and TV shows on, and connect to Samba from my Mac. I agree, the performance is ridiculously bad. Part of it, I suspect, is F
by atombender 5y ago
I have a media server I keep movies and TV shows on, and connect to Samba from my Mac. I agree, the performance is ridiculously bad. Part of it, I suspect, is Finder.
I wonder if NFS works any better? Or maybe Apple's old AFS/AFP, which I think used to be more solid than SMB on Macs? Though I read something about Apple deprecating (or removing?) AFP support recently.
Are there any other options?
- jeffbee 5y agoYes, you can use iscsi. I used iscsi initiator on macOS to make time machine backups on an exported volume from an opensolaris zfs tank. Worked fine for many years, although I no longer use that approach. You have to install iscsi initiator on the Mac, since macOS doesn’t come with it.
- atombender 5y agoIsn't that a block-level protocol? My server has a bunch of XFS volumes, which macOS does not understand.
- jeffbee 5y agoYeah it’s not really for sharing files around, but it fits the use cases of time machine.
- atombender 5y agoRight, that's a different use than mine.
- wazoox 5y agoFrom my long experience building high-end NAS servers and struggling with Macs, generally using 10GigE connections: Using SMB, the typical Mac pro can't do much better than 150/200MB/s to/from the NAS. The very same Mac booted on Windows via Boot Camp reads/writes at 1GB/s on the same NAS. Back to MacOS, using either NFS or AFP the Mac easily reads/writes at 1GB/s on the NAS. The SMB implementation of MacOS is utterly broken, and has been for ages. NFS works fine generally, but some programs such as Quicktime pro and more annoyingly, the Finder sometimes have trouble with it. Unfortunately, the fastest and most reliable option by a large margin still is AFP, using Netatalk. If you take care of cleaning regularly the CNID database, it works like a charm. I have many customers using servers with hundreds of TB of storage with AFP and it just works.
- sudosysgen 5y agoIt's sad that apple doesn't just give up and use SAMBA.
- fragmede 5y agoThey do, under the hood. (or did at one point.) the problem is it doesn't work. it's functional, but just doesn't give the level of performance needed at the top end (where wifi isn't a good enough connection).
- sudosysgen 5y agoThey used to, a very long time ago, and when they did it was an outdated version. Nowadays they have a proprietary alternative that sucks. Modern Samba is limited by the TCP stack. You can get 10gbps to work as long as your TCP stack is performant enough with very basic tuning on the server side. The client "just works". macOS stopped shipping Samba with 10.7 Lion. Even before Samba was outdated.
- Someone 5y agoI think it is highly unlikely that will happen as long as Samba stays GPLv3 licensed.
- deleted 5y ago[deleted]
- spookthesunset 5y agoNot to get political but I always thought it was a mistake to make "modern" samba GPLv3. All it did was make all these hardware vendors either stick with the older GPLv2 stuff or... I dunno what else they can do besides write their own implementation. Samba is too much of an "infrastructure" codebase. It should have been BSD licensed. Vendors would have strong incentives to merge changes back into the mainline... none of them want to have their own wacko implementations.