2011-08-27, 17:29
I'm experiencing ridiculously long delay when starting a video, whenever the video file is in a directory with many files. ( tens or a couple hundred files. A lot of short video clips of our baby )
This issue began to show up in nightlies a little after 10.0-9 official, and has been bothering me for about 2 months now, but somehow nobody seems to report it. I posted my problem with xbmc.log to a nightly sticky thread, but there was no response from anyone.
Here's my original post for 20110808 build, which takes about 30seconds to start a video. ( Compared to 10 seconds of 10.0-9 official build )
http://forum.xbmc.org/showpost.php?p=862...stcount=25
20110827 build shows the same problem, at least for me.
http://pastebin.com/3BA6eBJz
Is there anyone seeing a similar issue? ( ATV2 iOS 8F305, SMB share on WD
MyBook world edition, over wired. The NAS and ATV2 are connected on two ports of a same router unit. To be more specific, a WD livewire powerline AV unit. Note that the connection between NAS and ATV2 is not through power line .)
One important characteristic is that the delay becomes short ( a few sec ) if the video file is in a small folder of just a few files. And 10.0-9 official took up to 10 seconds even for very large folders.
Here's summary of my observations :
1) ScanForExternalSubtitles takes long ( 16 sec) from beginning to end. ( ~8 sec in 10.0-9 )
2) Right after ScanForExternalSubtitles begins, OpenDir is called again, wasting 7 sec. The current directory is already open. Why open it again?
3) 9 sec taken from av_find_stream_info start to finish. ( ~2 sec in 10.0-9) There's no other logged activity in between. What is it doing for 9 sec?
4) 0 delay from "probing detected format" to av_find_stream_info. So I'm NOT talking about this known issue: http://forum.xbmc.org/showpost.php?p=850...tcount=977
5) CPU-XBMC number does not change much during all this delay. But it is quite high even during idle time. ( 96~99%, before, during, or after media playback.. ) Do I need to wait until whatever background job XBMC does after installation is finished?
6) As far as I can see, thumbnail extraction/generation options are both off in guisettings.xml
7) Not sure if this is related, but I think it takes too long to just open a folder ('open' meaning "see the list of files in it" ), when the folder has many files. It's like x10 slower than my windows Atom netbook, accessing the same SMB share over powerline connection. Why does XBMC on ATV2 take so long?
I'd appreciate it if anyone can give me some clue about this.
Thanks
This issue began to show up in nightlies a little after 10.0-9 official, and has been bothering me for about 2 months now, but somehow nobody seems to report it. I posted my problem with xbmc.log to a nightly sticky thread, but there was no response from anyone.
Here's my original post for 20110808 build, which takes about 30seconds to start a video. ( Compared to 10 seconds of 10.0-9 official build )
http://forum.xbmc.org/showpost.php?p=862...stcount=25
20110827 build shows the same problem, at least for me.
http://pastebin.com/3BA6eBJz
Is there anyone seeing a similar issue? ( ATV2 iOS 8F305, SMB share on WD
MyBook world edition, over wired. The NAS and ATV2 are connected on two ports of a same router unit. To be more specific, a WD livewire powerline AV unit. Note that the connection between NAS and ATV2 is not through power line .)
One important characteristic is that the delay becomes short ( a few sec ) if the video file is in a small folder of just a few files. And 10.0-9 official took up to 10 seconds even for very large folders.
Here's summary of my observations :
1) ScanForExternalSubtitles takes long ( 16 sec) from beginning to end. ( ~8 sec in 10.0-9 )
2) Right after ScanForExternalSubtitles begins, OpenDir is called again, wasting 7 sec. The current directory is already open. Why open it again?
3) 9 sec taken from av_find_stream_info start to finish. ( ~2 sec in 10.0-9) There's no other logged activity in between. What is it doing for 9 sec?
4) 0 delay from "probing detected format" to av_find_stream_info. So I'm NOT talking about this known issue: http://forum.xbmc.org/showpost.php?p=850...tcount=977
5) CPU-XBMC number does not change much during all this delay. But it is quite high even during idle time. ( 96~99%, before, during, or after media playback.. ) Do I need to wait until whatever background job XBMC does after installation is finished?
6) As far as I can see, thumbnail extraction/generation options are both off in guisettings.xml
7) Not sure if this is related, but I think it takes too long to just open a folder ('open' meaning "see the list of files in it" ), when the folder has many files. It's like x10 slower than my windows Atom netbook, accessing the same SMB share over powerline connection. Why does XBMC on ATV2 take so long?
I'd appreciate it if anyone can give me some clue about this.
Thanks