On Mon, 26 Mar 2018 22:49:08 -0700 Marc MERLIN <marc_...@merlins.org> said:
> On Tue, Mar 27, 2018 at 02:39:14PM +0900, Carsten Haitzler wrote: > > If E is hung solid then it'll help. But if it's working just consuming CPU, > > No, it's fully responsive, just taking 100% on one core and killing my > battery if I'm off mains power. > > > it's not going to. It's likely something causing events that then cause E > > to do something about it. E.g. some window rendering. Or an event loop to X > > (Xserver sends event Y, e responds by doing Z, which results in X sending > > event Y again). > > > > The hint is in looking what other processes are also using CPU. That's the > > first hint. > > I see, nothing too easy then. > I guess enlightenment does a lot of things, and it doesn't have > something like the chrome task manager. > > So, next time, just run top and find the CPU top users? I believe it was > chrome, but to be fair chrome is always at the top, since it's pretty > much an operating system within the operating system :) if you kill chrome then and cpu usage goes down .. then chrome is doing something to cause e to consume cpu... what means basically debugging at the event by event level which means printfs into libs/code. :) one way is also to use perf to profile over an extended time. you should have debug symbols enabled for efl and e... and then the top cpu using functions might give you a hint. of course core ones will be high up - like the ones running the main loop. it's the "leaf functions" we'd look for being high on this perf info. > Maybe I'm lucky but for now E22 is behaving, so let's see if it > continues :) > > Thanks, > Marc > -- > "A mouse is a device used to point at the xterm you want to type in" - A.S.R. > Microsoft is to operating systems .... > .... what McDonalds is to gourmet > cooking Home page: http://marc.merlins.org/ | PGP > 7F55D5F27AAF9D08 > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users