Kernel_task is using over 600% of my CPU and slowing things down to a crawl!!!

This is getting ridiculous. My late 2011 Macbook Pro 8,2 Intel Core i7 2.2 with 256GB SSD and 16GB RAM used to be so fast and snappy. But ever since a few months ago, it's been so slow. Kernel_task is using upwards of 600% of my CPU, my macbook pro heats up like crazy, and my fan becomes super loud. This is especially embarrassing in class or in the library, when it's completely silent (except for the lecturer in class), and my computer sounds like it's going to blast off into space. People actually turn their heads and stare. More seriously, it's almost impossible to use my computer because it is so slow. My intel core duo 2.0GHz mac mini with 2GB ram is actually faster than my macbook when this happens. I use very graphic heavy programs (this is why I have my computer), and I'm unable to use them smoothly anymore. Just previewing an image file takes like 3 mins to load up sometimes.


I've tried resetting the SMC, PRAM. I've ran the Apple Hardware Test. I've ran the Disk Utility to repair disk permissions and to verify the disk. Everything is fine. Running Console shows that there is no problem with the SMC. I've even downloaded Onyx and ran every maintenance thing on there. I've installed another user account, and installed another OSX on a different partition, and this Kernel_task craziness is ALWAYS there. It starts up randomly it seems, and it goes away after an hour or two. Then it starts up again after a few hours. It is maddening. It doesn't seem to be associated with any program. It happens when there are no programs running.


My mac's HD isn't encrypted. I do use Time Machine (but it's unencrypted) on a network drive. I'm at a loss as to what this can be. Please help me... This issue is driving me crazy. From my searches, it seems there are many others with the same exact problem. Yet no one seems to know of a solution.

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Feb 17, 2013 6:02 PM

Reply
Question marked as Top-ranking reply

Posted on May 16, 2013 9:34 AM

I think, I have found a reliable fix!!!

http://www.rdoxenham.com/?p=259
In my case I have a faulty battery that shows a temp of 129°f (always) so the system average temp is way off…

This is a part hardware: (My battery going from Health:80% 333 cycles, to Health:7% after a reboot, I think this is do to the battery thermometer getting stuck on 129°f and battery controller safety shutdown)


After moving MacBookPro8_2.plist, I have to say my machine feels like its running as fast as it was new out of the box! I think Apple might be using that Kernal_Task(0) for more then just heat control.. It would make a very interesting marketing tool if you catch my drift..


CAUTION: KNOW HOW HOT YOUR COMPUTER GETS BEFORE YOU DO THIS.

IF NO ONE HAS CLEANED OUT THE HEAT SINK FANS IN OVER A YEAR DO THAT BEFORE APPLYING THIS FIX.. Better safe then sorry..


From: Rhys Oxenhams' Tech Blog

“Fixing” kernel_task CPU Problems in MacOS 10.7/10.8

Posted on June 5, 2012

Update (Early 2013): When I wrote this guide it was focusing on Lion 10.7, many people have, of course, upgraded to 10.8 and have reported success using the same principles. However, the plist entries have not been added for newer models, e.g. the new MacBook Air or MacBook Pro (+retina). Therefore, if you follow the guide exactly you may run into problems such as your model identifier not being visible. After diagnosing this with others via email it would appear that the system uses another plist in the directory, therefore removing all of the plists has worked. I cannot comment further or prove this to be the case as I don’t have the available hardware. Let me know whether this works for you…..

I use a wide variety of operating systems at home, all services are provided by Linux, e.g. firewall, routing, file-storage and DLNA media. However, I like using a Mac too, I have a late-2009 MacBook Air which I use whilst traveling. Despite all of Lion’s flaws, I really like using it- full-screen apps, gestures and the new Mail.app is really impressive. The specification of this machine really isn’t anything special, the lack of expansion really leaves a lot to be desired but for what I do- it’s plenty. I will certainly be upgrading to the new Ivy Bridge MacBook Air when it comes out, perhaps then I’ll have more than 2GB memory and can run VM’s too(!).

The biggest problem I’ve been having with this machine on Lion (didn’t have it on Snow Leopard) is to do with kernel_task. Instead of splitting all of the underlying kernel operations into their own individual processes (and associated threads) they are all consumed by a single ‘task’ (more of a representation of the underpinnings of the microkernel architecture) that appears in the process list. What I’ve been noticing is that this ‘task’ sometimes goes out of control, consumes CPU resources with the utmost priority. For a long time I wasn’t sure what it was doing, it seemed to be kicking in when I was doing something that was relatively intensive (for a Mac anyway), e.g. YouTube.

A lot of people suggested that ‘rogue kexts’ (kernel drivers/modules) could be causing the problem, perhaps an incompatible module was being started by OS X that was installed when the system was running Snow Leopard. This seemed to make sense as a boot in safe-mode would cause no problems. Suffice to say, I created a Lion Install-USB and re-installed from scratch; guess what… same problem within hours! After a bit of digging around and investigating the kernel_task ‘process’ it was clear to see that it was looping through something continually. After further research I discovered that the kernel will keep looping some very simple tasks, e.g. getting the date, therefore ‘consuming’ (with the highest priority) the majority of the CPU in a bid to cool the system down.

So, it’s all to do with temperature control- you ‘remove’ a large portion of the CPU share from other applications and carry out low-overhead tasks continually until the CPU temperature drops. This sounds like a great solution to cooling, but it’s very intrusive. It’s agressive nature drags the system to a halt in a lot of ways, despite the fact that the CPU in my MacBook Air rarely exceeds 70 degrees (centigrade). Considering the TJ Max of my little 2.13GHz Core2Duo is 85 degrees I’d rather kernel_task not take this invasive action.

Thankfully, this “feature” is built into a kext, in which each model identifier specifies how to control the temperature of the CPU via this invasive action. The simple fix is to remove the entry for your model identifier from this kext- if it “doesn’t know” what to do with your particular model, it won’t take any action. Now, here comes the disclaimer… by taking the same action as I will outline below, I take absolutely no responsibility for any damage or loss caused to you or your property, you do this of your own free will. You’re over-ruling functionality that was designed to prolong the life of your equipment, despite the fact that it’s invasive and very annoying it’s there for a reason. Anyway, on to the fun stuff…

Firstly, you’re going to need the model identifier of your pesky Mac:

$ system_profiler -detailLevel mini | grep "Model Identifier:"

Model Identifier: MacBookAir2,1

The kext we need to modify is IOPlatformPluginFamily.kext, you can verify it is running by-

sh-3.2# kextstat | grep IOPlatformPluginFamily

67 3 0xffffff7f81229000 0x7000 0x7000 com.apple.driver.IOPlatformPluginFamily (5.1.0d17) <8 7 6 5 4 3>

Within this kext will be another further kext- ACPI_SMC_PlatformPlugin.kext, in which each recent Macintosh model is listed with relevant instructions that the kernel uses to determine how and when to invoke the control. (Make sure you switch to root now)

sh-3.2# cd /System/Library/Extensions/IOPlatformPluginFamily.kext/

sh-3.2# cd Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/

sh-3.2# cd Contents/Resources/

sh-3.2# ls | wc -l

49

So, there’s 49 different profiles listed in this kext as of the writing of this. We simply need to move the ‘plist’ file for the model identifier we discovered earlier out of that directory, so in my case I need to move file ‘MacBookAir2_1.plist’ out of this directory (to somewhere safe), but replace my model identifier with your specific one.

sh-3.2# mv MacBookAir2_1.plist /Users/<your username>/

You can simply reboot now for the changes to take effect. We could have removed the entire kext but it’s much safer to remove the plist file for the specific model as (to be honest) I don’t know what the rest of that kernel module does. I’ve been using this ‘fix’ for a few days now and not noticed any problems at all- overall it’s much quicker and I don’t have to worry about it running out of steam. What I would recommend is that you be a bit more careful about the placement of your Mac, you don’t want to be covering the exhaust. The Mac should protect itself if it *does* reach max temperature but I would just be a little more careful.

Note: It’s likely that this kext will get updated in the future by Apple in their update packs and as a result will replace the file you deleted/moved therefore you may have to repeat this process in the future

Let me know how you get on.

41 replies

Oct 3, 2013 2:42 AM in response to seabas917

My id is the same as brickellcomp - MacBookPro10,1


I've deleted ALL entries in that folder, thinking that it might be hiding in there, but still the same problem.


Watching temps there's no correlation between absolute heat and the Kernal_Task doing its thing.


But I do think it's kicking in if the rate of climb in temperature is rapid... like when I start rendering, compresssing or otherwise spanking all 8 cores.


It's extremely annoying because something that should take a couple of minutes to render blows out to 20+ or more minutes. And the entire machine goes SLUGGISH.

Mar 20, 2013 5:35 AM in response to Linc Davis

I've since opened up my Macbook Pro to see if maybe there was excess dust causing it to over heat. But there wasn't much. I took out the ram and reinserted it.


I also ran the hardware test on advanced mode three times and it didn't find anything.


I've reinstalled my OSX 10.8 once again, and the issue is still there.


I don't have any encryption at all.


I've reset my NVRAM and SMC data, and this didn't help at all.


The issue did get better after I rebooted normally after entering safe mode.


However, now it seems that I get the kernel task taking up my CPU when I plug in my MBP to my external monitor. What could be the cause for this? Thanks!

Jun 22, 2013 1:48 PM in response to Linc Davis

I haven't had much time to sort this out, I've been just living with it, but I did erase and deleted everything that had to do with viscosity and the problem is still there.


My computer is always around the 68'C range and sometimes goes as high as 80'C on occasion. It gets really hot.


Also this Kernel_Task still occurs even if I close all my open apps, and it is intermittent. It comes on seemingly by random chance, and will persist for an hour or two and just go away randomly as well. Also, it seems to come on more often when it is plugged in to a charger, but being on battery doesn't make my macbook immune to it.


This is quite frustrating to say the least. It is rather sad that my iPad 3 can outperform and is more reliable than my Macbook Pro i7 2.2GHz with 16GB ram and SSD.


Could you advise on what I should do next to fix this problem? I'm going to try seabas's solution next, right after I back up my drive. Will keep you guys posted. Thanks for the help

Jun 23, 2013 8:06 PM in response to asdllkjasdf

I have a question though, what did the fix actually do, and what are the long term consequences for this?


The answer to that question is in the post with the irresponsible advice that you took:


"I take absolutely no responsibility for any damage or loss caused to you or your property, you do this of your own free will. You’re over-ruling functionality that was designed to prolong the life of your equipment..."

Aug 30, 2013 5:02 PM in response to Linc Davis

600% + :/ MacBook Pro Late 2011 16GB RAM 750GB HD


I have done DiskWarrior, PRAM, Hardware Test and all have come out clean. But my computer is moving like molasses


Linc, this is what I get after putting the line into Terminal:

com.metakine.handsoff.driver (2.0.4)

at.obdev.nke.LittleSnitch (3932)

com.AmbrosiaSW.AudioSupport (4.1.2)

com.displaylink.driver.DisplayLinkDriver (1.8)

com.Cycling74.driver.Soundflower (1.5.2)

com.usboverdrive.driver.hid (3.0)

com.bresink.driver.BRESINKx86Monitoring (8.0)

org.virtualbox.kext.VBoxDrv (3.0.10)

org.virtualbox.kext.VBoxUSB (3.0.10)

org.virtualbox.kext.VBoxNetFlt (3.0.10)

org.virtualbox.kext.VBoxNetAdp (3.0.10)


Any ideas? Little Snitch has never given me a problem and I am not sure how to find Handsoff, or some of the other things...

Oct 1, 2013 7:15 PM in response to dissidently

@dissidentlFirstly I'm really sorry to hear your having this problem too. A part of me, was hoping the Retina Macbook Pro would run more reliabley. I guesa its not just one bad apple.. haha.. sad..

If I knew how to achieve 2, within a Retina Macbook Pro, I'd be very happy right now. But I don't. Anyone know?



I did some digging because I thought there would be a Macbook Pro Retina, entry in this universal Plist folder.I was suprised to see there was not.



Mavericks Universal Plist folder, No sing of Retina.. Strange..

User uploaded file

I'll keep my eyes open on the net, for the Macbook Pro Retina's identifiers...



If you find it, I would apitiate the infomation, keep me in the loop,

Thanks,

Oct 4, 2013 6:11 PM in response to seabas917

You could be right. On the other hand:


1) It worked. kernel_task utilization went from 200+ to <10% and has stayed there for two days under all operating conditions. And the Macbook is completely silent.


2) Fan noise is determined by fan speed and air flow, not by fan cleanliness. If the operating temperature is kept lower by more effective air flow, then the fan does not have to work as hard. The fan speed will be lower and the intake air velocity lower, both leading to much less noise. The noise is a key indicator; if the noise is high then the temperature is high and the airflow is less than what the system desires.

Sep 16, 2015 1:31 PM in response to Linc Davis

Hi Linc,


I know this forum might be long dead, but I'm having this issue and it's driving me crazy. Ran your terminal command to see what is overloading the kernal task, and it's: com.ti.driver.TIVCPSerial (1.2.1)


Thought it was CUDA for the longest time (it was the only other thing in the list). I think I finally succeeded in removing that, and this is all that's left apparently. Any idea what the **** it is? Google doesn't give any good results. 😟

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Kernel_task is using over 600% of my CPU and slowing things down to a crawl!!!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.