OpenELEC speed problems (wired!)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #1
Hey everyone,

i’m having strange problems with the speed in my network, particularly with the speed to my Raspberry Pi. I’m using the latest testbuilds from Milhouse (January 18th).

My RPi is connected via Ethernet (100 Mbit) to my router and until this weekend, my media was served through a NFS share on my iMac which was connected via WiFi to my router. Actually, there weren’t that many speed problems but for other reasons i upgraded my infrastructure and connected my iMac (1 Gbit) to my router (also 1 Gbit) via ethernet cable.

When using OpenELEC in my new infrastructure i noticed, some strange speed problems, since some movies began to stutter. I thought that the cable between the iMac and the Pi was the problem, but i wanted to be sure, therefore i measured the traffic in my home network with the network tool iperf.

I used iperf with a 60 second duration option and measured three times for every scenario:
  • iMac (Wifi) -> Pi (100 Mbit Ethernet): 28.9 Mbit/sec & 34.7 Mbit/sec & 28.8 Mbit/sec
  • iMac (1 Gbit Ethernet) -> Pi (100 Mbit Ethernet): 47.3 Mbit/sec & 39.0 Mbit/sec & 33.7 Mbit/sec

Sometimes the speed was even dropping to 10 Mbits/sec (via ethernet) - i did more measurements. As i said: I thought that the problem could be the cable between the iMac and my router, therefore i measured the speed between my notebook (connected through 100 Mbit Ethernet to the router - of course with another cable) to the Pi and these were the results:
  • Notebook (100 Mbit Ethernet) -> Pi (100 Mbit Ethernet): 43.7 Mbits/sec & 38.7 Mbits/sec & 31.9 Mbits/sec

Obviously it wasn’t the cable between the the iMac and the router. To make sure, that it isn’t my home network i measured the speed between the iMac and the notebook:
  • iMac (1Gbit Ethernet) -> Notebook (100 Mbit Ethernet): 86.2 Mbits/sec & 87.6 Mbits/sec & 87.8 Mbits/sec

Expected results! So, the problem have to be the Pi. First i thought it could be the cable between the Pi and the router, so i changed it. No improvements. I changed the port in the router. No improvements.

I have no idea what’s causing these speed problems. There is nothing else on my PI besides OpenELEC and obviously during measurements it was just idleing and did not play any video and wasn't scraping the library.

I checked the processes via the top command on the Pi:

Nothing unusual 14-16% CPU for the XBMC process (but 107.6 for %VSZ <- what is that?)

Does anyone have other ideas what could cause the problem? It's not a big problem, but i just don't get it?

By the way, the Pi is overclocked with
  • arm_freq=1000
  • core_freq=500
  • sdram_freq=500
  • over_voltage=4
  • force_turbo=1
find quote
popcornmix Offline
Team-Kodi Member
Posts: 3,128
Joined: Feb 2011
Reputation: 72
Post: #2
I'd expect the Pi to have iperf (send or receive) numbers of around 90Mb/s, so something is not good.
Does ifconfig show lots or errors or dropped packets? This is what I have:
Code:
eth0      Link encap:Ethernet  HWaddr b8:27:eb:00:00:0e
          inet addr:10.177.13.42  Bcast:10.177.13.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:652407 errors:0 dropped:385 overruns:0 frame:0
          TX packets:322948 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:781469362 (745.2 MiB)  TX bytes:50085588 (47.7 MiB)

Anything suspicious in dmesg log?
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #3
No:

Code:
eth0      Link encap:Ethernet  HWaddr B8:27:EB:35:37:38  
          inet addr:192.168.178.20  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4775258 errors:0 dropped:2 overruns:0 frame:0
          TX packets:2453830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2638802386 (2.4 GiB)  TX bytes:205458845 (195.9 MiB)

dmesg.log looks also normal - as far i can tell.

The huge differences in the measurements are also very strange. Here are my last iperf results (from the iMac and the notebook - both wired)

Code:
[ ID] Interval       Transfer     Bandwidth
[  4] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 50315
[  4]  0.0-60.0 sec   521 MBytes  72.8 Mbits/sec
[  5] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 50499
[  5]  0.0-60.0 sec   416 MBytes  58.2 Mbits/sec
[  6] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 50570
[  6]  0.0-60.0 sec   324 MBytes  45.3 Mbits/sec
[  7] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 50836
[  7]  0.0-60.0 sec   278 MBytes  38.8 Mbits/sec
[  8] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 51002
[  8]  0.0-60.0 sec   230 MBytes  32.2 Mbits/sec
[  9] local 192.168.178.20 port 5001 connected with 192.168.178.21 port 54337
[  9]  0.0-60.1 sec   342 MBytes  47.8 Mbits/sec
[ 10] local 192.168.178.20 port 5001 connected with 192.168.178.21 port 54359
[ 10]  0.0-60.0 sec   306 MBytes  42.7 Mbits/sec
[ 11] local 192.168.178.20 port 5001 connected with 192.168.178.21 port 54380
[ 11]  0.0-60.0 sec   276 MBytes  38.6 Mbits/sec
[ 12] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 51874
[ 12]  0.0-60.0 sec   174 MBytes  24.3 Mbits/sec
[ 13] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 51904
[ 13]  0.0-60.0 sec   154 MBytes  21.5 Mbits/sec
[ 14] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 51915
[ 14]  0.0-60.1 sec   132 MBytes  18.4 Mbits/sec
[ 15] local 192.168.178.20 port 5001 connected with 192.168.178.31 port 51938
[ 15]  0.0-60.1 sec   137 MBytes  19.1 Mbits/sec
(This post was last modified: 2014-01-21 00:41 by theowiesengrund.)
find quote
popcornmix Offline
Team-Kodi Member
Posts: 3,128
Joined: Feb 2011
Reputation: 72
Post: #4
Could you try the iperf test from a clean raspbian image?
Would rule out if something on the openelec image is slowing it down.
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #5
Installed Raspbian and tried five iperf tests (iMac and notebook):
92.9 Mbit/s
93.0 Mbit/s
73.3 Mbit/s
77.1 Mbit/s
74.7 Mbit/s
find quote
popcornmix Offline
Team-Kodi Member
Posts: 3,128
Joined: Feb 2011
Reputation: 72
Post: #6
Were the higher ones from the iMac and lower ones from notebook, or was it just variable?
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #7
The lower ones were from the iMac and the higher ones from the notebook. The iMac is connected with a longer, older cable (10 meter) - perhaps i should change it. The speed with the iMac is constantly about 70-80 Mbit/s. With the notebook it is every time about 90-95 Mbit/s.

Besides that: It looks like OpenELEC is the problem here. After work i will try some tests with new clean installs (normal build and dev builds) and will try to isolate the problem.
find quote
popcornmix Offline
Team-Kodi Member
Posts: 3,128
Joined: Feb 2011
Reputation: 72
Post: #8
(2014-01-21 10:00)theowiesengrund Wrote:  Besides that: It looks like OpenELEC is the problem here. After work i will try some tests with new clean installs (normal build and dev builds) and will try to isolate the problem.

You should be able to kill xbmc in openelec to run your iperf tests. It's a bit tricky as it relaunches when killed. See here for the magic:
http://openelec.tv/forum/65-storage/3910...s-it#39581

That will identify if the problem is in the openelec distribution, or if xbmc is slowing down the network connection.

You may have a borderline power supply and should measure the voltage when running under load:
http://elinux.org/R-Pi_Troubleshooting#T...r_problems

When xbmc is running, the 3D hardware is drawing power, and that will put more strain on the power supply compared to raspbian.
If disabling overclock makes the iperf numbers faster/more stable, that is more evidence it is power supply related.
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #9
(2014-01-21 13:31)popcornmix Wrote:  You should be able to kill xbmc in openelec to run your iperf tests. It's a bit tricky as it relaunches when killed. See here for the magic:
http://openelec.tv/forum/65-storage/3910...s-it#39581

Actually

Code:
touch /var/lock/xbmc.disabled
killall -9 xbmc.bin

doesn't work. XBMC restarts always after killing it. xbmc.disabled is in var/lock - i checked it.
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #10
As i said:

I installed a clean OpenELEC Testbuild (MilhouseVH 20th January) - SD card only - without overclocking.
The results were between 35 and 50 Mbit/s.
Killing xbmc.bin wasn't possible.

I installed a clean official OpenELEC 3.2.4 build - SD card only - without overclocking. Killing xbmc.bin was possible here.

It might be a coincidence, but the results got worse, the longer the Pi was on. With XBMC on:

* 89.5 Mbit/s
* 70.9 Mbit/s
* 53.9 Mbit/s
* 43.7 Mbit/s
* 37.4 Mbit/s
* 20.5 Mbit/s
* 17.5 Mbit/s

The results without XMBC:

* 61.8 Mbit/s
* 47.5 Mbit/s
* 39.1 Mbit/s
* 33.2 Mbit/s
* 29.0 Mbit/s
* 25.5 Mbit/s

I changed the power supply - couldn't see a difference.
find quote
Milhouse Online
Team-Kodi Member
Posts: 4,430
Joined: Jan 2011
Reputation: 100
Post: #11
(2014-01-21 22:35)theowiesengrund Wrote:  Actually

Code:
touch /var/lock/xbmc.disabled
killall -9 xbmc.bin

doesn't work. XBMC restarts always after killing it. xbmc.disabled is in var/lock - i checked it.

I think that trick only works in OpenELEC Frodo, in OpenELEC Gotham (due to the systemd changes) there is no equivalent, unfortunately.

One thing you could do on Gotham is create the following /storage/.config/autostart.sh file:
Code:
#!/bin/sh

sleep 9999

and reboot - xbmc.bin shouldn't start. When you've finished testing, delete the /storage/.config/autostart.sh file and reboot.

If you install bcmstat.sh and run
Code:
./bcmstat.sh cxd10

You should be able to see your network Rx/Tx rate (normalised per second) plus your CPU load and it should be evident if there is any relationship (ie. high CPU load during network transfers, the former most probably limiting the latter). It would be normal to see 100% load during maximum (>10MB/s) network transfers, but not if you're only achieving 3MB/s or less.


This is an iperf test using Raspbian to a FreeNAS 8.x server (wired, GigE switch):
Code:
pi@raspberrypi ~ $ iperf -c 192.168.0.3 -t 60 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.0.3, TCP port 5001
TCP window size:  320 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  3] local 192.168.0.4 port 33968 connected with 192.168.0.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   110 MBytes  92.5 Mbits/sec
[  3] 10.0-20.0 sec   111 MBytes  92.9 Mbits/sec
[  3] 20.0-30.0 sec   111 MBytes  92.9 Mbits/sec
[  3] 30.0-40.0 sec   111 MBytes  92.8 Mbits/sec
[  3] 40.0-50.0 sec   111 MBytes  92.9 Mbits/sec
[  3] 50.0-60.0 sec   104 MBytes  87.0 Mbits/sec
[  3]  0.0-60.0 sec   657 MBytes  91.8 Mbits/sec
and bcmstat.sh during the test:
Code:
Time          ARM     Core     h264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total
========  =======  =======  =======  ===============  ======  ==========  ==========  ======  ======  ======  ======  ======  ======  ======  ======
01:10:22  1000Mhz   500Mhz     0Mhz  51.00C (61.00C)   1,045         186       1,481    0.00    1.39    0.30   97.31    0.00    0.00    0.00    2.69
01:10:32  1000Mhz   500Mhz     0Mhz  52.00C (61.00C)   1,052         632       2,081   12.47    1.29    1.98   83.20    0.10    0.00    0.00   16.80
01:10:42  1000Mhz   500Mhz     0Mhz  51.00C (61.00C)   1,048         216       1,504    0.00    1.58    0.30   97.24    0.00    0.00    0.00    2.76
01:10:52  1000Mhz   500Mhz     0Mhz  51.00C (61.00C)   1,049         765       1,651    0.30    1.58    0.59   97.14    0.00    0.00    0.00    2.86
01:11:03  1000Mhz   500Mhz     0Mhz  51.00C (61.00C)   1,334       8,929     227,387    0.39    1.08    1.67   94.22    0.00    0.00    1.08    5.78
01:11:13  1000Mhz   500Mhz     0Mhz  54.00C (61.00C)  15,547     417,344  12,174,212    0.10    0.78   43.50    0.00    0.00    0.00   55.65  100.00
01:11:23  1000Mhz   500Mhz     0Mhz  55.00C (61.00C)  15,611     419,793  12,249,827    0.29    0.88   38.73    0.00    0.00    0.00   60.10  100.00
01:11:33   999Mhz   500Mhz     0Mhz  55.00C (61.00C)  15,589     419,443  12,235,167    0.20    1.27   37.03    0.00    0.00    0.00   61.51  100.00
01:11:43  1000Mhz   500Mhz     0Mhz  56.00C (61.00C)  15,606     419,798  12,237,750    0.10    1.57   36.79    0.00    0.00    0.00   61.52  100.00
01:11:54  1000Mhz   500Mhz     0Mhz  56.00C (61.00C)  15,597     419,126  12,233,519    0.20    1.28   38.37    0.00    0.00    0.00   60.16  100.00
01:12:04  1000Mhz   500Mhz     0Mhz  56.00C (61.00C)  12,984     343,505   9,932,581    0.20   13.74   36.96    5.14    0.00    0.00   43.88   94.86
01:12:14  1000Mhz   499Mhz     0Mhz  54.00C (61.00C)   1,056       2,243       1,912    0.00    6.61    0.69   91.30    0.39    0.00    0.10    8.70
01:12:24   999Mhz   500Mhz     0Mhz  54.00C (61.00C)   1,044         184       1,468    0.00   80.32    7.97    0.00   10.34    0.59    0.10  100.00
01:12:34  1000Mhz   500Mhz     0Mhz  54.00C (61.00C)   1,048         702       1,532    0.00   46.48    2.28   49.36    1.39    0.00    0.00   50.64
01:12:44  1000Mhz   500Mhz     0Mhz  52.00C (61.00C)   1,045         213       1,528    0.00    1.39    0.69   97.05    0.00    0.00    0.00    2.95
01:12:54  1000Mhz   500Mhz     0Mhz  52.00C (61.00C)   1,044         304       1,467    0.00    1.58    0.40   97.34    0.00    0.00    0.00    2.66

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.
(This post was last modified: 2014-01-22 03:17 by Milhouse.)
find quote
Milhouse Online
Team-Kodi Member
Posts: 4,430
Joined: Jan 2011
Reputation: 100
Post: #12
One other thing, some time back someone reported poor wired network performance, turned out they had a WiFi dongle also connected to their Pi. As soon as they removed the WiFi dongle, their wired performance sorted itself out.

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.
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #13
iMac -> Notebook:

Code:
./iperf -t 60 -c 192.168.178.21 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.178.21, TCP port 5001
TCP window size:  257 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  4] local 192.168.178.31 port 53362 connected with 192.168.178.21 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec   112 MBytes  93.6 Mbits/sec
[  4] 10.0-20.0 sec   103 MBytes  86.5 Mbits/sec
[  4] 20.0-30.0 sec   112 MBytes  93.5 Mbits/sec
[  4] 30.0-40.0 sec   107 MBytes  90.0 Mbits/sec
[  4] 40.0-50.0 sec   102 MBytes  85.5 Mbits/sec
[  4] 50.0-60.0 sec   112 MBytes  93.5 Mbits/sec
[  4]  0.0-60.0 sec   647 MBytes  90.4 Mbits/sec


iMac -> Raspbmc (latest official build):

Code:
./iperf -t 60 -c 192.168.178.33 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.178.33, TCP port 5001
TCP window size:  257 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  4] local 192.168.178.31 port 53390 connected with 192.168.178.33 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  76.0 MBytes  63.8 Mbits/sec
[  4] 10.0-20.0 sec  79.5 MBytes  66.7 Mbits/sec
[  4] 20.0-30.0 sec  78.8 MBytes  66.1 Mbits/sec
[  4] 30.0-40.0 sec  79.1 MBytes  66.4 Mbits/sec
[  4] 40.0-50.0 sec  79.4 MBytes  66.6 Mbits/sec
[  4] 50.0-60.0 sec  79.2 MBytes  66.5 Mbits/sec
[  4]  0.0-60.0 sec   472 MBytes  66.0 Mbits/sec


iMac -> Raspbmc - XBMC killed:

Code:
./iperf -t 60 -c 192.168.178.33 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.178.33, TCP port 5001
TCP window size:  257 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  4] local 192.168.178.31 port 53451 connected with 192.168.178.33 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  87.1 MBytes  73.1 Mbits/sec
[  4] 10.0-20.0 sec  84.2 MBytes  70.7 Mbits/sec
[  4] 20.0-30.0 sec  96.5 MBytes  81.0 Mbits/sec
[  4] 30.0-40.0 sec  87.2 MBytes  73.2 Mbits/sec
[  4] 40.0-50.0 sec  90.9 MBytes  76.2 Mbits/sec
[  4] 50.0-60.0 sec   104 MBytes  87.1 Mbits/sec
[  4]  0.0-60.0 sec   550 MBytes  76.9 Mbits/sec


