个人工具

“UbuntuHelp:32bit and 64bit/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/32bit_and_64bit}} {{Languages|UbuntuHelp:32bit_and_64bit}} {{Translator|水妖上邪}} == 64-bit and 32-bit == Most computers run in 32 bit. Pro...)
 
 
(未显示14个用户的24个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/32bit_and_64bit}}
+
{{From|https://help.ubuntu.com/community/32bit_and_64bit}} {{Languages|UbuntuHelp:32bit_and_64bit}} {{Translator|水妖上邪 yiding.he}}
{{Languages|UbuntuHelp:32bit_and_64bit}}
+
{{Translator|水妖上邪}}
+
  
== 64-bit and 32-bit ==
 
  
Most computers run in 32 bit. Processors capable running 64-bit mode are AMD's Athlon x64, FX, X2 processors, Intel's Itanium and Xeon, Intel Core 2, Pentium D, some versions of Pentium 4 and Celeron D. For AMD processors, if the processor supports AMD64, and for Intel processors, if the processor supports EM64T (which is Intel's version of AMD64), the processor is capable of running in 64-bit mode.
+
===x86_64与AMD64===
* What about "G5" PowerPC chips? Or SPARC64, MIPS64, etc. (Note: Linux works on EVERYTHING! :) )
+
大多数计算机目前都是32位的。能够运行64位模式的处理器有AMD 的速龙 x64,Fx,X2, Intel的Itanium与Xeon,Intel的Core 2, 奔腾 D, 奔腾 4 与赛扬 D 部分型号。 如果AMD处理器支持AMD64,而Intel处理器支持EM64T,那么这样的处理器就能够运行在64位模式下。
+
  
那么 “G5” PowerPC 芯片呢? 或者 SPRC64,MIPS64?(提示:Linux几乎能够运行任何东西)
+
“x86-64”,由 AMD 设计,推出时被称为“AMD64”,其后也为英特尔所采用,现时英特尔称之为“Intel 64”。
=== What is it? ===
+
  
32 bit and 64 bit is really the size (or width) of a chunk of memory (more accurately, the memory registers) in the computer.
+
x86-64是 64 位微处理器架构及其相应指令集的一种,也是 Intel x86 架构的延伸产品。“x64”之前曾使用过 Clackamas Technology (CT)、IA-32e及EM64T。外界多使用 "x86-64" 或 "x64" 去称呼此 64 位架构,从而保持中立,不偏袒任何厂商。Debian采用AMD64的构架称谓,因为提供了Intel的IA-64构架支持。Ubuntu继承了Debian的这种称呼!
A 32 bit computer has a word size of 32 bit, this limits the memory to a very very large number (4 GB of physical ram in practice). A 64 bit computer will handle a literally enormous amount of
+
memory (about 128 GB of physical ram).
+
32位与64位是计算机存储寄存器的大小或宽度。 一台32位计算机的字节宽度是32位,它的寻址能力非常大(4GB 的物理内存)。 而一台64位计算机的寻址能力简直就是惊人的(大约是120GB物理内存)。
+
We are moving towards a world where information is stored in a terabyte.  A few
+
of these will store all the programs of your favourite TV station for a number
+
of years.  When you are moving this amount of data and compressing it to store
+
it more efficiently then you need the extra power 64 bit allows.
+
我们正在步入一个信息以GB单位存储的世界。 在可预见的未来,你将能够存储下你所喜爱的所有电视节目。当我们传送这样巨大的数据量并且更有效地压缩和存储他们时,我们需要64位处理器所提供的强大能力。
+
  
=== Which is better ===
+
==64位与32位计算机==
  
A 64 bit processor is the way of the future, and it is worth mentioning that AMD's 64-bit processors function fine in a 32-bit environment. One might still recommend staying with 32-bit software because the 32-bit software has more support, but that is changing.
+
2005年以后的多数计算机都是64位的。能够运行64位模式的处理器有AMD的速龙x64,FX,X2以及之后的系列,Intel的Itanium与Xeon,Intel的Core2,奔腾D,奔腾4与赛扬D部分型号。
Within 10 years one would expect most computers to be 64 bit however one might believe that between now and then the average person will have another 2 computers (one every 5 years).
+
64位处理器代表了未来,
+
  
The bottom line is that for free software it is not that important.  Code can be converted between the two because it is source code so that most things 'just work'.  The unfortunate thing is that it is actually a little tricky converting some programs from 32 to 64 bit and therefore some programs cannot run in native 64 bit mode. They can run in an emulated mode but this will
+
支持AMD64的AMD处理器,和支持EM64T的Intel处理器都可以运行在64位模式下。
be a little slower. There is even the case when code that works in 64 bit actually runs slower because of the magic in the processor differences.
+
  
On processors that support AMD64 or EM64T, performance might be slightly higher in 64-bit mode than in 32-bit mode. The (technical) reason for this is that in 64-bit mode the processor has more and wider registers available, which means that programs compiled for 64-bit mode can run more efficiently.
+
===32位与64位的含义===
  
=== How to make 32 bit work on a 64 bit machine ===
+
所谓32位与64位,实际上指的是计算机存储寄存器的大小(或者叫宽度)。一台32位计算机的字节宽度是32位,它的寻址能力非常大(4GB的物理内存)。而一台64位计算机的寻址能力简直就是惊人的。二进制,所以,2的32次方,和2的64次方,你该知道其差异。
  
At this time, those with a 64 bit processor have the option of installing the 64 bit version of Ubuntu.
+
我们正在步入一个信息以TB为单位来存储的时代。某些计算机将能够存储好几年的你所喜爱的电视节目。当我们想移动如此大量的数据并对其进行压缩以便更有效率地存储数据时,我们需要64位处理器所提供的更强大能力。
Not all software is available in the 64 bit environment. In particular non-free items are usually 32 bit. For example the Flash plugin is a 32 bit program.
+
  
Some programs can be run in the 64 bit version of Ubuntu by using the 32 bit libraries.
+
===优劣===
 +
64位处理器代表了现在,32位代表了过去(手机你就别担心太多了)。
  
You can use [[UbuntuHelp:Rootsudo|sudo]] and [[UbuntuHelp:AptGetHowTo|apt-get]] to install these libraries.
+
2GB,大概是使用64位基本的内存要求,低于1.5GB,大概你还是32位比较好。
<pre><nowiki>
+
sudo apt-get install ia32-libs*
+
</nowiki></pre>
+
One can also use the [[UbuntuHelp:SynapticHowto|Synaptic package manager]] to install the 32 bit libraries.
+
  
Another option is to create a 32 bit environment with [[UbuntuHelp:DebootstrapChroot|chroot]]
+
AMD的64位处理器在32位的环境下也运转良好。有人可能建议继续使用32位的软件,因为32位软件的传统商业支持更广泛,除了媒体(影音视感)领域,早已全部转向64位。
  
----
+
多数人都将拥有两台以上计算机,不包括手机。
[[category:CategoryCleanup]]
+
  
[[category:UbuntuHelp]]
+
问题在于对自由软件来说这并不重要。软件代码可以互转,因为使用的是源代码,所以大多数软件都“还不错”。不幸的是,要将有的程序从32位转换为64位实际上有些麻烦,所以某些程序无法在真正的64位模式运行。这些程序可以在模拟的模式下工作,但稍微慢一些。某些代码在64位环境下实际运行速度甚至更慢,这是由于处理器的微妙差异造成的。
 +
 
 +
如果使用支持AMD64或EM64T的处理器,64位模式可能比32位模式效率略高。其(技术)原因是,在64位模式下处理器可用的寄存器更多、位数更宽,这意味着为64位模式编译的程序可以更高效地运行。
 +
 
 +
 
 +
 
 +
===在64位机器上运行32位程序===
 +
目前,拥有64位处理器的用户也可以安装32位的Ubuntu系统。
 +
 
 +
并非所有软件在64位环境下都可用,尤其是,非免费的程序通常都是32位。
 +
 
 +
有的程序可在64位Ubuntu下运行,不过要使用32位的库。
 +
可以使用 [[UbuntuHelp:Rootsudo|sudo]] 和 [[UbuntuHelp:AptGetHowTo|apt-get]] 来安装这些库。
 +
<pre>sudo apt-get install ia32-libs*
 +
</pre>
 +
也可以用 [[UbuntuHelp:SynapticHowto|新立得软件包管理器]] 安装 32 位库。
 +
 
 +
还有个办法是用 [[UbuntuHelp:DebootstrapChroot|chroot]] 建立一个32位环境。
 +
;rfu
 +
 
 +
 
 +
[[Category:CategoryCleanup]]
 +
[[Category:UbuntuHelp]]
 +
[[Category:基础知识]]

2013年10月3日 (四) 14:45的最新版本


x86_64与AMD64

“x86-64”,由 AMD 设计,推出时被称为“AMD64”,其后也为英特尔所采用,现时英特尔称之为“Intel 64”。

x86-64是 64 位微处理器架构及其相应指令集的一种,也是 Intel x86 架构的延伸产品。“x64”之前曾使用过 Clackamas Technology (CT)、IA-32e及EM64T。外界多使用 "x86-64" 或 "x64" 去称呼此 64 位架构,从而保持中立,不偏袒任何厂商。Debian采用AMD64的构架称谓,因为提供了Intel的IA-64构架支持。Ubuntu继承了Debian的这种称呼!

64位与32位计算机

2005年以后的多数计算机都是64位的。能够运行64位模式的处理器有AMD的速龙x64,FX,X2以及之后的系列,Intel的Itanium与Xeon,Intel的Core2,奔腾D,奔腾4与赛扬D部分型号。

支持AMD64的AMD处理器,和支持EM64T的Intel处理器都可以运行在64位模式下。

32位与64位的含义

所谓32位与64位,实际上指的是计算机存储寄存器的大小(或者叫宽度)。一台32位计算机的字节宽度是32位,它的寻址能力非常大(4GB的物理内存)。而一台64位计算机的寻址能力简直就是惊人的。二进制,所以,2的32次方,和2的64次方,你该知道其差异。

我们正在步入一个信息以TB为单位来存储的时代。某些计算机将能够存储好几年的你所喜爱的电视节目。当我们想移动如此大量的数据并对其进行压缩以便更有效率地存储数据时,我们需要64位处理器所提供的更强大能力。

优劣

64位处理器代表了现在,32位代表了过去(手机你就别担心太多了)。

2GB,大概是使用64位基本的内存要求,低于1.5GB,大概你还是32位比较好。

AMD的64位处理器在32位的环境下也运转良好。有人可能建议继续使用32位的软件,因为32位软件的传统商业支持更广泛,除了媒体(影音视感)领域,早已全部转向64位。

多数人都将拥有两台以上计算机,不包括手机。

问题在于对自由软件来说这并不重要。软件代码可以互转,因为使用的是源代码,所以大多数软件都“还不错”。不幸的是,要将有的程序从32位转换为64位实际上有些麻烦,所以某些程序无法在真正的64位模式运行。这些程序可以在模拟的模式下工作,但稍微慢一些。某些代码在64位环境下实际运行速度甚至更慢,这是由于处理器的微妙差异造成的。

如果使用支持AMD64或EM64T的处理器,64位模式可能比32位模式效率略高。其(技术)原因是,在64位模式下处理器可用的寄存器更多、位数更宽,这意味着为64位模式编译的程序可以更高效地运行。


在64位机器上运行32位程序

目前,拥有64位处理器的用户也可以安装32位的Ubuntu系统。

并非所有软件在64位环境下都可用,尤其是,非免费的程序通常都是32位。

有的程序可在64位Ubuntu下运行,不过要使用32位的库。 可以使用 sudoapt-get 来安装这些库。

sudo apt-get install ia32-libs*

也可以用 新立得软件包管理器 安装 32 位库。

还有个办法是用 chroot 建立一个32位环境。 ;rfu