Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: http://pastebin.ubuntu.com/1206427/

share|improve this question

2 Answers 2

up vote 2 down vote accepted

From your copy and paste: cpu cores : 2

Could be it right?

As for your cache-question: http://superuser.com/a/203481

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

 
discard

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.