Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

r3volution11

macrumors member
Original poster
Jun 17, 2014
35
14
Baltimore, MD
Has anyone else been experiencing WindowServer using about 30% CPU on a consistent basis?

I'm on a Mid-2012 MBPr and it's been that way since install.
 

nick19

macrumors member
Jun 4, 2014
98
21
London, UK
Not seeing that on my Late 2012 13" rMBP. Created a new partition and installed on that this morning. Nothing unusual showing up in Activity Monitor at the moment, but it's early days!
 

r3volution11

macrumors member
Original poster
Jun 17, 2014
35
14
Baltimore, MD
I guess it could be something with my setup that's a bit buggy. I'm using dark mode currently, I'll try giving regular mode a shot.
 

moebis

macrumors regular
Jul 11, 2008
120
40
Slovakia
Has anyone else been experiencing WindowServer using about 30% CPU on a consistent basis?

I'm on a Mid-2012 MBPr and it's been that way since install.

I'm on the same system, I'm getting between 5%-25% on WindowServer, and nothing is being done on the system except for looking at the Activity Monitor. I've noticed my 2012 MBRr getting hotter then normal too. Also notice this on iOS 9 on my iPhone 6 plus. It gets very hot now.
 

aldrinjtauro

macrumors regular
Jul 3, 2014
202
108
Birmingham, AL
I've never really noticed WindowServer before, so I can't compare, but on my Air clean install, its usually hovering at around 5-8%. It's usually right under kernel_task, but sometimes goes over.
 

r3volution11

macrumors member
Original poster
Jun 17, 2014
35
14
Baltimore, MD
I'm on the same system, I'm getting between 5%-25% on WindowServer, and nothing is being done on the system except for looking at the Activity Monitor. I've noticed my 2012 MBRr getting hotter then normal too. Also notice this on iOS 9 on my iPhone 6 plus. It gets very hot now.

I haven't paid attention to temperature before so I can't compare it previously but with the CPU being used a bit more on a consistent basis that makes sense.

My iPhone 6 is also running really hot with iOS 9, plus the battery drain is killer. I figured that'd be the case however, it's been that way with every other beta really.
 

moebis

macrumors regular
Jul 11, 2008
120
40
Slovakia
I haven't paid attention to temperature before so I can't compare it previously but with the CPU being used a bit more on a consistent basis that makes sense.

My iPhone 6 is also running really hot with iOS 9, plus the battery drain is killer. I figured that'd be the case however, it's been that way with every other beta really.

Well, if the CPU is being used on a more consistent basis, you're going to have more heat. What doesn't make sense is why the CPU is being pegged like that?
 

r3volution11

macrumors member
Original poster
Jun 17, 2014
35
14
Baltimore, MD
My wild guess is that it has something to do with Metal and more optimizations need to be made when using the onboard Intel GPU.
 

moebis

macrumors regular
Jul 11, 2008
120
40
Slovakia
My wild guess is that it has something to do with Metal and more optimizations need to be made when using the onboard Intel GPU.

You're right! I turned off automatic graphics switching (so I'm just using the Nvidia GPU) and the WindowServer is now hanging around 2-5% ....big difference.
 

r3volution11

macrumors member
Original poster
Jun 17, 2014
35
14
Baltimore, MD
You're right! I turned off automatic graphics switching (so I'm just using the Nvidia GPU) and the WindowServer is now hanging around 2-5% ....big difference.

I got all excited but this didn't help me any. Still hovering around 25% when I have my usual stuff open on my displays (15" + Thunderbolt Display). If I had some stuff it gets down to around 10% but will still jump over 20% occasionally. Oh well.
 

scrmtrey

macrumors regular
Mar 28, 2013
218
15
WindowServer is used for the Dashboard/widgets.

So try to detach widgets from dashboard and check the cpu usage again. Or maybe delete them from the OSX, just for testing purposes.

iStat could be reason for "high" cpu usage.
 

aldrinjtauro

macrumors regular
Jul 3, 2014
202
108
Birmingham, AL
WindowServer is used for the Dashboard/widgets.

So try to detach widgets from dashboard and check the cpu usage again. Or maybe delete them from the OSX, just for testing purposes.

iStat could be reason for "high" cpu usage.

From what I've read, WindowServer is OS X's equivalent of LightDM or Gnome DM. It pretty much draws everything you see on the screen and is the basis of your session. It doesn't just do Dashboard (and in any case, I have Dashboard disabled on this clean install, so it's not like it has any enabled widgets or is even running).
 
  • Like
Reactions: theSeb

MikhailT

macrumors 601
Nov 12, 2007
4,583
1,327
WindowServer is used for the Dashboard/widgets.

