Page 1 of 1

cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 11:11 am
by xbs
Has anyone tried changing this setting?

Code: Select all

<network>
  <cachemembuffersize>5242880</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
Default is 5242880=5 MBytes.

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 2:34 pm
by BuZz
xbs wrote:Has anyone tried changing this setting?

Code: Select all

<network>
  <cachemembuffersize>5242880</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
Default is 5242880=5 MBytes.
default on xbmc4xbox nightly is 2mb front and back buffer. (4mb in total).

I've tried changing it.

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 3:29 pm
by EFORCE
I have had streaming problems and was pointed out to this, but have not had a change to actually play around with it....

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 3:37 pm
by xbs
I see.
So, it's already optimized for the Xbox?
No need to play around with it?

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 3:59 pm
by BuZz
xbs wrote:I see.
So, it's already optimized for the Xbox?
No need to play around with it?
not really, unless you are having some troubles. setting it to 0 will mean the hd is used for caching (and will cache as much as it can) which may work well for streaming on a slower connection. this is a vfs layer cache, there is the dvdplayer caches on top etc.

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 9:26 pm
by xbs
4MB x 3?

Re: cachemembuffersize [as.xml]

Posted: Tue Sep 11, 2012 11:36 pm
by BuZz
x3 is wrong. their wiki needs updating actually.. on xbmc4xbox its 2x this amount of ram. so 4mb in this case.

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 10:08 am
by EFORCE
@Buzz, so if you experience buffering issues like I do, it is better to set it to 0 and have the HDD do the caching instead of increasing it to a value above 2MB, as this may cause memory issues?

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 11:48 am
by xbs
I've set mine to 0 for now and everything seems to play fine, will do some more testing...

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 2:47 pm
by BuZz
EFORCE wrote:@Buzz, so if you experience buffering issues like I do, it is better to set it to 0 and have the HDD do the caching instead of increasing it to a value above 2MB, as this may cause memory issues?
i cant answer that, as it depends what the cause of your issues. but feel fre to experiment.

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 3:25 pm
by Maza
Do I just put this code into advancedsettings.xml?

Code: Select all

<network>
    <cachemembuffersize>5242880</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
So it will look like this:

Code: Select all

<advancedsettings>
<useddsfanart>true</useddsfanart>
<thumbsize>256</thumbsize> 
<fanartheight>720</fanartheight>
<network>
  <cachemembuffersize>0</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
</advancedsettings>
I ask this because I used my advancedsettings.xml only for TODDS.

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 4:56 pm
by xbs
Maza wrote:Do I just put this code into advancedsettings.xml?

Code: Select all

<network>
    <cachemembuffersize>5242880</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
So it will look like this:

Code: Select all

<advancedsettings>
<useddsfanart>true</useddsfanart>
<thumbsize>256</thumbsize> 
<fanartheight>720</fanartheight>
<network>
  <cachemembuffersize>0</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
</advancedsettings>
I ask this because I used my advancedsettings.xml only for TODDS.
Yeah.

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 6:48 pm
by Maza
Thanks xbs, do I also have to change the videocache settings within XBMC4Xbox it stands at 4092 kbps for both DVDplayer as for Mplayer.

Re: cachemembuffersize [as.xml]

Posted: Wed Sep 12, 2012 6:50 pm
by xbs
I didn't change them.