Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know why I have a process being able to report a usage line like:

248   Xcode    983.5

… in top on a quad core CPU?

I understand it's wrong, but how come? I'm not interested by Xcode going this high, but why top reports so high usage?

On OS X 10.7 with a Intel i7 quad core.

share|improve this question
possible duplicate of Why is the CPU usage reported by top in Linux over 100%? – slhck Nov 2 '11 at 22:28
@slhck: I do not think that it is a duplicate. It is a different OS and the accepted answer of the other question does not answer this one. – Dennis Nov 2 '11 at 22:33
@Dennis On a second thought, you could be right. At least the accepted one. What do you think of the second one? – slhck Nov 2 '11 at 22:43
@Dennis top is standard Unix utility and since MacOS is Unix form version 10 and up, it's reasonable to expect standard behavior for top. – AndrejaKo Nov 2 '11 at 22:54
I don't think that's a duplicate either. The hyper threaded 4-core cpu should not be able to receive more than 800% usage. :-/ I'm still left with 183.5% that's from nowhere… – jibay Nov 2 '11 at 23:00
up vote 0 down vote accepted

It's just an extreme case of sampling error. Say your factory can generate one widget per hour and outputs them precisely on the hour. If someone were trying to measure your factory's output, they might sample from, say 8:50 to 10:10, and find that you output two widgets in 80 minutes. Converting to widgets per hour, they'd get 1.5, or 150% of capacity.

It could also be caused by turbo boost, thermal throttling, or power saving. But given the fact that your system was under near maximum load, I doubt it.

share|improve this answer
Thank you David :-) – jibay Nov 3 '11 at 18:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .