特殊:Badtitle/NS100:32bit and 64bit:修订间差异
Qq382314142(留言 | 贡献) 无编辑摘要 |
小无编辑摘要 |
||
(未显示3个用户的12个中间版本) | |||
第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}} | {{Languages|UbuntuHelp:32bit_and_64bit}} | ||
== | == 32-bit and 64-bit == | ||
As of 2008 most new consumer desktop PCs being sold contain processors from AMD or Intel which are capable of operating in 32-bit and 64-bit modes. List of processors with 64-bit support: | |||
* AMD | |||
* Athlon x64, FX, Athlon X2, Phenom X3, Phenom X4, Phenom II X4 | |||
* Intel | |||
* F and 5xx series Pentium 4 using the "Prescott" core | |||
* Pentium D | |||
* Core 2 (Solo, Duo & Quad) | |||
* | * Core i7 (all) | ||
* Core i5 (all) | |||
* VIA | |||
* Isiah | |||
In addition to the above mentioned list, a number of other architectures also support 64-bit processing (Itanium, S/390, PowerPC, SPARC, MIPS, etc); however, as they are not supported by Ubuntu, we will not discuss those further here. For a distribution supporting the named architectures see [http://www.debian.org Debian] on which Ubuntu is based. | |||
Each manufacturer has a different name for 64-bit: AMD's AMD64 and Intel's IA-32e (later EM64T). We will however use AMD64 to refer to all implementations in this page. | |||
Whilst your processor probably already supports 64-bits, in order to benefit from it you need a 64-bit operating system. | |||
=== What is it? === | === What is it? === | ||
32-bit and 64-bit refer to the size (or width) of a chunk of memory or more accurately, the memory registers in a computer's CPU - this defines how much data the processor can handle in a single operation. | |||
32-bit and 64-bit | So what does that mean? Well, the two main characteristics of the AMD64 architecture are: | ||
==== Memory ==== | |||
A 32-bit computer has a word size of 32 bits, this limits the memory theoretically to 4GB. This barrier has been extended through the use of 'Physical Address Extension' (or PAE) which increases the limit to 64GB although the memory access above 4GB will be slightly slower. | |||
A 64-bit computer will be able to address up to 16.8 million TB (16 exabytes) although constraints are in place that limit this to around 1TB. | |||
==== Registers ==== | |||
The AMD64 processors have additional general purpose registers which will allow 64-bit code to run faster (in some cases) than its 32-bit cousins. | |||
=== Which is better? === | === Which is better? === | ||
If you are doing heavy work where you have started to hit the 4GB memory barrier, then 64-bit is for you. Certain intensive tasks such as encoding video or audio also run significantly faster on 64-bit operating systems (NOTE: this is implementation specific). | |||
Early 64-bit adopters were plagued by incompatibility problems (most noticeably Java and Flash), however most issues have now been resolved. | |||
Some applications such as Flash do run slower in 64-bit mode, however work continues to improve on this. | |||
=== How to make 32-bit work on a 64-bit | Other platforms (like Windows) which also come in 32 and 64-bit flavours are experiencing significantly more problems especially due to a lack of 64-bit device drivers as incompatible user application. As Ubuntu is entirely open source, this is not the case as all hardware supported by Ubuntu works equally well in 32-bit and 64-bit environments. The same applies to open source user applications as well. | ||
=== What should I choose - 32 or 64 bit? === | |||
Unless you have specific reasons to choose 32-bit, we recommend 64-bit. | |||
=== How to make 32-bit application work on a 64-bit Operating System === | |||
It is possible to install and use 32-bit software on a 64-bit computer in different ways: | |||
* Installation of 32-bit compatibility libraries (ia32-libs) | |||
* A 32-bit [[UbuntuHelp:DebootstrapChroot|chroot]] | |||
* Full virtualization through [[UbuntuHelp:KVM|KVM]] or [[UbuntuHelp:VirtualBox|VirtualBox]] | |||
* Another option in a pinch is getlibs [http://ubuntuforums.org/showthread.php?t=474790 getlibs] | |||
A use case for getlibs was installing the Amazon MP3 Downloader software, it is written for 32 bit only and without their software downloading mp3s would otherwise be incredibly time consuming. | |||
Applications found in the Ubuntu archives should however all work out of the box in 64-bit mode. | |||
Happy 64-bitting! | |||
---- | ---- | ||
[[ | [[category:UbuntuHelp]] |
2010年5月19日 (三) 17:13的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/32bit_and_64bit }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/af | • {{#if: UbuntuHelp:32bit_and_64bit|Afrikaans| [[::32bit and 64bit/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ar | • {{#if: UbuntuHelp:32bit_and_64bit|العربية| [[::32bit and 64bit/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/az | • {{#if: UbuntuHelp:32bit_and_64bit|azərbaycanca| [[::32bit and 64bit/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/bcc | • {{#if: UbuntuHelp:32bit_and_64bit|جهلسری بلوچی| [[::32bit and 64bit/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/bg | • {{#if: UbuntuHelp:32bit_and_64bit|български| [[::32bit and 64bit/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/br | • {{#if: UbuntuHelp:32bit_and_64bit|brezhoneg| [[::32bit and 64bit/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ca | • {{#if: UbuntuHelp:32bit_and_64bit|català| [[::32bit and 64bit/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/cs | • {{#if: UbuntuHelp:32bit_and_64bit|čeština| [[::32bit and 64bit/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/de | • {{#if: UbuntuHelp:32bit_and_64bit|Deutsch| [[::32bit and 64bit/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/el | • {{#if: UbuntuHelp:32bit_and_64bit|Ελληνικά| [[::32bit and 64bit/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/es | • {{#if: UbuntuHelp:32bit_and_64bit|español| [[::32bit and 64bit/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/fa | • {{#if: UbuntuHelp:32bit_and_64bit|فارسی| [[::32bit and 64bit/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/fi | • {{#if: UbuntuHelp:32bit_and_64bit|suomi| [[::32bit and 64bit/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/fr | • {{#if: UbuntuHelp:32bit_and_64bit|français| [[::32bit and 64bit/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/gu | • {{#if: UbuntuHelp:32bit_and_64bit|ગુજરાતી| [[::32bit and 64bit/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/he | • {{#if: UbuntuHelp:32bit_and_64bit|עברית| [[::32bit and 64bit/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/hu | • {{#if: UbuntuHelp:32bit_and_64bit|magyar| [[::32bit and 64bit/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/id | • {{#if: UbuntuHelp:32bit_and_64bit|Bahasa Indonesia| [[::32bit and 64bit/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/it | • {{#if: UbuntuHelp:32bit_and_64bit|italiano| [[::32bit and 64bit/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ja | • {{#if: UbuntuHelp:32bit_and_64bit|日本語| [[::32bit and 64bit/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ko | • {{#if: UbuntuHelp:32bit_and_64bit|한국어| [[::32bit and 64bit/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ksh | • {{#if: UbuntuHelp:32bit_and_64bit|Ripoarisch| [[::32bit and 64bit/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/mr | • {{#if: UbuntuHelp:32bit_and_64bit|मराठी| [[::32bit and 64bit/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ms | • {{#if: UbuntuHelp:32bit_and_64bit|Bahasa Melayu| [[::32bit and 64bit/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/nl | • {{#if: UbuntuHelp:32bit_and_64bit|Nederlands| [[::32bit and 64bit/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/no | • {{#if: UbuntuHelp:32bit_and_64bit|norsk| [[::32bit and 64bit/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/oc | • {{#if: UbuntuHelp:32bit_and_64bit|occitan| [[::32bit and 64bit/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/pl | • {{#if: UbuntuHelp:32bit_and_64bit|polski| [[::32bit and 64bit/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/pt | • {{#if: UbuntuHelp:32bit_and_64bit|português| [[::32bit and 64bit/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ro | • {{#if: UbuntuHelp:32bit_and_64bit|română| [[::32bit and 64bit/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/ru | • {{#if: UbuntuHelp:32bit_and_64bit|русский| [[::32bit and 64bit/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/si | • {{#if: UbuntuHelp:32bit_and_64bit|සිංහල| [[::32bit and 64bit/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/sq | • {{#if: UbuntuHelp:32bit_and_64bit|shqip| [[::32bit and 64bit/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/sr | • {{#if: UbuntuHelp:32bit_and_64bit|српски / srpski| [[::32bit and 64bit/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/sv | • {{#if: UbuntuHelp:32bit_and_64bit|svenska| [[::32bit and 64bit/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/th | • {{#if: UbuntuHelp:32bit_and_64bit|ไทย| [[::32bit and 64bit/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/tr | • {{#if: UbuntuHelp:32bit_and_64bit|Türkçe| [[::32bit and 64bit/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/vi | • {{#if: UbuntuHelp:32bit_and_64bit|Tiếng Việt| [[::32bit and 64bit/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/yue | • {{#if: UbuntuHelp:32bit_and_64bit|粵語| [[::32bit and 64bit/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/zh | • {{#if: UbuntuHelp:32bit_and_64bit|中文| [[::32bit and 64bit/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/zh-hans | • {{#if: UbuntuHelp:32bit_and_64bit|中文(简体)| [[::32bit and 64bit/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit}}/zh-hant | • {{#if: UbuntuHelp:32bit_and_64bit|中文(繁體)| [[::32bit and 64bit/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:32bit_and_64bit|:32bit and 64bit|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :32bit and 64bit/zh | | {{#ifexist: 32bit and 64bit/zh | | {{#ifeq: {{#titleparts:32bit and 64bit|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:32bit and 64bit|1|-1|}} | zh | | }}
32-bit and 64-bit
As of 2008 most new consumer desktop PCs being sold contain processors from AMD or Intel which are capable of operating in 32-bit and 64-bit modes. List of processors with 64-bit support:
- AMD
- Athlon x64, FX, Athlon X2, Phenom X3, Phenom X4, Phenom II X4
- Intel
- F and 5xx series Pentium 4 using the "Prescott" core
- Pentium D
- Core 2 (Solo, Duo & Quad)
- Core i7 (all)
- Core i5 (all)
- VIA
- Isiah
In addition to the above mentioned list, a number of other architectures also support 64-bit processing (Itanium, S/390, PowerPC, SPARC, MIPS, etc); however, as they are not supported by Ubuntu, we will not discuss those further here. For a distribution supporting the named architectures see Debian on which Ubuntu is based. Each manufacturer has a different name for 64-bit: AMD's AMD64 and Intel's IA-32e (later EM64T). We will however use AMD64 to refer to all implementations in this page. Whilst your processor probably already supports 64-bits, in order to benefit from it you need a 64-bit operating system.
What is it?
32-bit and 64-bit refer to the size (or width) of a chunk of memory or more accurately, the memory registers in a computer's CPU - this defines how much data the processor can handle in a single operation. So what does that mean? Well, the two main characteristics of the AMD64 architecture are:
Memory
A 32-bit computer has a word size of 32 bits, this limits the memory theoretically to 4GB. This barrier has been extended through the use of 'Physical Address Extension' (or PAE) which increases the limit to 64GB although the memory access above 4GB will be slightly slower. A 64-bit computer will be able to address up to 16.8 million TB (16 exabytes) although constraints are in place that limit this to around 1TB.
Registers
The AMD64 processors have additional general purpose registers which will allow 64-bit code to run faster (in some cases) than its 32-bit cousins.
Which is better?
If you are doing heavy work where you have started to hit the 4GB memory barrier, then 64-bit is for you. Certain intensive tasks such as encoding video or audio also run significantly faster on 64-bit operating systems (NOTE: this is implementation specific). Early 64-bit adopters were plagued by incompatibility problems (most noticeably Java and Flash), however most issues have now been resolved. Some applications such as Flash do run slower in 64-bit mode, however work continues to improve on this. Other platforms (like Windows) which also come in 32 and 64-bit flavours are experiencing significantly more problems especially due to a lack of 64-bit device drivers as incompatible user application. As Ubuntu is entirely open source, this is not the case as all hardware supported by Ubuntu works equally well in 32-bit and 64-bit environments. The same applies to open source user applications as well.
What should I choose - 32 or 64 bit?
Unless you have specific reasons to choose 32-bit, we recommend 64-bit.
How to make 32-bit application work on a 64-bit Operating System
It is possible to install and use 32-bit software on a 64-bit computer in different ways:
- Installation of 32-bit compatibility libraries (ia32-libs)
- A 32-bit chroot
- Full virtualization through KVM or VirtualBox
- Another option in a pinch is getlibs getlibs
A use case for getlibs was installing the Amazon MP3 Downloader software, it is written for 32 bit only and without their software downloading mp3s would otherwise be incredibly time consuming. Applications found in the Ubuntu archives should however all work out of the box in 64-bit mode. Happy 64-bitting!