Threads vs Cores

前端 未结 4 1379
长发绾君心
长发绾君心 2020-12-30 02:43

Say if I have a processor like this which says # cores = 4, # threads = 4 and without Hyper-threading support.

Does that mean I can run 4 simultaneous program/proces

4条回答
  •  伪装坚强ぢ
    2020-12-30 03:07

    That's basically correct, with the obvious qualifier that most operating systems let you execute far more tasks simultaneously than there are cores or threads, which they accomplish by interleaving the executing of instructions.

    A system with hyperthreading generally has twice as many hardware threads as physical cores.

提交回复
热议问题