On Thu, 30 Apr 2015 10:34:49 -0700 Marc MERLIN <[email protected]> said:
> On Thu, Apr 30, 2015 at 03:41:55PM +0900, Carsten Haitzler wrote: > > once you realize just how much it's doing... you begin to go "wow - it > > manages to cope with all that that well? WOW!" :) on the long-term is to > > make a lot of this vertex generation threaded so we'd still soak up cpu - > > but async. > > Got it. > > > > Thanks for the suggestion. I tried triple buffering and it does create bad > > > artifacts. > > > > quite possible. but did you look at the difference in cpu usage? switching > > to pager plain instead of pager as a module will reduce the render area IF > > you had partial rendering... > > So I understand the theory you just explained, but practise disagrees. > > New snapshot pager: > e19 idles around 8% CPU thats not idling. something is going on. something is rendering or doing some work. no idling. a blinking cursor is not idling. :) > mplayer with e19 in opengl rendering: 16% CPU > mplayer with e19 in software rendering: 12% CPU yes - compositing. :) > Old non snapshotting pager: > e19 idles around 1% CPU > mplayer with e19 in opengl rendering: 10% CPU > mplayer with e19 in software rendering: 5% CPU the extra rendering of the clients costs something. it shouldn't cost much more cpu though - more likely gpu cycles (mem bandwidth). unless the drivers are spinning and waiting on gpu rather than sleeping. then that'd make sense. perf top may be able to tell you the difference. > So whatever OpenGL e19 is doing, it's taking a lot more CPU to use my GPU > than software rendering. > Does that make sense? > > Also, disabling the snapshotting pager made a huge difference, especially > for e19 at idle. > > Just for reference, mplayer was using 3% CPU to play my video, so I was a > bit upset when e19 was using 10-15%, i.e. 3 to 5x more CPU than mplayer, > to display it. > > One other things I was thinking about. I have 3 virtual screens. With the > snapshotting pager, it has to render my 2 other screens to put them in the > pager. Without it, it doesn't have to render the 2 non visible screens, > correct? > If so, that would explain the big savings I'm seeing. yes - it has to render every little pager box you see. but again - the gpu should be doing all of this. the cpu - sure... has to generate vertexes, but it'd be not dissimilar between the plain pager and live preview one. > > > Engine: OpenGL (I may try software rendering again, it somehow looked > > > faster on my quadcore CPU) > > > Tear-free: disabled > > > Texture from pixmap: enabled > > > Swapping method: autho > > > > you really want tear-free. really. disabling this is just doing yourself a > > disservice. :) > > Thanks, I turned tear free back on. > > > > X-messages: send flush and send dump enabled > > > > > > Hopefully these are decent options for reduced CPU/GPU load. > > > It would be awesome if you had a preset like the old E where you could say > > > "low power system" and it would dial down anything known expensive, but in > > > the meantime, I very much appreciate your direct help :) > > > > you have a quad core system... not a low power thing. :) > > If you make my laptop warm, spin up its fans, and half its battery life, > we're not going to be friends though ;) > > Anyway, looks like using software rendering and disabling the snapshotting > pager made things much better. > Thanks for your help. > > Now, I still have a bug I haven't pinned down yet: > On occasion, e19 will unminimize a window (take it from the list of > minimized windows and display it in full) when I close an e dialog or > minimize another window. Quite strange. that's ... odd. > 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/ > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
