Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook
Pages (12): « Previous 1 ... 4 5 6 7 8 ... 12 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Official XBian 1.0 RC 1 thread
9th Mar, 2014, 08:44 AM
Post: #76
crs Offline
Registered
Posts: 45
Joined: Dec 2012
Reputation: 2
RE: Official XBian 1.0 RC 1 thread
I agree with Koper89, i am getting high cpu now on RC1. I have a v1 Pi & v2 Pi, screen saver is just darken. No fancy stuff running. I ssh into both Pi's daily, last update was yesterday.
v1 Pi top = 672 xbian 27 7 368m 51m 9708 R 86.5 34.6 1247:58 xbmc.bin 86.5 cpu system is idle.
v2 Pi top = 699 xbian 27 7 364m 59m 18m R 87.0 24.2 1259:29 xbmc.bin 87 cpu system is idle.

I have been using XBian for a long time, as i remember i used to get high cpu @ idle, so lets start a movie & see...
Just as i thought, CPU is perfect running a movie
v1 Pi top = 672 xbian 17 -3 403m 60m 14m S 36.8 40.7 1251:16 xbmc.bin 36.8 cpu system playing a movie from NAS

So to be honest, i really do not care what cpu wants to do when idle. My XBian & Pi's work perfect, these are RC1, up to date 3.8.14
Find all posts by this user
Quote this message in a reply
9th Mar, 2014, 08:53 AM
Post: #77
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Official XBian 1.0 RC 1 thread
After few hours of running xbmc in screensaver it oscillating around ~20-40% CPU ~5-30% MEMORY
I think It should be lower but maybe I'm wrong, It's true that movies running perfect, but it slow down my other apps I have on raspberry such as rtorrent.
Find all posts by this user
Quote this message in a reply
9th Mar, 2014, 07:31 PM
Post: #78
Fabio72 Offline
Registered
Posts: 96
Joined: Feb 2014
Reputation: 5
RE: Official XBian 1.0 RC 1 thread
this it my rc1 running idle (black screen screensaver)
Code:
top - 10:29:55 up 13:09,  1 user,  load average: 0,84, 0,57, 0,53
Tasks:  64 total,   1 running,  63 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1,3 us,  6,6 sy, 22,0 ni, 62,0 id,  2,3 wa,  0,0 hi,  5,9 si,  0,0 st
KiB Mem:    383004 total,   258704 used,   124300 free,      340 buffers
KiB Swap:    90108 total,        0 used,    90108 free,   201028 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                                                                                                          
  767 xbian     27   7  324m  44m  17m S  27,9 11,8 228:40.02 xbmc.bin
Find all posts by this user
Quote this message in a reply
9th Mar, 2014, 08:14 PM
Post: #79
mansp Offline
Registered
Posts: 20
Joined: Feb 2014
Reputation: 0
RE: Official XBian 1.0 RC 1 thread
(7th Mar, 2014 04:37 PM)mk01 Wrote:  
(16th Feb, 2014 04:08 AM)mansp Wrote:  I have some troubles with the xbian-config. When trying to run from SSH or directly on the pi(in xbmc and with xbmc stopped) I get the following message:
Terminal
/usr/local/sbin/xbian-config: line 203: /run/lock/xbian-config.gui: No such file or directory

this was problem with non existent /run/lock (solution is "mkdir -p /run/lock && chmod 777 /run/lock") but I'm a bit surprised because it is dated back before version B2 and was clearly fixed and confirmed.

as always this doesn't mean it can't come back (as we love comebacks Smile) ), but still I'm surprised. do you really have latest version? what is output of:
Code:
sudo -i
apt-get update
xbian-apt-show-versions -u

?

I'm not having that problem anymore since I reinstalled everything by first installing the latest firmware then all other packages. And at the moment I'm running from USB but my settings for the drives are as follows:
Code:
/dev/mmcblk0p1        /boot                   xbian   rw                              0       1
/dev/root             /home                   xbian   subvol=home/@,noatime           0       0
/dev/root             /lib/modules            xbian   subvol=modules/@,noatime        0       0
/dev/root             /                       xbian   noatime                         0       0
none            /run/lock                       tmpfs                   noauto                  0       0
none            /run/shm                        tmpfs                   noauto                  0       0
none            /run/user                       tmpfs                   noauto                  0       0
none            /sys/kernel/debug               debugfs                 noauto                  0       0
none            /sys/kernel/security            securityfs              noauto                  0       0
/dev/sda2       /media/HDD              ext4            noatime         0       0

The reason for this is that I want to mount the harddrive to a static folder for samba:
Code:
standard stuff first
...
[HDD]
    path = /media/HDD
    guest ok = yes
    read only = no
    force user = xbian
    browseable = yes
    writeable = yes
...

If I don't do this I somehow don't get permission to write to the drives from my desktop. Even though I've ticked the "enable world-access(anonymous)" (may be another name for it not at home so cant double check) in xbian config inside xbmc. Seems to be a not so good solution since it should be automatic but it works. Not with too great performance though, earlier I could get 8-9 mb/s transfer from desktop to RPi now it tops around 4.5 mb/s. This was early Beta2 I believe. Now I'm running RC1. The same drive was of course used.
Current OC : 930 | 420 | 500 | 2 |

Thanks!
Find all posts by this user
Quote this message in a reply
10th Mar, 2014, 05:13 AM
Post: #80
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Official XBian 1.0 RC 1 thread
@crs @koper89 @Fabio72 - Screensaver with high CPU

At idle on the HOME (Other screens will vary - some will give 80%) screen I would expect around 20% CPU.

I use dim screensaver but don't see any difference between none, black or dim.

To check can you run
Code:
date > vmstat.txt; vmstat 60 120 >> vmstat.txt

That will give the CPU values every minute for two hours. Hopefully that may pin point a change in values.

I have a model A 256mb RPi at work connected to the internet via a Wifi hotspot on my phone.
The internet works - as I can apt-get upgrade and get the weather via xbmc and movie information.

