On Mon, 26 Aug 2013 23:24:31 +0100 rob <r...@rektau.ukfsn.org> said:

> CPU running between 6 -13% plus X running at 8-16% (X doesn't exhibit 
> same behaviour with openbox or fluxbox)

neither does compositing either... neither using opengl. :) reality is it's
very likely something inside the nvidia driver. it has a habit of having these
spinning blocks - while waiting on something it doesnt sleep and wait.. it
spins cpu at 100% on a spinlock. and what does this spinning changes from
driver to driver. the last time there was such a problem i spent an entire
weekend to find it was simple issue that glmapbuffer() consumed almost all the
cpu just trying to map a buffer and in the process it was "spinning". it took
the whole weekend because i had to trial and error GUESS what was doing it and
disable bits of code to find out. the problem is... callgrind doesnt tell you
where it is. neither does oprofile a i think its an in-kernel spinlock BUT the
kernel allocates that spinlock time TO the calling process...

so several things to try.

1. downgrade nvidia driver until cpu usage goes away.
2. git bisect to find commit that triggers it - that will narrow down the hunt.

> Debian 3.2.46-1 x86_64 GNU/Linux
> nvidia driver
> Programs open: terminology and htop only
> 
> Summary from attached file:
> 
> version: 1
> creator: callgrind-3.8.1
> pid: 14199
> cmd:  /usr/local/bin/enlightenment -callgrind
> part: 1
> 
> 
> desc: I1 cache:
> desc: D1 cache:
> desc: LL cache:
> 
> desc: Timerange: Basic block 0 - 3142120718
> desc: Trigger: Program termination
> 
> positions: line
> events: Ir
> summary: 14977047932
> 
> rob


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to