Re: Why kernel_task consumes so high CPU usage on MacBook AIR?
Re: Why kernel_task consumes so high CPU usage on MacBook AIR?
- Subject: Re: Why kernel_task consumes so high CPU usage on MacBook AIR?
- From: Michael Crawford <email@hidden>
- Date: Fri, 17 Sep 2010 20:52:10 -0700
The problem is that the MacBook Air gets too hot. I've never used one
- do they have cooling fans? My MacBook Pro can get quite hot, but it
has a cooling fan beneath each of the two speaker grills. If the
MacBook Air requires passive cooling, the only alternative would be to
throttle the CPU, which indirectly makes kernel_task appear to take a
lot of time.
An alternative might be to make your code more efficient, so that it
can get the job done without heating the CPU up as much. That may not
be possible, but work with a profiler may yield some insight.
Besides Apple's CHUD tools that come with Xcode, I believe Intel's
VTune Performance Analyzer may yield insight that Apple's tools won't.
I used it once, and found it to be the best thing since sliced bread.
If you can isolate some performance-critical code in your app, it
might help to rewrite it in assembly code.
In general the idea is to get your work done in fewer work cycles, so
the CPU has more idle cycles during which it can lower its own supply
voltage and cool down a little bit before taking up the next bit of
payload work.
Mike
--
Michael David Crawford
mdcrawford at gmail dot com
GoingWare's Bag of Programming Tricks
http://www.goingware.com/tips/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden