首页 > 其他 > 详细

Does the 64-bit processor always perform better than 32-bits?

时间:2020-05-12 21:43:59      阅读:81      评论:0      收藏:0      [点我收藏+]

Abstract: What do you think about the question? Does the 64-bits always do better? The answer is NO.

技术分享图片

When we talk about 64 bit vs. 32 bit we mean two things

  1. Memory addressing, 32 bit can address about 4GB of memory(it has 32 address lines, and each line can represent 0 and 1), or more with extensions. 64 bit can address a vastly larger amount, about 16 exabytes, which is 16 million terabytes, which is a vast amount of memory.
  2. The same thing for integer numbers, a 32-bit computer can process amounts up to about 4 billion, a 64-bit processor can process numbers up to 18,446,744,073,709,551,615.

So if you‘re dealing with numbers under 4 billion, and address memory of fewer than 4 GB, 64-bit processors won‘t actually make any difference to you.

64-bit is about the size, not speed.

Copied from https://www.quora.com/Why-is-a-64-bit-CPU-faster-than-32-bit-CPU

What‘s virtual memory work for?

Background: Before the virtual memory came out, there is only have physical memory concept. In physical memory, here is a largely entire memory space, and people research algorithm for memory management. Something you may already know like first-fit, Best fit, worst fit, buddy‘s system, etc. Then we find a better thing to meet people‘s ambitions, it‘s virtual memory. By using virtual memory, we can abstract a memory for every process to guarantee security and independence, and make full use of physical fragments.

first fit algorithm


Does the 64-bit processor always perform better than 32-bits?

原文:https://www.cnblogs.com/gufana/p/12878190.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!