what is kernel_task

Discussion in 'Mac Pro' started by ohmkumi, Oct 28, 2012.

  1. macrumors newbie

    ohmkumi

    Joined:
    Mar 19, 2009
    #1
    my macpro 3,1 have kernel_task :mad:
    how to fix it?

    thank you.
    :)

    [​IMG]
     
  2. macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    Kernel task is part of Mac OS X. It doesn't need to be fixed. It will use CPU and memory as needed to accomplish what it needs to do.
     
  3. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #3
    kernal_task is the main virtual memory manager for OS X and from what is shown in your screen cap, there does appear to be anything abnormal going on there. You can read a long, boring article about it here.
     
  4. thread starter macrumors newbie

    ohmkumi

    Joined:
    Mar 19, 2009
    #4
    thank you for answer
     
  5. macrumors 6502a

    Joined:
    Mar 30, 2012
    #5
    Well, it's more than that, it's the OS kernel itself. All of the low-level stuff that the OS needs to do lives inside kernel_task.
     
  6. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #6
    Not really. The Mach micro-kernal would more accurately be called the "OS itself".
     
  7. macrumors 6502a

    Joined:
    Mar 30, 2012
    #7
    Yeah, that's all well and good, except for the fact that Mac doesn't use a micro-kernel.
     
  8. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #8
    Although most versions of Mach are a microkernel, you are correct that the OS X version is not. Thank you for the correction.

    So we now agree kernel_task is not the OS itself.
     
  9. macrumors 6502a

    Joined:
    Mar 30, 2012
    #9
    I said "OS kernel", not "OS". That is, kernel_task is the user-visible task where all the low-level OS functions are performed, including virtual memory management but also every other OS function.
     
  10. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #10
    Let's just agree to disagree then. :) I would say the "OS kernel itself" is Mach. I think the OP gets the point either way.
     
  11. macrumors 6502a

    Joined:
    Mar 30, 2012
    #11
    kernel_task is executing /mach_kernel, which is the monolithic Mach kernel that Mac OS X uses. My main point is that kernel_task does a lot more than virtual memory management.
     
  12. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #12
    Fair enough. The documentation on EXACTLY what kernel_task does is pretty hazy.
     
  13. macrumors 6502a

    Joined:
    Mar 30, 2012
    #13
    If you're interested, go and download the "xnu" source code from opensource.apple.com. That has all the public source code for the mach_kernel as far as I can tell.
     
  14. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #14
    Thanks for the info.
     

Share This Page