Buffer Issue's Rasp Openelec with USB
#16
(2015-01-06, 00:28)PeterBoomhut Wrote: Done, iperf
Had to change first the Language in English so I could understand it.

What did iperf? after Force refresh?

You run iperf from the ssh command line. You need it installed on two computers, ideally one at each "end" of your network segment being tested. One computer acts as the server, the other the client (doesn't really matter which is which), and iperf measures the raw network bandwidth available between those two computers.

iperf eliminates other variables such as filesystem overhead and disk IO which can negatively skew the network performance when testing using a file copy (most likely why your file copy test "fluctuates", as the CPU is busy writing data to SD card it can't service the network so quickly).

Perhaps this will help: http://openmaniak.com/iperf.php
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#17
Ow, haven't seen there is already a page 2, sorry.


When i push "O" the on screen appear this.

D(Audio: dts (DTS-HD MA) (134][0][0][0] / 0x0086), 48000 Hz, 5.1 (side), fltp, 1536 kb/s)
P(aq:40%, Kb/s:2489.21)
D(Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9])
P(fr.23.976, vq: 0%, dc:omx-h264, Mb/s:13.62)
C( ad: 1.041, a/v.-2.797, edl:-, dcpu:15% acpu: 0% vcpu: 0% cache:0 B 28% af:25% vf:60% amp: 0.00)
W( fps:9.25 CPUO: 71%)

By P(aq:40% , KB/s should that be kB/s and is this the bitrate?

Milhouse, thanks, I'm going to read.
Reply
#18
How do I run iperf with Putty /ssh commandline?
I found iperf for Windows on a France site.
https://iperf.fr/

and witch is to prefer as server? Mu Windows PC or the rasp?
Reply
#19
OpenELEC (official) Version: 5.0.0
OpenELEC:~ # iperf -c 192.168.1.125
------------------------------------------------------------
Client connecting to 192.168.1.125, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.110 port 38352 connected with 192.168.1.125 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 48.1 MBytes 40.3 Mbits/sec

Microsoft Windows [versie 6.1.7601]
Copyright © 2009 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users\Of>f:

F:\>cd\RASPBERRY\network\iperf-2.0.5-3-win32\iperf-2.0.5-3-win32

F:\RASPBERRY\network\iperf-2.0.5-3-win32\iperf-2.0.5-3-win32>iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 63.0 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.125 port 5001 connected with 192.168.1.110 port 38352
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-298.9 sec 48.1 MBytes 1.35 Mbits/sec

OpenELEC:~ # iperf -c 192.168.1.125 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.125, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.1.110 port 38357 connected with 192.168.1.125 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 52.6 MBytes 44.1 Mbits/sec

Windows:
[ 4] local 192.168.1.125 port 5001 connected with 192.168.1.110 port 38357
[ 4] 0.0-34.6 sec 52.6 MBytes 12.8 Mbits/sec
Reply
#20
Your tests (40.3 Mbits/sec and 44.1 Mbits/sec) look normal for a non-overclocked (or very lightly overclocked) Pi, these are my results:

Server 192.168.0.3 is a HP N36L (dual-core Atom-class processor) running FreeNAS, Gigabit network connection.

Stock clock Pi (no overclock settings in config.txt):
Code:
rpi512:~ # iperf -c 192.168.0.3 -t 60 -i 10
------------------------------------------------------------
Client connecting to 192.168.0.3, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.8 port 38709 connected with 192.168.0.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  47.1 MBytes  39.5 Mbits/sec
[  3] 10.0-20.0 sec  47.1 MBytes  39.5 Mbits/sec
[  3] 20.0-30.0 sec  47.2 MBytes  39.6 Mbits/sec
[  3] 30.0-40.0 sec  47.2 MBytes  39.6 Mbits/sec
[  3] 40.0-50.0 sec  47.1 MBytes  39.5 Mbits/sec
[  3] 50.0-60.0 sec  46.8 MBytes  39.2 Mbits/sec
[  3]  0.0-60.0 sec   283 MBytes  39.5 Mbits/sec

Overclocked Pi (ARM:1000, Core:500, SDRAM:600, force_turbo=1):
Code:
rpi512:~ # iperf -c 192.168.0.3 -t 60 -i 10
------------------------------------------------------------
Client connecting to 192.168.0.3, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.8 port 35841 connected with 192.168.0.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  91.4 MBytes  76.7 Mbits/sec
[  3] 10.0-20.0 sec  92.1 MBytes  77.3 Mbits/sec
[  3] 20.0-30.0 sec  92.0 MBytes  77.2 Mbits/sec
[  3] 30.0-40.0 sec  91.8 MBytes  77.0 Mbits/sec
[  3] 40.0-50.0 sec  92.1 MBytes  77.3 Mbits/sec
[  3] 50.0-60.0 sec  92.0 MBytes  77.2 Mbits/sec
[  3]  0.0-60.0 sec   552 MBytes  77.1 Mbits/sec

A high-bit rate Blueray may be too much for a Pi with default or low overclock settings, so try overclocking more (see if you can reach arm_freq=1000 - bump over_voltage if necessary for a stable overclock, see other threads to continue overclock discussion).

Monitoring with bcmstat.sh could help determine if the buffering coincides with large network transfers, which may suggest the lack of network capacity (due to low overclock) is the problem.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#21
Overclock settings:
- ARM frequency (arm.freq) = 1000
- Core frequency (corefreq) = 500
- SDRAM frequency (sdram_freq) = 500
- ARM voltage adjustment (over_voltage) = 6
- SDRAM voltage adjustment (over_voltage_sdram) = 0
Disable dynamic overclock (force_turbo)
Initial time to disable dynamic overclock (initiaLturbo)

Code:
OpenELEC:~ # iperf -c 192.168.1.125 -t 60 -i 10
------------------------------------------------------------
Client connecting to 192.168.1.125, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.110 port 38420 connected with 192.168.1.125 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  54.4 MBytes  45.6 Mbits/sec
[  3] 10.0-20.0 sec  58.8 MBytes  49.3 Mbits/sec
[  3] 20.0-30.0 sec  59.0 MBytes  49.5 Mbits/sec
[  3] 30.0-40.0 sec  58.6 MBytes  49.2 Mbits/sec
[  3] 40.0-50.0 sec  59.6 MBytes  50.0 Mbits/sec
[  3] 50.0-60.0 sec  58.8 MBytes  49.3 Mbits/sec
[  3]  0.0-60.0 sec   349 MBytes  48.8 Mbits/sec

I can try to overclock more, but i dont't think it will help.
Reply
#22
The same overclock settings but directly from asus RT n66u (thus without the switch)

Code:
OpenELEC (official) Version: 5.0.0
OpenELEC:~ # iperf -c 192.168.1.125 -t 60 -i 10
------------------------------------------------------------
Client connecting to 192.168.1.125, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.110 port 38429 connected with 192.168.1.125 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  91.4 MBytes  76.7 Mbits/sec
[  3] 10.0-20.0 sec  91.9 MBytes  77.1 Mbits/sec
[  3] 20.0-30.0 sec  91.5 MBytes  76.8 Mbits/sec
[  3] 30.0-40.0 sec  91.8 MBytes  77.0 Mbits/sec
[  3] 40.0-50.0 sec  92.0 MBytes  77.2 Mbits/sec
[  3] 50.0-60.0 sec  92.0 MBytes  77.2 Mbits/sec
[  3]  0.0-60.0 sec   551 MBytes  77.0 Mbits/sec

That is a great difference !
But still stuttering because of an empty buffer
Reply
#23
download
mbv Putty

curl -Ls https://raw.githubusercontent.com/Milhou...bcmstat.sh -o ~/bcmstat.sh

chmod +x ~/bcmstat.sh

.bcmstat.sh cxgd10

Code:
OpenELEC:~ # ./bcmstat.sh cxgd10
  Config: v0.1.8, args "cxgd10", priority lowest (+19)
Governor: ondemand
  Memory: 512MB (split 288MB ARM, 224MB GPU)
HW Block: |   ARM   |  Core  |  H264  |   SDRAM   |
Min Freq: |  700Mhz | 250Mhz |   0Mhz |   500Mhz  |
Max Freq: | 1000Mhz | 500Mhz | 250Mhz |   500Mhz  |
Voltages: |         +6, 1.350V        | 0, 1.200V |
   Other: temp_limit=85
Firmware: Dec 19 2014 18:40:20, version 5abd572e2ed1811283443387af09377b95501c50 (clean) (release)
  Codecs: H264 MPG2 VP8 VORBIS MJPG
  Booted: Thu Jan  8 17:38:50 2015

Time          ARM     Core     H264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s  GPUMem Free   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ===========  ======  ======  ======  ======  ======  ======  ======  ======  ================
23:32:50  1000Mhz   500Mhz   250Mhz  54.07C (54.07C)   2,471         555       5,262  122M ( 59%)   25.47   25.47   47.30    0.00    0.00    0.00    0.00  100.00  188,824 kB/33.4%
23:33:00  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,452       2,703       1,544  122M ( 59%)   60.96    1.27    6.25   28.92    0.00    0.00    0.20   71.08  188,824 kB/33.4%
23:33:10  1000Mhz   500Mhz   249Mhz  52.46C (54.07C)   2,453       2,702       1,562  122M ( 59%)   60.53    1.07    6.64   29.19    0.00    0.00    0.10   70.81  188,808 kB/33.4%
23:33:21  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,455       2,881       1,620  122M ( 59%)   60.36    1.07    7.31   28.86    0.00    0.00    0.20   71.14  188,816 kB/33.4%
23:33:31  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,454       2,744       1,584  122M ( 59%)   60.45    1.07    7.13   28.22    0.00    0.00    0.20   71.78  188,816 kB/33.4%
23:33:41  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,455       2,714       1,554  122M ( 59%)   61.10    0.98    6.65   28.94    0.00    0.00    0.10   71.06  188,824 kB/33.4%
23:33:51  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,452       2,705       1,556  122M ( 59%)   59.20    1.17    7.33   29.50    0.00    0.00    0.20   70.50  188,816 kB/33.4%
23:34:02   700Mhz   250Mhz   250Mhz  53.00C (54.07C)   2,453       2,844       1,617  122M ( 59%)   61.14    1.20    6.94   28.39    0.00    0.00    0.18   71.61  188,824 kB/33.4%
23:34:13  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,454       2,726       1,544  122M ( 59%)   61.30    0.86    7.57   28.16    0.00    0.00    0.10   71.84  188,808 kB/33.4%
23:34:23  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,453       2,769       1,549  122M ( 59%)   60.03    0.59    7.53   29.33    0.00    0.00    0.10   70.67  188,808 kB/33.4%
23:34:33  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,452       2,719       1,544  122M ( 59%)   61.32    1.17    6.72   28.61    0.00    0.00    0.29   71.39  188,808 kB/33.4%
23:34:43  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,452       2,714       1,556  122M ( 59%)   60.01    1.27    6.94   28.83    0.00    0.10    0.10   71.17  188,816 kB/33.4%
23:34:54  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,452       2,669       1,561  122M ( 59%)   60.54    1.56    6.83   28.80    0.00    0.00    0.20   71.20  188,808 kB/33.4%
23:35:04  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,452       2,748       1,610  122M ( 59%)   60.81    1.07    6.05   29.09    0.00    0.00    0.10   70.91  188,824 kB/33.4%
23:35:14  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,453       2,782       1,613  122M ( 59%)   60.75    1.17    6.25   29.30    0.00    0.00    0.10   70.70  188,824 kB/33.4%
23:35:24  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,453       2,699       1,555  122M ( 59%)   61.01    1.07    7.03   28.70    0.00    0.00    0.10   71.30  188,824 kB/33.4%
23:35:35  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,452       2,581       1,475  122M ( 59%)   58.30    1.05    7.53   29.91    0.00    0.10    0.19   70.09  188,816 kB/33.4%
23:35:45   999Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,453       2,615       1,458  122M ( 59%)   59.68    1.23    7.18   28.71    0.00    0.00    0.19   71.29  188,756 kB/33.4%
23:35:56  1000Mhz   500Mhz   250Mhz  50.84C (54.07C)   2,453       2,730       1,589  122M ( 59%)   61.53    1.13    6.62   28.26    0.00    0.00    0.19   71.74  188,748 kB/33.4%
23:36:06  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,452       2,760       1,557  122M ( 59%)   60.60    1.56    6.74   28.44    0.00    0.00    0.20   71.56  188,756 kB/33.4%
23:36:16  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,453       2,857       1,590  122M ( 59%)   59.95    1.07    6.93   29.39    0.00    0.00    0.10   70.61  188,764 kB/33.4%
23:36:27  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,453       2,737       1,550  122M ( 59%)   60.96    1.07    6.84   28.53    0.00    0.00    0.10   71.47  188,764 kB/33.4%
23:36:37   999Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,453       2,758       1,556  122M ( 59%)   59.80    1.17    6.64   29.22    0.00    0.00    0.20   70.78  188,756 kB/33.4%
23:36:47  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,453       2,744       1,546  122M ( 59%)   59.33    1.07    7.22   29.76    0.00    0.00    0.20   70.24  188,772 kB/33.4%
23:36:58  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,454       2,682       1,528  122M ( 59%)   60.91    0.96    6.26   29.11    0.00    0.00    0.10   70.89  188,772 kB/33.4%
23:37:08  1000Mhz   500Mhz   250Mhz  52.46C (54.07C)   2,452       2,732       1,595  122M ( 59%)   59.48    1.27    6.53   29.45    0.00    0.00    0.29   70.55  188,756 kB/33.4%
23:37:18  1000Mhz   499Mhz   250Mhz  51.92C (54.07C)   2,452       2,688       1,541  122M ( 59%)   60.22    1.26    6.42   29.58    0.00    0.00    0.10   70.42  188,772 kB/33.4%
23:37:28  1000Mhz   500Mhz   250Mhz  53.00C (54.07C)   2,452       2,760       1,612  122M ( 59%)   60.46    0.88    6.74   29.30    0.00    0.00    0.29   70.70  188,764 kB/33.4%
23:37:39  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,452       2,709       1,542  122M ( 59%)   61.75    1.07    6.25   28.63    0.00    0.00    0.10   71.37  188,772 kB/33.4%
23:37:49  1000Mhz   500Mhz   250Mhz  51.92C (54.07C)   2,453       2,769       1,579  122M ( 59%)   60.15    0.78    6.93   28.81    0.00    0.00    0.00   71.19  188,756 kB/33.4%
Reply
#24
Can you perhaps explain what was happening while the above stats were being collected?

I can see the Pi is busy doing something, most likely decoding a video since the h264 block is active, but there is very little network activity, at least not on eth0. Considering the lack of network activity, the one thing that does stand out is the higher than usual IRQ/s - what devices do you have connected to USB? You don't have a WiFi dongle connected, do you?

Please run "dmesg | pastebinit", "ifconfig | pastebinit", and "lsusb | pastebinit", then reply with the three urls.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#25
After a reboot this morning:

Code:
OpenELEC:~ # ./bcmstat.sh cxgd10
  Config: v0.1.8, args "cxgd10", priority lowest (+19)
Governor: ondemand
  Memory: 512MB (split 288MB ARM, 224MB GPU)
HW Block: |   ARM   |  Core  |  H264  |   SDRAM   |
Min Freq: |  700Mhz | 250Mhz |   0Mhz |   500Mhz  |
Max Freq: | 1000Mhz | 500Mhz | 250Mhz |   500Mhz  |
Voltages: |         +6, 1.350V        | 0, 1.200V |
   Other: temp_limit=85
Firmware: Dec 19 2014 18:40:20, version 5abd572e2ed1811283443387af09377b95501c50 (clean) (release)
  Codecs: H264 MPG2 VP8 VORBIS MJPG
  Booted: Fri Jan  9 06:27:22 2015

Time          ARM     Core     H264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s  GPUMem Free   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ===========  ======  ======  ======  ======  ======  ======  ======  ======  ================
07:14:11  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,442          31         318  160M ( 78%)   83.36    2.99   14.01    0.00    0.00    0.00    0.00  100.00  231,916 kB/18.2%
07:14:24  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,447           6          83  160M ( 78%)   80.57    1.05   11.52    5.64    0.00    0.08    0.08   94.36  231,900 kB/18.2%
07:14:37  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,440           7         114  160M ( 78%)   81.02    0.92   11.34    5.44    0.00    0.00    0.00   94.56  231,916 kB/18.2%
07:14:50  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,445          10          96  160M ( 78%)   82.66    1.11   11.11    4.37    0.00    0.07    0.00   95.63  231,908 kB/18.2%
07:15:03  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,442           3          84  160M ( 78%)   81.56    1.19   10.91    4.82    0.00    0.00    0.00   95.18  231,908 kB/18.2%
07:15:15  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,434           7         106  160M ( 78%)   80.48    1.13   10.93    5.75    0.00    0.00    0.00   94.25  231,908 kB/18.2%
07:15:28  1000Mhz   500Mhz     0Mhz  57.84C (58.38C)   2,445           3         101  160M ( 78%)   81.24    1.11   10.56    5.64    0.00    0.00    0.00   94.36  231,908 kB/18.2%
07:15:41  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,444           7         106  160M ( 78%)   80.30    1.26   11.61    5.45    0.00    0.00    0.00   94.55  231,908 kB/18.2%
07:15:54  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,442           3          81  160M ( 78%)   83.00    0.91   10.47    4.17    0.00    0.00    0.00   95.83  231,908 kB/18.2%
07:16:07  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,445           7         117  160M ( 78%)   80.85    1.16   11.54    5.27    0.00    0.00    0.08   94.73  231,908 kB/18.2%
07:16:19  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,436          20          96  160M ( 78%)   80.69    1.09   11.94    4.96    0.00    0.00    0.00   95.04  231,892 kB/18.2%
07:16:32  1000Mhz   500Mhz     0Mhz  57.84C (58.38C)   2,438          13          91  160M ( 78%)   81.92    1.28   11.71    4.17    0.00    0.00    0.00   95.83  231,908 kB/18.2%
07:16:45  1000Mhz   500Mhz     0Mhz  57.84C (58.38C)   2,442          16          86  160M ( 78%)   81.06    0.88   10.90    5.37    0.00    0.00    0.00   94.63  231,908 kB/18.2%
07:16:57  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,445           7         118  160M ( 78%)   80.94    1.13   10.56    5.80    0.00    0.00    0.00   94.20  231,908 kB/18.2%
07:17:10  1000Mhz   500Mhz     0Mhz  57.84C (58.38C)   2,448           7          99  160M ( 78%)   82.87    1.05   10.74    3.98    0.00    0.00    0.00   96.02  231,908 kB/18.2%
07:17:23  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,436          29         101  160M ( 78%)   80.06    1.11   11.87    5.06    0.00    0.08    0.08   94.94  231,908 kB/18.2%
07:17:36  1000Mhz   500Mhz     0Mhz  58.38C (58.38C)   2,448          20         108  160M ( 78%)   81.79    0.96   10.96    4.96    0.00    0.00    0.00   95.04  231,892 kB/18.2%^C
Peak Values: IRQ: 2448, RX: 31, TX: 318
Reply
#26
The only thing that was active , is kodi itself. No playback!
On the usb is active :
1- A Microsoft wireless keyboard with touch-pad : ( I think it curse)
Key board

2- a transcend usb 3 memory stick


- "dmesg | pastebinit":
http://sprunge.us/LULU

- "ifconfig | pastebinit" :
http://sprunge.us/jDYg

Can somebody explain what the items displayed such as %user %nice in ./bcmstat.sh cxgd10

- lsusb | pastebinit
http://sprunge.us/PTMI
Reply
#27
(2015-01-09, 08:55)PeterBoomhut Wrote: The only thing that was active , is kodi itself. No playback!

If that's the Pi "idle", then there's something very wrong.

(2015-01-09, 08:55)PeterBoomhut Wrote: Can somebody explain what the items displayed such as %user %nice in ./bcmstat.sh cxgd10

These are a high-level(ish) breakdown of what your CPU is doing and where it is spending it's "time":
Code:
user  : time running un-niced user processes
nice  : time running niced user processes
system: time running kernel processes
iowait: time waiting for I/O completion
irq   : time spent servicing hardware interrupts
s/irq : time spent servicing software interrupts

idle and total are self explanatory.

So in your case, even though Kodi is apparently idle and not doing anything, you still have a user process that is keeping the processor busy and stealing cycles from other processes which would explain why Kodi is stuttering, as there simply isn't enough CPU to go around.

First thing I'd do is remove the keyboard dongle, reboot, and see if the load is now reduced. If not, put it back and continue with the next test...

Run the "top" command from ssh and see which process is using all the CPU. If it's Kodi (kodi.bin) then it's likely to be an addon that has gone haywire, or is poorly written. Start with a fresh .kodi setup:
Code:
systemctl stop kodi
mv .kodi .kodi.bak
systemctl start kodi
and see if the load is now reduced - a well-behaved Kodi process on a 1GHz Pi should load the CPU no more than 15-20% total (ie. 80-85% idle).

Add back your addons until the CPU load goes through the roof, and that last addon is your problem.

If top suggests some process other than Kodi is using all the CPU, then paste details of the process (copy the "top" output from your console, the first 12 lines should be sufficient).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#28
i'll take another Top , after 5 minutes
Reply
#29
Bear in mind that Kodi normally takes a couple of minutes to initialise, so wait a good 5 minutes before measuring with top. If kodi.bin is still using more than 20% CPU constantly, then try the fresh setup route and re-apply your add-ons until you find the problem.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#30
Code:
OpenELEC:~ # reboot (after removing Keyboard dongle)
login as: root
[email protected]'s password:
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 5.0.0
OpenELEC:~ # clear
OpenELEC:~ # ./bcmstat.sh cxgd10
  Config: v0.1.8, args "cxgd10", priority lowest (+19)
Governor: ondemand
  Memory: 512MB (split 288MB ARM, 224MB GPU)
HW Block: |   ARM   |  Core  |  H264  |   SDRAM   |
Min Freq: |  700Mhz | 250Mhz |   0Mhz |   500Mhz  |
Max Freq: | 1000Mhz | 500Mhz | 250Mhz |   500Mhz  |
Voltages: |         +6, 1.350V        | 0, 1.200V |
   Other: temp_limit=85
Firmware: Dec 19 2014 18:40:20, version 5abd572e2ed1811283443387af09377b95501c50 (clean) (release)
  Codecs: H264 MPG2 VP8 VORBIS MJPG
  Booted: Sat Jan 10 17:20:34 2015

Time          ARM     Core     H264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s  GPUMem Free   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ===========  ======  ======  ======  ======  ======  ======  ======  ======  ================
17:23:10  1000Mhz   500Mhz     0Mhz  59.99C (59.99C)     265         162       1,313  160M ( 78%)   62.21   13.57   23.75    0.00    0.00    0.00    0.00  100.00  232,704 kB/17.9%
17:23:21  1000Mhz   500Mhz     0Mhz  59.45C (59.99C)     260          74         108  160M ( 78%)   70.77    0.66    9.65   17.90    0.00    0.00    0.00   82.10  232,704 kB/17.9%
17:23:32  1000Mhz   500Mhz     0Mhz  59.45C (59.99C)     260          52         117  160M ( 78%)   71.86    0.47    9.10   17.45    0.00    0.00    0.09   82.55  232,704 kB/17.9%
17:23:42  1000Mhz   500Mhz     0Mhz  59.45C (59.99C)     260          47         100  160M ( 78%)   70.21    0.94   10.14   17.55    0.00    0.00    0.00   82.45  232,704 kB/17.9%
17:23:53  1000Mhz   500Mhz     0Mhz  59.45C (59.99C)     260          49         117  160M ( 78%)   69.78    1.22   10.12   17.61    0.00    0.00    0.00   82.39  232,704 kB/17.9%
17:24:04  1000Mhz   500Mhz     0Mhz  58.91C (59.99C)     259          47          99  160M ( 78%)   70.33    0.84    9.32   17.70    0.00    0.00    0.00   82.30  232,708 kB/17.9%
17:24:14  1000Mhz   500Mhz     0Mhz  59.99C (59.99C)     260          49         128  160M ( 78%)   70.30    0.65    9.79   17.81    0.00    0.00    0.00   82.19  232,708 kB/17.9%
17:24:25  1000Mhz   500Mhz     0Mhz  59.45C (59.99C)     260          69         116  160M ( 78%)   70.51    0.75    9.89   17.81    0.00    0.00    0.00   82.19  232,708 kB/17.9%
17:24:36  1000Mhz   500Mhz     0Mhz  60.53C (60.53C)     259          37          99  160M ( 78%)   69.45    1.21   10.25   17.71    0.00    0.00    0.00   82.29  232,708 kB/17.9%
17:24:47  1000Mhz   500Mhz     0Mhz  59.99C (60.53C)     260          59          99  160M ( 78%)   68.78    1.58   10.04   18.22    0.00    0.00    0.09   81.78  232,708 kB/17.9%
17:24:57  1000Mhz   500Mhz     0Mhz  59.45C (60.53C)     260          30          99  160M ( 78%)   70.46    0.84    9.34   17.85    0.00    0.00    0.00   82.15  232,708 kB/17.9%
17:25:08  1000Mhz   500Mhz     0Mhz  59.45C (60.53C)     260          51         104  160M ( 78%)   70.57    0.47    9.69   17.71    0.00    0.00    0.00   82.29  232,708 kB/17.9%^C
Peak Values: IRQ: 265, RX: 162, TX: 1313

Something is eating my cpu!
Without my transcend USB3 stick, the system won't boot properly!
Reply

Logout Mark Read Team Forum Stats Members Help
Buffer Issue's Rasp Openelec with USB0