2012-08-06, 15:47
Hello,
I'm using XBMCbuntu 11.0 (which is running XBMC 11.0 Git:Unknown - Compiled Mar 24 2012) on a Linux 3.0.0-23-i686
My videos are stored on a remote filesystem mounted at startupt (in /etc/network/if-up.d/) using SSHFS.
As my internet connection is not as fast as I would hope, I tried to increase the buffer to 64MB in the ~/.xbmc/userdata/advancedsettings.xml file (I also set loglevel to "debug") :
The log file indicates that it is successfully loaded :
My problem is that the configuration does not seem to be applied : xbmc's memory usage is not bigger when using this conf (so I'm supposing nothing is cached further than the default 5MB).
To verify that assumption, when watching a video (720p scene rip) and pressing the 'o' key to display details, the end of the 3rd line says :
The percentage value is of course moving depending on the cache usage, but it's pretty clear that when the video is freezing, the percentage value goes up to 100% within less than 10 seconds, which is absolutely not enough to fill up 64MB of cache.
Also, when I pause the video, the cache is not filling up at all (the percentage value is not moving and nload indicates that there's absolutely no network activity).
So basically, I can't really watch a video because it's freezing every 2 minutes to fill up the seems-to-be-very-small cache. So here are my questions :
1. am I doing something wrong when increasing the buffer size ?
2. is extra buffer size actually used when working on a SSHFS mount (as it's seen by XBMC as a local filesystem) ?
3. why do I see "LogLevel changed to 1" in the log, but not "cachemembuffersize changed to 67108864" ? (see full log attached)
4. I've seen the new latency/delay option (http://wiki.xbmc.org/index.php?title=Use...3Cvideo.3E) but I'm not sure what it does and/or if it can help me. Any hint ?
5. any idea what else I could try ?
Thanks in advance for any help, I've spent almost the whole night trying to figure out how to do it.
PS : XBMC log can be found here : http://pastebin.com/i2JutQVC (i've just removed all the VideoInfoScanner and GetImageHash lines with all the filenames and stuff, I just left the one I used for the test : Breaking Bad S05E01)
PS2 : if you need any more information, please let me know
I'm using XBMCbuntu 11.0 (which is running XBMC 11.0 Git:Unknown - Compiled Mar 24 2012) on a Linux 3.0.0-23-i686
My videos are stored on a remote filesystem mounted at startupt (in /etc/network/if-up.d/) using SSHFS.
As my internet connection is not as fast as I would hope, I tried to increase the buffer to 64MB in the ~/.xbmc/userdata/advancedsettings.xml file (I also set loglevel to "debug") :
Code:
<advancedsettings>
<loglevel>1</loglevel>
<network>
<cachemembuffersize>67108864</cachemembuffersize>
</network>
</advancedsettings>
The log file indicates that it is successfully loaded :
Code:
15:16:30 T:6633216 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
15:16:30 T:6633216 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<loglevel>1</loglevel>
<network>
<cachemembuffersize>67108864</cachemembuffersize>
</network>
</advancedsettings>
My problem is that the configuration does not seem to be applied : xbmc's memory usage is not bigger when using this conf (so I'm supposing nothing is cached further than the default 5MB).
To verify that assumption, when watching a video (720p scene rip) and pressing the 'o' key to display details, the end of the 3rd line says :
Code:
cache: 0 B 100%
Also, when I pause the video, the cache is not filling up at all (the percentage value is not moving and nload indicates that there's absolutely no network activity).
So basically, I can't really watch a video because it's freezing every 2 minutes to fill up the seems-to-be-very-small cache. So here are my questions :
1. am I doing something wrong when increasing the buffer size ?
2. is extra buffer size actually used when working on a SSHFS mount (as it's seen by XBMC as a local filesystem) ?
3. why do I see "LogLevel changed to 1" in the log, but not "cachemembuffersize changed to 67108864" ? (see full log attached)
4. I've seen the new latency/delay option (http://wiki.xbmc.org/index.php?title=Use...3Cvideo.3E) but I'm not sure what it does and/or if it can help me. Any hint ?
5. any idea what else I could try ?
Thanks in advance for any help, I've spent almost the whole night trying to figure out how to do it.
PS : XBMC log can be found here : http://pastebin.com/i2JutQVC (i've just removed all the VideoInfoScanner and GetImageHash lines with all the filenames and stuff, I just left the one I used for the test : Breaking Bad S05E01)
PS2 : if you need any more information, please let me know