Windows How do i know cache has been increased?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #11
cache size is 3x the specified. history buffer, current buffer, lookahead buffer.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
koomak Offline
Junior Member
Posts: 44
Joined: Apr 2012
Reputation: 0
Post: #12
Thanks Kricker for reply
the advancesettings.xml file is located in Appdata/roaming/xbnv/userdata directory that suppose tobe I think

Here is the Log file of XBMC u can check if something wrong , I streamed on more time same video stream and same result could u please look at this log:

http://pastebin.com/ZCQrasQi

Thanks
(This post was last modified: 2012-06-30 20:48 by koomak.)
find quote
tank_top Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #13
Quote:Here is my Advancedsetting file

Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

<advancedsettings>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize> 10485760</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 think the problem might be you've defined advancedsettings twice in the XML file.

Try this instead:

Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize> 10485760</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>
(This post was last modified: 2012-07-02 12:33 by tank_top.)
find quote
koomak Offline
Junior Member
Posts: 44
Joined: Apr 2012
Reputation: 0
Post: #14
Thanks tank-top for reply;
I changed as u posted
tries the same stream as u can see in my pastebin log
but same story after buffering about 15 MB this time start running and buffer again
(This post was last modified: 2012-07-02 19:51 by koomak.)
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #15
My only guess is that the stream is not being feed to XBMC fast enough. Can you play the same stream without issue in other players?

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
tank_top Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #16
(2012-07-02 12:32)tank_top Wrote:  
Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize> 10485760</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>

(2012-07-02 19:50)koomak Wrote:  Thanks tank-top for reply;
I changed as u posted
tries the same stream as u can see in my pastebin log
but same story after buffering about 15 MB this time start running and buffer again

I don't know how picky the XML reader for advancedsettings.xml is, but try removing the space before the buffer size declaration. Like so:

Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize>10485760</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>
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #17
I tested without and without the leading space on he buffer amount and it appeared to not matter.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
scutzi128 Offline
Junior Member
Posts: 33
Joined: Jan 2010
Reputation: 0
Post: #18
For me it seemed that for smb shares the xml file did not affect the actual cache size but using ftp or webdav the cache size was affected.
find quote
gigabitfx Offline
Junior Member
Posts: 2
Joined: May 2011
Reputation: 0
Post: #19
Im not sure why were recommending such a low (10meg??) cache to resolve this issue. I tried it myself at 10megs and it seemed to buffer less then when I didn't have anything in advancedsettings.xml. My system has 4 gigs installed ram with 3gigs available in windows so I decided to do a 512meg buffer which when set is actually 512x3=1.5gigs total xbmc buffer leaving 1.5 free for windows. Finally resolved the cache is full message on slow streams. Here is my xml file.

<advancedsettings>
<network>
<cachemembuffersize>536870912</cachemembuffersize>
</network>
</advancedsettings>
(This post was last modified: 2012-08-24 01:08 by gigabitfx.)
find quote
Post Reply