2011-03-06, 20:04
I actually think this is a file share locking issue with SMB on both sides. UPNP works because only one server/program (Windows) is holding on to the lock of the file.
When you start doing SMB, now Windows is now watching the file, and the ATV is now also constantly watching the status of the file. This is causing contention. It is usually not a big deal because normally file transfers are only happening and that little bit of transfer delay is not noticeable.
Now the people with NAS running with SMB are fine because SMB (samba) is being configured correctly to remove these locks. They probably have a setting called oplock turned off. This allows for faster transfers because SMB and the OS and the Client all don't all have to contend for a particular file lock.
I can't figure out how to mount anything with SMB just yet, but I bet that if we turn Client Side SMB cache off (not XBMC's video cache) that we will probably see an improvement. I'm still trying to figure out how to do the oplock or something similar on the Windows side. I'm curious to know if the same issue happens on a Windows 2008 Server vs a windows xp or windows 7 box.
When you start doing SMB, now Windows is now watching the file, and the ATV is now also constantly watching the status of the file. This is causing contention. It is usually not a big deal because normally file transfers are only happening and that little bit of transfer delay is not noticeable.
Now the people with NAS running with SMB are fine because SMB (samba) is being configured correctly to remove these locks. They probably have a setting called oplock turned off. This allows for faster transfers because SMB and the OS and the Client all don't all have to contend for a particular file lock.
I can't figure out how to mount anything with SMB just yet, but I bet that if we turn Client Side SMB cache off (not XBMC's video cache) that we will probably see an improvement. I'm still trying to figure out how to do the oplock or something similar on the Windows side. I'm curious to know if the same issue happens on a Windows 2008 Server vs a windows xp or windows 7 box.