What does 2 core 4 threads mean in cpu

corecputhreads

I wanted to know what does 2 cores 4 threads mean about a cpu? I am talking about this cpu which i have

http://ark.intel.com/products/47341/Intel-Core-i5-520M-Processor-3M-Cache-2_40-GHz

I initially thought i5 had 4 cores but i think i am wrong. My understanding of a thread is it is a chunk of code that can run simultaneously(concurrently) with other threads. So, what does 4 threads mean in that specs sheet? Is it different from the programmatic threads. Is the number of threads in there different from the program thread that we create. If it has just 2 cores then is it correct that you can only run 2 parallel programs even though it has 4 threads?

Best Answer

Your i5 has two cores, each core can run two threads because of intel's hyperthreading, making 4 threads, beyond that it switches at high speeds between processes. Here's a nice explation of multithreading if you want to know more, but in essence your CPU can run 4 processes simultaniously, and switch at high speed between processes.

Related Question