explanation regarding multi-core processor vs mult

2019-08-29 04:36发布

问题:

I know OS schedules thread and CPU executes it and there is direct relationship between no of threads and no of cores.Is that mean single processor with multiple cores (say n) is same as that of n single core processors, I mean In both of these cases processing ability is same or there is some difference?

回答1:

yes, there is a difference, but for normal programming decisions the difference is almost insignificant and too low-level.

Intel® 64 and IA-32 Architectures Software Developer’s Manual contains some explanation in chapters "Intel® Hyper-Threading Technology" and "Multi-Core Technology"

Similar questions:

  • SuperUser: Hyper-Threading and Dual-Core, What's the Difference?
  • Stack Overflow: multi-CPU, multi-core and hyper-thread.

What typical programmers might care about when solving parallel programming problems/questions:

  • Intel® Developer Zone: Performance
  • Intel Guide for Developing Multithreaded Applications

Related articles:

  • Wikipedia: Multi-core processor
  • Wikipedia: Hyper-threading