[xmonad] XMonad Efficiency

Norbert Zeh nzeh at cs.dal.ca
Tue Apr 17 19:23:45 CEST 2012


Allen S. Rout [2012.04.17 1021 -0400]:
> On 04/16/2012 03:09 PM, Norbert Zeh wrote:
> 
> >
> > I noticed that even without decoration, fast
> >focus switches drive my CPU usage up, much more so than in other non-tiling
> >window managers.  Running top gave me a surprising insight: it's not xmonad but
> >the X server that consumes that many cpu cycles when focus switching.[...]
> 
> This matches my observations:
> 
> http://thread.gmane.org/gmane.comp.lang.haskell.xmonad/12168
> 
> 
> >At this point, I'm simply pondering what can be done about it, as one of the
> >reason's I'm using xmonad is that I want a lightweight desktop environment.
> >(When fast focus changes drive one of my cores to 50%, that's hardly
> >lightweight.)
> 
> Wait till you make a quick traverse, start typing, and find bits of
> your input scattered among several terminals, including a root
> shell.

Well, actually that never happened to me.  From the user's point of view, focus
switching is snappy unless I increase the number of windows to an unreasonable
100+.  My main issue is simply that a simple focus switch shouldn't cause more
than a minor blip in my CPU usage.

N.



More information about the xmonad mailing list