Please report your idle cpu usage when running xbmc

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Please report your idle cpu usage when running xbmc

Postby graysky » Sat Apr 06, 2013 1:03 pm

I'm interested in seeing the %CPU use of an idle xbmc on other people's RPis. Here is a simple command that will look at the %CPU use of xbmc.bin once every 15 seconds for 1 min and log the output to a nice file.

Connect via ssh and look at the output of the following command:
$this->bbcode_second_pass_code('', 'for i in {1..4}; do ps -eo pcpu,args | sort -k 1 -r | head -2 | grep xbmc.bin>>xbmc_usage.log && sleep 15s; done && cat xbmc_usage.log')

Please post the output of xbmc_usage.log to this thread. Note that xbmc should be running but not playing a video or having RSS feeds running.

$this->bbcode_second_pass_code('', '% for i in {1..4}; do NOW=$(date) ; PERCENT=$(ps -eo pcpu,args | sort -k 1 -r | head -2 | grep xbmc.bin | sed 's/\/.*/%/') ; printf '%s\t%s\n' "$NOW" "$PERCENT">>xbmc_usage.log && sleep 15s; done && cat xbmc_usage.log
Tue May 14 15:01:11 EDT 2013 48.7 %
Tue May 14 15:01:12 EDT 2013 48.7 %
Tue May 14 15:01:14 EDT 2013 48.7 %
Tue May 14 15:01:15 EDT 2013 48.6 %')
Last edited by graysky on Tue May 14, 2013 7:02 pm, edited 1 time in total.
graysky
Developer
 
Posts: 1901
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Please report your idle cpu usage when running xbmc

Postby pepedog » Sat Apr 06, 2013 2:59 pm

$this->bbcode_second_pass_code('', 'for i in {1..4}; do ps -eo pcpu,args | sort -k 1 -r | head -2 | grep xbmc.bin>>xbmc_usage.log && sleep 15s; done && cat xbmc_usage.log
30.5 /usr/lib/xbmc/xbmc.bin
30.2 /usr/lib/xbmc/xbmc.bin
29.8 /usr/lib/xbmc/xbmc.bin
29.6 /usr/lib/xbmc/xbmc.bin')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Please report your idle cpu usage when running xbmc

Postby graysky » Sat Apr 06, 2013 3:07 pm

@pepedog - Thanks... are you running any GUI tweaks? Which xbmc package are you using (xbmc-rbp or xbmc-rbp-git)?
graysky
Developer
 
Posts: 1901
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Please report your idle cpu usage when running xbmc

Postby pepedog » Sat Apr 06, 2013 5:57 pm

It's xbmc-rbp-git. Haven't manually touched things in XML file, RSS feed turned off of course
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Please report your idle cpu usage when running xbmc

Postby Patatra » Mon Apr 08, 2013 10:08 am

Hi, for me, with a self compiled xbmc git (build yesterday)

$this->bbcode_second_pass_code('', '$ for i in {1..4}; do ps -eo pcpu,args | sort -k 1 -r | head -2 | grep xbmc.bin>>xbmc_usage.log && sleep 15s; done && cat xbmc_usage.log
26.4 /usr/lib/xbmc/xbmc.bin --standalone
26.4 /usr/lib/xbmc/xbmc.bin --standalone
26.4 /usr/lib/xbmc/xbmc.bin --standalone
26.4 /usr/lib/xbmc/xbmc.bin --standalone
')

My advancedsettings is $this->bbcode_second_pass_code('', '<advancedsettings>
<video>
<defaultplayer>omxplayer</defaultplayer>
<defaultdvdplayer>omxplayer</defaultdvdplayer>
</video>
<audio>
<defaultplayer>omxplayer</defaultplayer>
<streamsilence>false</streamsilence>
</audio>
<gui>
<algorithmdirtyregions>3</algorithmdirtyregions>
<nofliptimeout>0</nofliptimeout>
</gui>
<fanartres>720</fanartres>
<thumbres>540</thumbres>
<imageres>540</imageres>
<bginfoloadermaxthreads>2</bginfoloadermaxthreads>
</advancedsettings>
')

and the Pi is overclocked with $this->bbcode_second_pass_code('', 'arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=6
over_voltage_sdram=4
')

Firmware on the SD card, system on an USB key.
Patatra
 
Posts: 13
Joined: Fri Mar 08, 2013 9:18 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 20 guests