Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > WindowServer process High CPU

WindowServer process High CPU
Thread Tools
jzdziarski
Forum Regular
Join Date: Feb 2005
Status: Offline
Reply With Quote
Feb 16, 2005, 12:08 PM
 
When I'm encoding video or doing something else CPU intensive, I'm wondering if there's anything I can do to limit the CPU WindowServer takes up. Normally it sits around 10%, which could mean 20 minutes of extra processing. Even with all but one or two windows open I still see high load. Any thoughts on this? Can you nice it?
     
SMacTech
Mac Elite
Join Date: Nov 2001
Location: Trafalmadore
Status: Offline
Reply With Quote
Feb 16, 2005, 12:18 PM
 
Courtesy of iamBob :

ps -cxo command,pid | grep WindowServer | tail -c +18

Running that in the Terminal gives us the PID (process number) of the WindowServer.

sudo renice -10 PID

Gives the WindowServer a higher priority than anything else (options are 20 to -20 [low to high] so '-10' is well above the default 0).

renice is to 20
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:36 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,