I'd just like to know what it is that kernel_task is responsible for. Also, what's an acceptable maximum RAM and CPU use for it?
|
|
It accumulates all the CPU time for input/output (i/o) processing delays and calculations as well as scheduling of processes and threads. If you watch it after a reboot you will see it starts with minimal RAM and CPU needs and instead grows only when other programs run and need the system services. To slim it down, shut off unneeded ports (WiFi, bluetooth, etc... ) as well as idle / unused programs. If things don't settle down, consider rebooting to ensure no task is stuck or leaking memory. If you have programs doing real work, they will cause the kernel to use both memory and processor time - just watch as you start things to see which other programs are causing this behavior. It's rarely an issue with the kernel - even with badly performing programs - that can't be solved by logging out and back in again. The kernel_task cleans up well and generally takes care to only use the resources needed by the workload. |
|||||
|
|
Mac OS X Internals: A Systems Approach - Amit Singh - Google Books:
http://lists.apple.com/archives/darwin-kernel/2010/Sep/msg00014.html:
|
|||
|
|