iMac -> OpenELEC latest MilhouseVH build:

Code:
./iperf -t 60 -c 192.168.178.32 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.178.32, TCP port 5001
TCP window size:  257 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  4] local 192.168.178.31 port 54222 connected with 192.168.178.32 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  71.2 MBytes  59.8 Mbits/sec
[  4] 10.0-20.0 sec  70.0 MBytes  58.7 Mbits/sec
[  4] 20.0-30.0 sec  58.8 MBytes  49.3 Mbits/sec
[  4] 30.0-40.0 sec  71.6 MBytes  60.1 Mbits/sec
[  4] 40.0-50.0 sec  64.1 MBytes  53.8 Mbits/sec
[  4]  0.0-60.0 sec   409 MBytes  57.2 Mbits/sec

Code:
./bcmstat.sh cxd10
Governor: ondemand
  Memory: 512MB (384MB ARM, 128MB GPU)
Min Freq:  700Mhz |  250Mhz |    0Mhz
Max Freq:  700Mhz |    0Mhz |    0Mhz
Voltages:       0, 1.20V    |  0, 1.20V
   Other: TEMP_LIMIT=85C
Version: Jan 10 2014 16:54:51, version efa116b5c8859c352322cb27e13baccbea583ef7 (clean) (release)
vcg path: /usr/bin/vcgencmd
  Codecs: H264 VP8 VORBIS MJPG
  Booted: Wed Jan 22 19:32:54 2014
Priority: Lowest (+19)

Time          ARM     Core     h264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ======  ======  ======  ======  ======  ======  ======  ======  ================
19:35:07   700Mhz   250Mhz     0Mhz  50.00C (50.00C)     311       1,088       4,955   27.85   34.82   41.78    0.00    0.00    0.00    6.96  100.00  303,652 kB/20.5%
19:35:17   700Mhz   250Mhz     0Mhz  49.00C (50.00C)     279         402       1,221   20.64    0.79    3.15   72.93    0.00    0.00    0.10   27.07  303,652 kB/20.5%
19:35:28   700Mhz   250Mhz     0Mhz  48.00C (50.00C)     283         507       1,368   22.79    1.08    3.24   72.68    0.00    0.00    0.10   27.32  303,656 kB/20.5%
19:35:38   700Mhz   250Mhz     0Mhz  48.00C (50.00C)     281         661       1,290   21.71    0.98    3.14   72.41    0.00    0.00    0.20   27.59  303,412 kB/20.5%
19:35:48   700Mhz   250Mhz     0Mhz  48.00C (50.00C)     279         517       1,305   21.14    0.88    3.24   72.76    0.00    0.00    0.20   27.24  303,412 kB/20.5%
19:36:00   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   3,418   4,991,660     146,275   23.13    1.10   24.82   33.35    0.00    0.00   12.75   66.65  302,964 kB/20.6%
19:36:11   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   4,892   7,339,264     214,357   26.00    0.77   33.61   14.46    0.00    0.00   18.65   85.54  303,092 kB/20.6%
19:36:22   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   4,445   6,624,711     194,439   25.12    1.37   30.01   19.94    0.00    0.00   17.10   80.06  302,964 kB/20.6%
19:36:36   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   5,036   7,660,822     222,310   26.46    1.78   35.38   10.55    0.00    0.00   21.63   89.45  303,288 kB/20.6%
19:36:46   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   4,853   7,180,611     211,394   25.27    1.23   34.34   15.50    0.00    0.00   17.70   84.50  303,096 kB/20.6%
19:37:05   700Mhz   250Mhz     0Mhz  49.00C (50.00C)   2,052   2,751,849      80,999   70.36    1.03   14.19    4.82    0.00    0.00    7.12   95.18  303,288 kB/20.6%
19:37:24   700Mhz   250Mhz     0Mhz  50.00C (50.00C)     276         467       1,322   96.27    1.28    2.88    0.00    0.00    0.00    0.11  100.00  303,288 kB/20.6%
19:37:42   700Mhz   250Mhz     0Mhz  50.00C (50.00C)     276         279         964   96.10    0.91    2.67    0.00    0.00    0.00    0.11  100.00  303,288 kB/20.6%


iMac -> OpenELEC latest MilhouseVH build - XBMC killed

Code:
./iperf -t 60 -c 192.168.178.32 -i 10 -w256K
------------------------------------------------------------
Client connecting to 192.168.178.32, TCP port 5001
TCP window size:  257 KByte (WARNING: requested  256 KByte)
------------------------------------------------------------
[  4] local 192.168.178.31 port 54111 connected with 192.168.178.32 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  97.4 MBytes  81.7 Mbits/sec
[  4] 10.0-20.0 sec  89.2 MBytes  74.9 Mbits/sec
[  4] 20.0-30.0 sec  98.9 MBytes  82.9 Mbits/sec
[  4] 30.0-40.0 sec  94.5 MBytes  79.3 Mbits/sec
[  4] 40.0-50.0 sec  90.4 MBytes  75.8 Mbits/sec
[  4] 50.0-60.0 sec  70.2 MBytes  58.9 Mbits/sec
[  4]  0.0-60.0 sec   541 MBytes  75.6 Mbits/sec

Code:
./bcmstat.sh cxd10
Governor: ondemand
  Memory: 512MB (384MB ARM, 128MB GPU)
Min Freq:  700Mhz |  250Mhz |    0Mhz
Max Freq:  700Mhz |    0Mhz |    0Mhz
Voltages:       0, 1.20V    |  0, 1.20V
   Other: TEMP_LIMIT=85C
Version: Jan 10 2014 16:54:51, version efa116b5c8859c352322cb27e13baccbea583ef7 (clean) (release)
vcg path: /usr/bin/vcgencmd
  Codecs: H264 VP8 VORBIS MJPG
  Booted: Wed Jan 22 19:27:57 2014
Priority: Lowest (+19)

Time          ARM     Core     h264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ======  ======  ======  ======  ======  ======  ======  ======  ================
19:28:57   700Mhz   250Mhz     0Mhz  48.00C (48.00C)     360       1,296       6,330    0.00   48.50   48.50    0.00    0.00    0.00    0.00  100.00  357,512 kB/ 6.4%
19:29:07   700Mhz   249Mhz     0Mhz  47.00C (48.00C)     274         318         965    0.39    0.49    0.79   97.69    0.00    0.00    0.10    2.31  357,528 kB/ 6.3%
19:29:17   700Mhz   250Mhz     0Mhz  47.00C (48.00C)     273         346         965    0.20    0.39    1.08   97.71    0.00    0.00    0.10    2.29  357,520 kB/ 6.4%
19:29:27   700Mhz   250Mhz     0Mhz  47.00C (48.00C)     273         269         944    0.20    0.39    0.99   97.79    0.00    0.00    0.10    2.21  357,528 kB/ 6.3%
19:29:37   700Mhz   250Mhz     0Mhz  47.00C (48.00C)     277         341       1,036    0.40    0.40    1.29   97.27    0.00    0.00    0.10    2.73  357,248 kB/ 6.4%
19:29:47   700Mhz   250Mhz     0Mhz  47.00C (48.00C)     274         346         962    0.20    0.49    0.89   97.79    0.00    0.00    0.10    2.21  357,256 kB/ 6.4%
19:29:57   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   4,775   7,040,830     210,599    0.69    0.59   26.84   46.87    0.00    0.00    7.89   53.13  356,900 kB/ 6.5%
19:30:07   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   6,978  10,489,957     312,758    0.89    0.50   41.78   21.88    0.00    0.00   11.29   78.12  356,932 kB/ 6.5%
19:30:19   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   6,642   9,993,192     298,646    0.73    0.55   38.94   25.26    0.00    0.00   12.86   74.74  357,124 kB/ 6.5%
19:30:30   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   6,865  10,280,801     307,146    0.72    0.81   41.61   22.89    0.00    0.00   13.21   77.11  357,124 kB/ 6.5%
19:30:40   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   6,789  10,178,922     304,093    0.97    0.39   40.35   24.06    0.00    0.00   11.16   75.94  356,892 kB/ 6.5%
19:30:50   700Mhz   250Mhz     0Mhz  48.00C (48.00C)   5,233   7,723,095     233,604    0.78    0.49   30.58   41.49    0.00    0.00    8.57   58.51  356,924 kB/ 6.5%
19:31:05   700Mhz   250Mhz     0Mhz  49.00C (49.00C)     431     235,802       8,247   96.17    0.20    1.63    1.77    0.00    0.00    0.54   98.23  357,116 kB/ 6.5%
19:31:21   700Mhz   250Mhz     0Mhz  49.00C (49.00C)     275         358         908   98.60    0.13    0.82    0.00    0.00    0.00    0.06  100.00  357,116 kB/ 6.5%

There is nothing connected to my Pi - except of an USB stick
find quote
theowiesengrund Offline
Member
Posts: 83
Joined: Jul 2011
Reputation: 0
Post: #14
And to be complete. bcmstat.sh while "watching" (it stutters throughout) a movie - served from the iMac:

Code:
OpenELEC:~ # ./bcmstat.sh cxd10
Governor: ondemand
  Memory: 512MB (384MB ARM, 128MB GPU)
Min Freq:  700Mhz |  250Mhz |    0Mhz
Max Freq:  700Mhz |    0Mhz |    0Mhz
Voltages:       0, 1.20V    |  0, 1.20V
   Other: TEMP_LIMIT=85C
Version: Jan 10 2014 16:54:51, version efa116b5c8859c352322cb27e13baccbea583ef7 (clean) (release)
vcg path: /usr/bin/vcgencmd
  Codecs: H264 VP8 VORBIS MJPG
  Booted: Wed Jan 22 19:32:54 2014
Priority: Lowest (+19)

Time          ARM     Core     h264  Core Temp (Max)   IRQ/s      RX B/s      TX B/s   %user   %nice %system   %idle %iowait    %irq  %s/irq  %total  Memory Free/Used
========  =======  =======  =======  ===============  ======  ==========  ==========  ======  ======  ======  ======  ======  ======  ======  ======  ================
19:53:30   700Mhz   250Mhz   250Mhz  55.00C (55.00C)     816     525,730      13,018   52.76   18.62   27.93    0.00    0.00    0.00    0.00  100.00  279,368 kB/26.8%
19:53:40   700Mhz   250Mhz   250Mhz  54.00C (55.00C)     633     683,274      15,849   44.99    1.28   12.48   35.17    0.00    0.10    3.24   64.83  279,368 kB/26.8%
19:53:51   700Mhz   250Mhz   250Mhz  55.00C (55.00C)     728     862,650      20,206   62.81    1.10   12.40   14.69    0.00    0.00    5.79   85.31  279,120 kB/26.9%
19:54:02   700Mhz   250Mhz   250Mhz  55.00C (55.00C)     650     682,010      16,612   60.90    1.14   11.97   18.91    0.00    0.00    3.99   81.09  279,120 kB/26.9%
19:54:12   700Mhz   250Mhz   250Mhz  55.00C (55.00C)     652     677,672      16,406   50.81    0.97   12.05   30.50    0.00    0.00    3.40   69.50  279,324 kB/26.8%
19:54:23   700Mhz   250Mhz   250Mhz  56.00C (56.00C)     645     671,832      16,241   51.32    1.28   13.10   26.57    0.00    0.00    4.40   73.43  279,200 kB/26.9%
19:54:33   700Mhz   250Mhz   250Mhz  56.00C (56.00C)     654     676,675      16,814   62.21    1.25   12.71   16.08    0.00    0.00    4.72   83.92  279,200 kB/26.9%
19:54:44   700Mhz   250Mhz   250Mhz  56.00C (56.00C)     633     680,153      15,644   46.92    1.25   13.01   32.47    0.00    0.00    3.47   67.53  279,200 kB/26.9%
19:54:54   700Mhz   250Mhz   250Mhz  56.00C (56.00C)     668     741,330      17,409   60.31    1.22   11.61   19.20    0.00    0.00    4.59   80.80  279,200 kB/26.9%
19:55:05   700Mhz   250Mhz   250Mhz  56.00C (56.00C)     676     715,767      17,800   65.14    1.26   12.23   14.08    0.00    0.00    4.47   85.92  279,200 kB/26.9%

Speed drops to 500-700 KB/s

Connection is iMac <--> wired <-> Router <-> wired <-> Pi

Just to be clear, when i change it back to iMac <-> WiFi <-> Router <-> wired <-> Pi there is no stuttering at all.

I don't get it Sad
find quote
popcornmix Offline
Team-Kodi Member
Posts: 3,128
Joined: Feb 2011
Reputation: 72
Post: #15
(2014-01-22 20:58)theowiesengrund Wrote:  Connection is iMac <--> wired <-> Router <-> wired <-> Pi

Just to be clear, when i change it back to iMac <-> WiFi <-> Router <-> wired <-> Pi there is no stuttering at all.

It does sound like it may be the router. I don't suppose you have a different one you could try?
find quote
Post Reply