You are not logged in.

#1 2013-11-23 15:46:27

suija
Member
Registered: 2013-06-23
Posts: 34

Powerline for tmux causes +20% idle cpu usage

Hello,

Today I installed the unified powerline thingy (python2-powerline-git from AUR).
It's fine when I use the vim one, or when I use tmux without it. With it the cpu usage gets to 23% idle, when it's normally 1-3%.

My guess is that it can be fixed if one tweaks the powerline.conf (I tried a very quick google to no avail),
but before I start sticking my newbie fingers in it, I decided to ask here.

EDIT: Ok, instead of urxvt I tried xfce-terminal, and there the cpu increase is only 10% roll
            edit2: nevermind it is now +20 here too.

Last edited by suija (2013-11-23 16:10:54)


..   ..- ... .   .- .-. -.-. ....   -... - .--

Offline

#2 2013-11-23 17:52:28

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Powerline for tmux causes +20% idle cpu usage

You have more running processes now with powerline for tmux than you did before.  The CPU needs to constantly run several processes to monitor that data and display it for you.  All powerline-vim does is change the way vim displays information about your current file in the view window (that is, powerline-tmux is a whole set of programs, while powerline-vim just changes cosmetics).

Offline

#3 2013-11-23 20:11:20

suija
Member
Registered: 2013-06-23
Posts: 34

Re: Powerline for tmux causes +20% idle cpu usage

Is there any way to lower the load? Maybe removing some of the features in the line?

Edit:
So I actualy found the real config files and did just that - butchered them a bit and saw that the cpu load began to drop.
For some reason thought the only config file was the one in the tmux dir.

I guess it is kinda solved, thou I have no idea what I am doing yet, if I remove the email_imap_alert item, powerline goes black..

next edit:
yeah missed a colon..
Problem is even if i remove everything, there is still lots of cpu spikes. Maybe I'll try the dedicated tmux powerline or give up on this.

Edit:
Ok, the tmux-only powerline works like a charm. I'm not using the unified one unless someone wants to solve the cpu usage smile

Last edited by suija (2013-11-23 23:09:57)


..   ..- ... .   .- .-. -.-. ....   -... - .--

Offline

Board footer

Powered by FluxBB