2009-09-12, 20:12
If I try to seek forward [by pressing 'up' with a setting of 5 minutes] while watching a [large] movie shared over SMB using XBMC, it is very slow. To skip forward 5 minutes takes approximately 15 seconds.
The source was added from within XBMC specifying a path of smb://192.168.1.6/Movies and the log of this slow behaviour seems to show that it is the file seek which accounts for nearly all of that delay:
Curiously, though, if I mount the directory the movie is in from the OS [Linux 2.6.28-15-generic #49-Ubuntu] using the command sudo /sbin/mount.cifs //192.168.1.6/Movies /mnt -o guest and then add a new source within XBMC which refers to the local mountpoint mnt, then the seek is near instant as shown in the second log.
I'm hoping there is some way around this, as mounting the volumes directly seems like it'll be a bit of a pain. Having XBMC take care of it all for me is preferable from my point of view! :-)
Notes
Hopefully I've provided what information may be useful but please shout up if I've missed something. The following are some observations regarding issue:
* It is not slow to seek with smaller files. I haven't tested it thoroughly, but it seems to be quick until file sizes are over 4GB.
* It is, unsurprisingly, not slow if the file is local to XBMC.
* The machines are running on a gigabit network and running iperf from the XBMC Linux box to the OS X server box shows speeds of around 941 Mbits/sec. The network was quiet during all tests.
Any help or suggestions would be much appreciated. This seems like a bug, rather than user error, but I am prepared to eat those words!
--
XBMC Build: 22278
Hardware: Acer Revo 3600, 2GB RAM (VDPAU)
SMB Server: OS X 10.6
The source was added from within XBMC specifying a path of smb://192.168.1.6/Movies and the log of this slow behaviour seems to show that it is the file seek which accounts for nearly all of that delay:
Code:
#
17:50:45 T:2880375696 M:1353285632 DEBUG: demuxer seek to: 312210
...
17:50:59 T:2880375696 M:1351446528 DEBUG: SeekTime - seek ended up on time 312228
#
17:50:59 T:2880375696 M:1351446528 DEBUG: demuxer seek to: 312210, success
Curiously, though, if I mount the directory the movie is in from the OS [Linux 2.6.28-15-generic #49-Ubuntu] using the command sudo /sbin/mount.cifs //192.168.1.6/Movies /mnt -o guest and then add a new source within XBMC which refers to the local mountpoint mnt, then the seek is near instant as shown in the second log.
I'm hoping there is some way around this, as mounting the volumes directly seems like it'll be a bit of a pain. Having XBMC take care of it all for me is preferable from my point of view! :-)
Notes
Hopefully I've provided what information may be useful but please shout up if I've missed something. The following are some observations regarding issue:
* It is not slow to seek with smaller files. I haven't tested it thoroughly, but it seems to be quick until file sizes are over 4GB.
* It is, unsurprisingly, not slow if the file is local to XBMC.
* The machines are running on a gigabit network and running iperf from the XBMC Linux box to the OS X server box shows speeds of around 941 Mbits/sec. The network was quiet during all tests.
Any help or suggestions would be much appreciated. This seems like a bug, rather than user error, but I am prepared to eat those words!
--
XBMC Build: 22278
Hardware: Acer Revo 3600, 2GB RAM (VDPAU)
SMB Server: OS X 10.6