Why do we move Single-core to Dual-Core?

Why do we move Single-core to Dual-Core?

Single Core:

Single core means we do only one task at a time for example a man has only one hand and they do all operations in his one hand.

Dual Core:

Dual-core means we do two tasks at a time. Ex. A man has two hands and they do all the work with two hands it does more work than a one-hand man

In 2003 we used single core and were happy with this. Also, we face many difficulties when using a single core.

Approximately 4 main factors;

  1. Slow speed
  2. Heat
  3. More electricity consumes
  4. Multitasking

The first factor is slow speed. In my point of view, it is not good if our ultimate goal is speed, we just increase the frequency and achieve more speed. Rather than that, we change all architecture to move new technology that is dual core? (Answer in conclusion)

Heat:

When the processor does a heavy task, it is hanged and produces more heat. It is a second reason we moved dual-core

More Electricity Consume:

It takes electricity to do any task. When we use the single-core processor first, we turn off many things in the house like the fridge, Oven, and Iron than we use this is the third factor

Multitasking:

It is a very crucial factor to move dual core because a single core does only one task at a time. But we need multitasking like if we read a PDF at same time, we listen to music but single core not do two tasks at a time

Conclusion:

As I mentioned before if our goal is to get high speed why do we not increase the frequency why do we change all the architecture? I tell everything with a simple example

If we put a high-speed car engine into a small car what will happen? ?It is destroyed that’s the reason we do not increase the frequency. And change all architecture and move to the dual-core although it is costly compared to a single-core ??



Ubaid Ur Rehman

Software Engineer | Section Leader @ Stanford Code in Place | Moderator @ icodeGurru

9 个月

Thanks for sharing. you explain in very easy terms.

要查看或添加评论,请登录

Ahmad Uzair的更多文章

  • Time and space complexity

    Time and space complexity

    We solve problems with multiple logic, every logic expresses algorithms. Who knows which logic or algorithm is better?…

  • Leetcode problem 128: Longest Consecutive Sequence

    Leetcode problem 128: Longest Consecutive Sequence

    In this article, you will find a solution to Leetcode problem #128. The article covers all aspects of the problem…

社区洞察

其他会员也浏览了