However, System Info shows Internet as "Not connected" and the time and date are wrong. (Time zone etc are set correctly in Apperance, Xbian-config (ssh and XBMC) Date is out by 5 days and 40 minutes.

It's obviously getting a date as it's not 1970 but why it is not correct. All other RPi from the same clone, get correct values via Wifi and Ethernet but not from the phone.

If I try to restart ntp via xbian-config it just hangs. If I kill ntpd and try to start it, it just hangs.

Has anybody else had these problems?

All: Don't fill the forum with debug information - It's difficult to read.

Use pastbin or attachments - make the text legible so "people" can read it - You will get a better reply.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Mar, 2014, 10:32 PM
Post: #81
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Official XBian 1.0 RC 1 thread
I tested few options and f.e. when I download something using rtorrent with xbmc in screensaver I can't get more than 3,2MB/s download (still not bad)
But when I turn off xbmc, I can get 5MB/s download speed (it's a maximum value of my ISP, so i suppouse it could go even more)

I just started vmstat so I'll post it in about 2 hours.
Best wishes

EDIT:
I discoverd that one I'm in "screensaver" mode the Nicelevel is indeed what i configured in /etc/default/xbmc but when I try to check if upstart xbmc-screensaver is on i get: stop/waiting
I checked this because I tried to use script from:
http://forum.xbian.org/thread-2040-post-20131.html#pid20131
but it doesn't seem to work, I have him on my upstart list: initctl list but still it's not disabling my xbmc.
Find all posts by this user
Quote this message in a reply
11th Mar, 2014, 02:22 AM
Post: #82
crs Offline
Registered
Posts: 45
Joined: Dec 2012
Reputation: 2
RE: Official XBian 1.0 RC 1 thread
IriDium, vmstat posted to my pastbin. From both Pi's, v1 & v2 both running RC1, all updates. The v2 Pi has always been a little higher CPU usage then the v1 Pi from day 1. It is what it is, moving in xbmc, changing screens, looking through move data base (1600) movies on a HP micro server is fluid. All cat5 10/100 in my house.
results found here http://pastebin.com/u/crss
Find all posts by this user
Quote this message in a reply
11th Mar, 2014, 03:57 AM
Post: #83
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: Official XBian 1.0 RC 1 thread
(10th Mar, 2014 10:32 PM)koper89 Wrote:  I discoverd that one I'm in "screensaver" mode the Nicelevel is indeed what i configured in /etc/default/xbmc but when I try to check if upstart xbmc-screensaver is on i get: stop/waiting

you can try to react on this event :

start on screensaver START (info here : https://github.com/xbianonpi/xbian-package-upstart-xbmc-bridge )
or you can see some log in /var/log/upstart/your-script.log

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
11th Mar, 2014, 06:55 AM
Post: #84
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Official XBian 1.0 RC 1 thread
Ok, I manged to react on screensaver and turnoff xbmc, but I can't determine if TV is on or off: when i try to:
echo pow 0 | cec-client -d 1 -s
I got power status: unknown
Find all posts by this user
Quote this message in a reply
12th Mar, 2014, 04:58 AM
Post: #85
crs Offline
Registered
Posts: 45
Joined: Dec 2012
Reputation: 2
RE: Official XBian 1.0 RC 1 thread
back on the high CPU at idle, after updates today (3).... No more high CPU @ idle on my 2 Pi's. Talk about cutting edge :O xbmc 16% cpu
Find all posts by this user
Quote this message in a reply
13th Mar, 2014, 04:00 AM
Post: #86
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Official XBian 1.0 RC 1 thread
@crs Keep a check on the CPU. From the vmstat output, there is something wrong or something else is using all of the CPU.

You'll need to keep a check on it.

To assist I'd recommend installing nmon.
Terminal
sudo apt-get -y install nmon

To run - just type
Terminal
nmon

When running press c for CPU, m for memory and n for network.

Also run in another ssh window
Terminal
tail -f -n 30 /home/xbian/.xbmc/temp/xbmc.log
which will give an idea of what could be happening in xbmc.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
14th Mar, 2014, 10:32 PM
Post: #87
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Official XBian 1.0 RC 1 thread
When XBMC is completly idle and in screensaver mode (Nicelevel 10) I have about 75% of CPU used by XBMC constantly, checked using nmon + top, Nothing in tail -f -n 30 /home/xbian/.xbmc/temp/xbmc.log output (only few but few hours before).
Where is nmon log stored btw? So I'll upload it from 24hours.
Find all posts by this user
Quote this message in a reply
15th Mar, 2014, 01:36 AM
Post: #88
crs Offline
Registered
Posts: 45
Joined: Dec 2012
Reputation: 2
RE: Official XBian 1.0 RC 1 thread
koper89, do you have navi-x installed? I keep checking with nmon, it shows "user" @ 75% cpu. Nothing in "m" or "n" out of the norm, what ever that is. But xbmc.log is showing some python strings & image error's, i think related to navi-x. I am not going to start removing addons. I might create a bare install & see if it also has high CPU at idle. But right now, it really is just a blast to enjoy. Idle cpu.... bah
Find all posts by this user
Quote this message in a reply
15th Mar, 2014, 01:59 AM
Post: #89
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Official XBian 1.0 RC 1 thread
@koper89 NMON does not store statistics by default. You have to use the "recording" mode -f. See NMON commands.

I have a feeling it's a dodgy add-on, as I'm running the same release and I don't see this issue at all.

Try disabling all add-ons and see if the problem goes away. Enable them, one by one until you see the problem.

Or advise of the add-ons installed and I'll try and replicate the error.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
15th Mar, 2014, 03:09 AM
Post: #90
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Official XBian 1.0 RC 1 thread
@all

Xbian RC1 performance figures.
These were obtained using Xbian RC1 on a model B RPi booting off a 8G USB flash drive with no overclocking (I.e NONE). Reading from a WD 1TB USB HDD.

Audio is passed to a Yamaha AVR with DTS and AC3 encoding.

Idle: User: 18% Sys: 2%
Music: User: 13% Sys:5%
720p MKV User: 12% Sys: 10%
1080p MKV User: 15% Sys: 15%

Obviously each users set-up is different and their files may have different encoding.

It may differ slightly on your machine, but these are figures that are possible and in my opinion a standard for Xbian.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (12): « Previous 1 ... 4 5 6 7 8 ... 12 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Official XBian Raspberry B+ models thread IriDium 4 22,336 23rd Nov, 2014 09:14 PM
Last Post: 0xFF
  Official XBian 1.0 RC 2 Gotham (XBMC 13) thread IriDium 167 590,408 10th Sep, 2014 04:41 AM
Last Post: weezer
  Official XBian 1.0 RC 2 thread IriDium 61 202,140 16th Aug, 2014 03:10 PM
Last Post: mehlvogel
  Official XBian 1.0 Beta 2 thread IriDium 411 1,455,924 7th Mar, 2014 09:56 PM
Last Post: leadergr
  Official XBian 1.0 Beta 1 thread Koenkk 303 1,235,985 12th Dec, 2013 12:46 AM
Last Post: Exnor
  Official XBian 1.0 Alpha 5 thread Koenkk 366 1,485,684 15th Aug, 2013 07:35 AM
Last Post: anthonyonions
  Official XBMC 12.2 Thread Koenkk 118 483,872 4th Jul, 2013 09:11 AM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 01:25 PM Powered By MyBB, © 2002-2025 MyBB Group.