So try to detach widgets from dashboard and check the cpu usage again. Or maybe delete them from the OSX, just for testing purposes.

iStat could be reason for "high" cpu usage.

False, WindowServer is used to draw everything you see on your screen. That's why the usage is higher than you have transparency enabled and reduced when you disable it.

I've filed a radar on this in the past and they're working on optimizing it as much as possible but they basically said it is expected to incur some CPU cost due to the UI on Yosemite and so on.

Metal is supposed to help reduce the CPU usage by reducing the CPU overhead with optimized GPU calls on El Cap but so far, not entirely optimized yet as we see here.
 

scrmtrey

macrumors regular
Mar 28, 2013
218
15
Oh my bad than. But maybe it is drawing widgets in background. :)

I've got 2 spaces and 5 windows openede while extracting a bluray (rar parts) and WindowsServer is at 2-3%. (Yosemite) But i think that before where i had el cap on the system , there wasn't any higher usage.

This is with integrated Intel HD3000 (384MB).


And according to this , it can cause higher cpu if you have many icons on the desktop.
Source: http://www.macissues.com/2014/10/20/prevent-the-windowserver-process-from-dragging-yosemite-down/
 
Last edited:

MikhailT

macrumors 601
Nov 12, 2007
4,583
1,327
Oh my bad than. But maybe it is drawing widgets in background. :)

I've got 2 spaces and 5 windows openede while extracting a bluray (rar parts) and WindowsServer is at 2-3%. (Yosemite) But i think that before where i had el cap on the system , there wasn't any higher usage.

This is with integrated Intel HD3000 (384MB).


And according to this , it can cause higher cpu if you have many icons on the desktop.
Source: http://www.macissues.com/2014/10/20/prevent-the-windowserver-process-from-dragging-yosemite-down/

What model and year is your Mac?

WindowServer is typically much worse on Retina Macs, which makes sense because of the scaling it has to do all the time. On my `12 rMBP 15", it is constantly above 6% and often goes up to 30% if I have multiple windows on screen.
 

scrmtrey

macrumors regular
Mar 28, 2013
218
15
What model and year is your Mac?

WindowServer is typically much worse on Retina Macs, which makes sense because of the scaling it has to do all the time. On my `12 rMBP 15", it is constantly above 6% and often goes up to 30% if I have multiple windows on screen.


It is MBP15 early 2011.
 

MrNomNoms

macrumors 65816
Jan 25, 2011
1,159
296
Wellington, New Zealand
Has anyone else been experiencing WindowServer using about 30% CPU on a consistent basis?

I'm on a Mid-2012 MBPr and it's been that way since install.

*sigh* is it a 13" or a 15" one? please give specific hardware specifications so that it is possible to differentiate a general problem with OS X or whether it is related to that specific hardware model.
 

kwokaaron

macrumors 6502a
Sep 20, 2013
577
264
London, UK
*sigh* is it a 13" or a 15" one? please give specific hardware specifications so that it is possible to differentiate a general problem with OS X or whether it is related to that specific hardware model.
Mid-2012 only has a 15" model. 13" was introduced in Late-2012.
 

matov

macrumors newbie
Jul 30, 2008
14
1
Seville
Same problem here. WindowServer is using 15-30+% of CPU.

I have a late 2008 macbookpro with an nvidia 9400 and a 9600. It happens with both cards.
 

theSeb

macrumors 604
Aug 10, 2010
7,466
1,893
none
Not a new problem, as can be seen in the related threads at the bottom. With issues like these the first thing to do is create a new user, login and check if the issue exists. That will help to confirm if it is an issue specific to your software setup.
 

MikhailT

macrumors 601
Nov 12, 2007
4,583
1,327
But still, this should not happend at all, retina or not. :)

Correct, no one is saying otherwise. The hope is that Metal is supposed to reduce the CPU usage regardless of what display you have by allowing the GPU to pick up more of the work (which it can do faster). But then again, how optimized is Metal driver that it won't eat up more battery?

So far, we're not seeing anything like that in El Cap DP1. Hopefully, DP2 will improve this.
 

scrmtrey

macrumors regular
Mar 28, 2013
218
15
Correct, no one is saying otherwise. The hope is that Metal is supposed to reduce the CPU usage regardless of what display you have by allowing the GPU to pick up more of the work (which it can do faster). But then again, how optimized is Metal driver that it won't eat up more battery?

So far, we're not seeing anything like that in El Cap DP1. Hopefully, DP2 will improve this.

Yap, all retinas support metal right?

New beta(DP2) on monday or tuesday, will see. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.