Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'm using Intel i5-2430M processor which is a dual core processor, but the output of /proc/cpuinfo shows four cores. Why? Is is because of hyper-threading?

If yes, is there any way I can see the actual number of cores?

Also, how can I see the sizes of L1 and L2 caches?

Output of /proc/cpuinfo:

share|improve this question
up vote 2 down vote accepted

From your copy and paste: cpu cores : 2

Could be it right?

As for your cache-question:

share|improve this answer

Looking at this Intel page about your processor specification, It is clear that Your processor has 2 cores, So, cpuinfo is not wrong by telling you as such.

Also Looking into this Wikipedia page and this page from CPUWorld it seems Your processor has

  • L1 cache = 2 x 32 KB instruction cache, 2x32 KB Data cache
  • L2 Cache = 2 x 256 KB
  • L3 Cache = 3 MB
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.