Does increasing buffer/cache actually work?
#16
I typed it in ,its saying file name to write advancedsettings.xml?
Reply
#17
(2014-08-14, 20:39)Ned Scott Wrote: You guys can crank that readbufferfactor up higher, if you want Smile

The readbufferfactor is basically dependent on the bitrate of a given file, where "1" is loading the video slightly above the bitrate needed to play. Most systems shouldn't need to worry about loading things too fast or having a setting that is too high. In theory it could cause issues in some isolated cases, but you could throw "100" in there and it probably wouldn't hurt anything. It would just allow the math to work out in such a way that XBMC/Kodi tries to load things as fast as it can get it, regardless of the bitrate of the video.

I think most of my systems use "10" right now.

I'm under the impression that a larger number here would increase load time, not sure by how much, of course I could be talking s#*t
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Reply
#18
when go back and if i could the xml file it says it dosnt exist.
/.xbmc/userdata # advancedsettings.xml
-sh: advancedsettings.xml: not found
Reply
#19
(2014-08-14, 21:18)black_eagle Wrote: It doesn't exist until you create it.

ssh to Pi.
cd .xbmc/userdata
nano advancedsettings.xml
{type your file in}
ctrl+o to save
ctrl+x to exit
reboot

thanks how do i know if its worked.whats the ssh to see if the has been created.
Reply
#20
@yaqh: if ssh'd on Pi type 'ls -la .xbmc/userdata' and see if the file appears in the list and has a length >0.

@ned Scott:
Do you know any further parameter to improve buffering?
I am using nfs to my nas as it gives me the best possible speed, but still insufficient.
Playing around with this buffering seems to me as there are some other bottlenecks arising.
CPU load is 80-90% max. but Mem-counter is running (looks like buffer filling) and the video is waiting till finished. No more ideas here :-(

I'm using Openelec 4.0.7 with XBMC 13.1 on a new Pi B+. SD is a 8GB Class 10 Sandisk.

Edit: Network is not an issue, wired Gbit. My old WDTVlive plugged next to Pi has no problem.
Reply
#21
(2014-08-14, 22:55)wolfn Wrote: @yaqh: if ssh'd on Pi type 'ls -la .xbmc/userdata' and see if the file appears in the list and has a length >0.

@ned Scott:
Do you know any further parameter to improve buffering?
I am using nfs to my nas as it gives me the best possible speed, but still insufficient.
Playing around with this buffering seems to me as there are some other bottlenecks arising.
CPU load is 80-90% max. but Mem-counter is running (looks like buffer filling) and the video is waiting till finished. No more ideas here :-(

I'm using Openelec 4.0.7 with XBMC 13.1 on a new Pi B+. SD is a 8GB Class 10 Sandisk.

Edit: Network is not an issue, wired Gbit. My old WDTVlive plugged next to Pi has no problem.

yes its there,well to of them how do i delete them
Reply
#22
rm /storage/.xbmc/userdata/advancesettings.xml

But if you`ve got 2, make sure you remove the correct one.
Reply
#23
ssh
rm .xbmc/userdata/advancedsettings.xml

The second one probably ends .xml~ which is a backup Wink

@yaqh OpenELEC is built on Linux - Suggest you google some basic Linux commands, cos nobody wants to hold your hand.

I'm all for helping people, but this is stuff you could look up in ten seconds.
Learning Linux the hard way !!
Reply
#24
(2014-08-14, 23:20)stuCONNERS Wrote: rm /storage/.xbmc/userdata/advancesettings.xml

But if you`ve got 2, make sure you remove the correct one.

its saying no such file found?
Reply
#25
missed the d from advanced
Reply
#26
(2014-08-14, 23:25)black_eagle Wrote: ssh
rm .xbmc/userdata/advancedsettings.xml

The second one probably ends .xml~ which is a backup Wink

@yaqh OpenELEC is built on Linux - Suggest you google some basic Linux commands, cos nobody wants to hold your hand.

I'm all for helping people, but this is stuff you could look up in ten seconds.

thanks got it going.sorry for all the hand holding.

yea movie still stop starts.
Reply
#27
(2014-08-14, 23:37)yaqh Wrote: thanks got it going.sorry for all the hand holding.

Lol, glad you have !!

Seriously though, if you just blindly copy and paste, you won't learn much (if anything). If you look it up and have to understand what you are doing, then in no time you will be able to help others too, as well as yourself.

I know it might seem a bit daunting at first as its all command line stuff, but you will soon pick it up. Google knows all (apparently Wink)

I did warn you Smile

It isn't that the Pi can't get the data off the 'net fast enough, it's that the other end can't get it to you quickly enough.
Learning Linux the hard way !!
Reply
#28
just checked the cpu is isung 75%

Mem: 354512K used, 26836K free, 0K shrd, 15756880K buff, 15756928K cached
CPU: 65.7% usr 6.6% sys 0.6% nic 26.2% idle 0.0% io 0.0% irq 0.8% sirq
Load average: 1.24 0.97 0.56 1/102 389
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
292 1 root S 376m101.0 0 71.1 /usr/lib/xbmc/xbmc.bin --standalone -fs --lircdev /run/lirc/lircd
6 2 root SW 0 0.0 0 0.8 [kworker/u2:0]
57 2 root SW 0 0.0 0 0.8 [kworker/u2:1]
384 278 root S 7052 1.8 0 0.2 sshd: root@pts/0
389 386 root R 2588 0.6 0 0.2 top
9 2 root SW 0 0.0 0 0.2 [rcu_preempt]
67 2 root SW 0 0.0 0 0.2 [mmcqd/0]
192 2 root SW 0 0.0 0 0.2 [kworker/0:3]
261 1 root S 4852 1.2 0 0.0 /usr/bin/wpa_supplicant -u
278 1 root S 4192 1.1 0 0.0 /usr/sbin/sshd -D
243 1 root S 4052 1.0 0 0.0 /usr/sbin/connmand -nr
1 0 root S 3936 1.0 0 0.0 /usr/lib/systemd/systemd
262 1 root S 3608 0.9 0 0.0 /usr/sbin/connman-vpnd -n
199 1 root S 2956 0.7 0 0.0 /usr/lib/systemd/systemd-udevd
222 1 dbus S 2784 0.7 0 0.0 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
386 384 root S 2584 0.6 0 0.0 -sh
206 1 root S 2380 0.6 0 0.0 /usr/lib/systemd/systemd-logind
287 1 root S 2308 0.6 0 0.0 /usr/sbin/lircd --uinput --driver=default --device=/dev/lirc0 --output=/run/lirc/lircd-lirc0 --pidfile=/run/lirc/lircd-lirc0.pid /etc/lirc/lircd.conf.rpi
195 1 root S 2300 0.6 0 0.0 /usr/lib/systemd/systemd-journald
205 1 root S 2112 0.5 0 0.0 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd --release=_UP
272 1 root S 2092 0.5 0 0.0 /usr/bin/rpcbind
381 2 root SW 0 0.0 0 0.0 [kworker/u2:3]
50 2 root SW< 0 0.0 0 0.0 [VCHIQ-0]
51 2 root SW< 0 0.0 0 0.0 [VCHIQr-0]
10 2 root RW 0 0.0 0 0.0 [rcuop/0]
92 2 root SW< 0 0.0 0 0.0 [loop0]
3 2 root SW 0 0.0 0 0.0 [ksoftirqd/0]
22 2 root SW 0 0.0 0 0.0 [khubd]
85 2 root SW 0 0.0 0 0.0 [jbd2/mmcblk0p6-]
27 2 root SW 0 0.0 0 0.0 [kswapd0]
2 0 root SW 0 0.0 0 0.0 [kthreadd]
4 2 root SW 0 0.0 0 0.0 [kworker/0:0]
5 2 root SW< 0 0.0 0 0.0 [kworker/0:0H]
7 2 root SW 0 0.0 0 0.0 [rcuc/0]
Reply
#29
@yaqh are you using wifi or wired ethernet
Reply
#30
(2014-08-14, 23:50)stuCONNERS Wrote: @yaqh are you using wifi or wired ethernet

wifi.could jus be a bad stream?
Reply

Logout Mark Read Team Forum Stats Members Help
Does increasing buffer/cache actually work?0