Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Archive > Archives of Old Posts > Mac OS X 10.3 (Panther) Discussion

 
 
Thread Tools Search this Thread Display Modes
Old Feb 5, 2004, 12:53 AM   #1
debo
macrumors regular
 
Join Date: Jan 2004
What is WindowServer?

In the activity monitor under proccesses running there is WindowServer. What is this? And while I'm on it, what is kernal_task?

Last edited by debo; Feb 5, 2004 at 12:56 AM.
debo is offline   1
Old Feb 5, 2004, 02:25 AM   #2
MoparShaha
macrumors 68000
 
MoparShaha's Avatar
 
Join Date: May 2003
Location: San Francisco
Don't touch either of them, otherwiser you're going to have a very unhappy Mac!

I have a rough idea of what they do, but I'm going to let someone who can really explain them do so.
MoparShaha is offline   0
Old Feb 5, 2004, 03:09 PM   #3
bankshot
macrumors 65816
 
bankshot's Avatar
 
Join Date: Jan 2003
Location: Southern California
I'll attempt to answer, though someone else may be able to provide more detail.

kernel_task is the first process that is run by the kernel (core of the OS) during system startup. It is responsible for system initialization and starting up further process in the system init process. I'm not sure if it does anything after system startup - it may well be what controls basic operations such as disk / file access, etc, which make the computer do its thing. I'm not really sure if that stuff is in kernel_task or if it's buried deeper within the kernel itself. But rest assured that this process is vital to your machine being able to do anything at all!

WindowServer draws everything you see on the screen. It acts as a mediator between applications that want to draw on the screen and the graphics hardware. When an application wants to draw something, it establishes a connection with WindowServer, tells WindowServer what to draw, and WindowServer handles the drawing / compositing / Quartz Extreme hardware acceleration to finally produce what's seen on the entire screen.

That's basically at a high level, and about the extent of how much I know about this stuff. Like MoparShaha said, don't touch either one, or you'll be in big trouble...

If anyone wants to add anything or correct anything I've said, feel free.
bankshot is offline   3
Old Feb 5, 2004, 04:01 PM   #4
janey
macrumors 603
 
janey's Avatar
 
Join Date: Dec 2002
Location: sunny los angeles
Quote:
Originally posted by bankshot
WindowServer draws everything you see on the screen. It acts as a mediator between applications that want to draw on the screen and the graphics hardware. When an application wants to draw something, it establishes a connection with WindowServer, tells WindowServer what to draw, and WindowServer handles the drawing / compositing / Quartz Extreme hardware acceleration to finally produce what's seen on the entire screen.
*claps* excellent description...when i first saw this thread i was wondering how hard it would be to explain, but it seems like you've already done a good job

btw debo, try not to touch anything (you dont know) while using Activity Monitor, because most of the processes are necessary for the computer to function.
__________________
iPad | 15" MacBook Pro | black (iPhone 3GS|MacBook) | Mac mini server
moof!

janey is offline   0
Old Apr 22, 2004, 08:40 PM   #5
Scenicroadways
macrumors regular
 
Join Date: Mar 2004
kernal_task eating up memory

for some reason, kernal_task uses more memory than any other process, including any apps that I am running. Is this normal?>
__________________
21.5" Core i3 iMac
11.6" Core i5 Macbook Air
Scenicroadways is offline   0
Old Apr 22, 2004, 08:49 PM   #6
Counterfit
macrumors 601
 
Counterfit's Avatar
 
Join Date: Aug 2003
Location: sitting on your shoulder
Also, don't touch login_window, I've had it crash on me a few times (Under jag though) and it logs you right out.
__________________
"People shouldn't use word processors as web development tools. It's like using a domestic cat to spread butter on your toast." -ad
Counterfit is offline   0
Old Apr 23, 2004, 12:53 PM   #7
Makosuke
macrumors 603
 
Join Date: Aug 2001
Location: The Cool Part of CA, USA
Quote:
Originally Posted by Scenicroadways
for some reason, kernal_task uses more memory than any other process, including any apps that I am running. Is this normal?>
It only uses more *virtual* memory than everything else, and yes, that's normal. Being the core of the OS, it probably needs it.

Incidentally, the loginwindow that Counterfit mentioned *is* your login, which is why you're instantly logged out if it crashes. I don't recommend it, but if your user session dies for some reason, killing that is one way to get yourself back to the login window for a "soft" restart.

As a rule of thumb, unless you know what you're doing, just don't mess with things in Activity Monitor or think too hard about what it tells you--it can be interesting to look, but there are all kinds of things in there that look weird (inactive vs. free memory, background tasks, etc) but are perfectly normal, and people seem to have a tendency to dig around then panic when something doesn't look right.

There's a reason Apple gives you the "force quit" window, which only shows high-level user processes.
Makosuke is offline   0


 
MacRumors Forums > Archive > Archives of Old Posts > Mac OS X 10.3 (Panther) Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
WindowServer Hogging the CPU knightvisionn MacBook 0 Jun 22, 2013 10:13 PM
Mountain Lion WindowServer keeps on crashing o_O app0 OS X 10.8 Mountain Lion 1 Jun 20, 2013 09:34 AM
Kernel panic and windowserver crash e4xit OS X 10.8 Mountain Lion 0 Mar 23, 2013 09:37 AM
Retina MacBook Pro - 4 crashes tonight. WindowServer process psynnott MacBook Pro 5 Jul 7, 2012 10:32 AM

Forum Jump

All times are GMT -5. The time now is 05:12 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC