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.

Acording to my laptop website and intel website, my CPU is Intel i5-2410M

Processor Number i5-2410M Cores 2 Threads 4 Clock Speed 2.3 GHz Max Turbo Frequency 2.9 GHz

so I have two cores, but why does ubuntu 12.04 show 4 cpus for my cpu ? Ubuntu 12.04 System Monitor result for my intel i5-2410M

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

It is because of hyper-threading, where each core can (put simply) execute two threads simultaneously Which is why you see 4 threads, 4 threads == 4 'cpus'.

Quoted from wikipedia:

Hyper-threading works by duplicating certain sections of the processor—those that store the architectural state—but not duplicating the main execution resources. This allows a hyper-threading processor to appear as two "logical" processors to the host operating system, allowing the operating system to schedule two threads or processes simultaneously.

share|improve this answer
add comment

As l300lbl stated it must be because of hyper-threading. More information can be found on wiki.

What it basically do is to let you use one physical core as two logical ones. For example if you have a quad-core processor with hyper-threading technology it will let you to have 8 logical cores from 4 physical cores.

Intel did a nice job using this technology by allowing you to have double the threads that you would have without hyper-threading.

Also, seems that only Intel chips seems to use such technology, other chip manufactures focus on creating more physical cores instead of hyper-threading. My guess is that physical cores > logical cores :)

share|improve this answer
add comment

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.