cachemembuffersize [as.xml]

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

cachemembuffersize [as.xml]

Post 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.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: cachemembuffersize [as.xml]

Post 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.
EFORCE
Posts: 47
Joined: Thu Jul 19, 2012 2:35 pm
Location: Netherlands
Has thanked: 3 times
Been thanked: 2 times

Re: cachemembuffersize [as.xml]

Post 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....
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: cachemembuffersize [as.xml]

Post by xbs »

I see.
So, it's already optimized for the Xbox?
No need to play around with it?
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: cachemembuffersize [as.xml]

Post 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.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: cachemembuffersize [as.xml]

Post by xbs »

4MB x 3?
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: cachemembuffersize [as.xml]

Post by BuZz »

x3 is wrong. their wiki needs updating actually.. on xbmc4xbox its 2x this amount of ram. so 4mb in this case.
EFORCE
Posts: 47
Joined: Thu Jul 19, 2012 2:35 pm
Location: Netherlands
Has thanked: 3 times
Been thanked: 2 times

Re: cachemembuffersize [as.xml]

Post 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?
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: cachemembuffersize [as.xml]

Post by xbs »

I've set mine to 0 for now and everything seems to play fine, will do some more testing...
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: cachemembuffersize [as.xml]

Post 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.
User avatar
Maza
Posts: 85
Joined: Wed Jul 04, 2012 5:06 pm
Location: Portugal
Has thanked: 3 times
Been thanked: 5 times

Re: cachemembuffersize [as.xml]

Post 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.
Xbox 1.4, softmod, 250 GB HDD, Monster Gamelink 400 X Component Video & Monster LightWave 100 X, silent fan mod, Confluence Lite 720p
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: cachemembuffersize [as.xml]

Post 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.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
Maza
Posts: 85
Joined: Wed Jul 04, 2012 5:06 pm
Location: Portugal
Has thanked: 3 times
Been thanked: 5 times

Re: cachemembuffersize [as.xml]

Post 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.
Xbox 1.4, softmod, 250 GB HDD, Monster Gamelink 400 X Component Video & Monster LightWave 100 X, silent fan mod, Confluence Lite 720p
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: cachemembuffersize [as.xml]

Post by xbs »

I didn't change them.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
Post Reply