个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第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 ==
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Most computers run in 32-bit mode. Processors capable of 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.
+
<html>
* What about "G5" PowerPC chips? Or SPARC64, MIPS64, etc. (Note: Linux works on EVERYTHING! :) )
+
<head>
=== What is it? ===
+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
32-bit and 64-bit are really the size (or width) of a chunk of memory (more accurately, the memory registers) in the computer.
+
<meta name="robots" content="index,nofollow">
A 32-bit computer has a word size of 32 bits, 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).
+
<title>32bit - Community Ubuntu Documentation</title>
We are moving towards a world where information is stored in a terabyte. A few
+
<script type="text/javascript">
of these will store all the programs of your favourite TV station for a number
+
<!--// common functions
of years. When you are moving this amount of data and compressing it to store
+
// We keep here the state of the search box
it more efficiently, then you need the extra power 64-bit allows.
+
searchIsDisabled = false;
=== Which is better? ===
+
function searchChange(e) {
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.
+
// Update search buttons status according to search box content.
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).
+
// Ignore empty or whitespace search term.
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-bit to 64-bit and therefore some programs cannot run in native 64-bit mode. They can run in an emulated mode but this will
+
var value = e.value.replace(/\s+/, '');
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.
+
if (value == '' || searchIsDisabled) {
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.
+
searchSetDisabled(true);
=== How to make 32-bit work on a 64-bit machine ===
+
} else {
At this time, those with a 64-bit processor have the option of installing the 64-bit version of Ubuntu.
+
searchSetDisabled(false);
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.
+
}
You can install ia32-libs by using your favorite package manager. Another option is to create a 32 bit environment with [[UbuntuHelp:DebootstrapChroot|chroot]]
+
function searchSetDisabled(flag) {
----
+
// Enable or disable search
 +
document.getElementById('fullsearch').disabled = flag;
 +
document.getElementById('titlesearch').disabled = flag;
 +
}
 +
function searchFocus(e) {
 +
// Update search input content on focus
 +
if (e.value == 'Search') {
 +
e.value = '';
 +
e.style.color = 'black';
 +
searchIsDisabled = false;
 +
}
 +
}
 +
function searchBlur(e) {
 +
// Update search input content on blur
 +
if (e.value == '') {
 +
e.value = 'Search';
 +
e.style.color = 'gray';
 +
searchIsDisabled = true;
 +
}
 +
}
 +
function actionsMenuInit(title) {
 +
// Initiliaze action menu
 +
for (i = 0; i < document.forms.length; i++) {
 +
var form = document.forms[i];
 +
if (form.className == 'actionsmenu') {
 +
// Check if this form needs update
 +
var div = form.getElementsByTagName('div')[0];
 +
var label = div.getElementsByTagName('label')[0];
 +
if (label) {
 +
// This is the first time: remove label and do buton.
 +
div.removeChild(label);
 +
var dobutton = div.getElementsByTagName('input')[0];
 +
div.removeChild(dobutton);
 +
// and add menu title
 +
var select = div.getElementsByTagName('select')[0];
 +
var item = document.createElement('option');
 +
item.appendChild(document.createTextNode(title));
 +
item.value = 'show';
 +
select.insertBefore(item, select.options[0]);
 +
select.selectedIndex = 0;
 +
}
 +
}
 +
}
 +
}
 +
//-->
 +
</script>
 +
<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/ubuntu/css/common.css">
 +
<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/htdocs/ubuntu/css/screen.css">
 +
<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/htdocs/ubuntu/css/print.css">
 +
<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/htdocs/ubuntu/css/projection.css">
 +
<link rel="Start" href="/community/UserDocumentation">
 +
<link rel="Alternate" title="Wiki Markup" href="/community/32bit?action=raw">
 +
<link rel="Alternate" media="print" title="Print View" href="/community/32bit?action=print">
 +
<link rel="Search" href="/community/FindPage">
 +
<link rel="Index" href="/community/TitleIndex">
 +
<link rel="Glossary" href="/community/WordIndex">
 +
<link rel="Help" href="/community/HelpOnFormatting">
 +
</head>
 +
<body  lang="en" dir="ltr">
 +
<script xmlns="" src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>
 +
<script xmlns="" type="text/javascript"><![CDATA[
 +
_uacct = "UA-1018242-8";
 +
urchinTracker();
 +
]]></script>
 +
<div id="header">
 +
<div id="mastwrap"><div id="masthead">
 +
<div id="logo"><a href="/community/UserDocumentation">Community Ubuntu Documentation</a></div>
 +
<form id="searchform" method="get" action="">
 +
<div>
 +
<input type="hidden" name="action" value="fullsearch">
 +
<input type="hidden" name="context" value="180">
 +
<label for="searchinput">Search:</label>
 +
<input id="searchinput" type="text" name="value" value="" size="20"
 +
onfocus="searchFocus(this)" onblur="searchBlur(this)"
 +
onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
 +
<input id="titlesearch" name="titlesearch" type="submit"
 +
value="Titles" alt="Search Titles">
 +
<input id="fullsearch" name="fullsearch" type="submit"
 +
value="Text" alt="Search Full Text">
 +
</div>
 +
</form>
 +
<script type="text/javascript">
 +
<!--// Initialize search form
 +
var f = document.getElementById('searchform');
 +
f.getElementsByTagName('label')[0].style.display = 'none';
 +
var e = document.getElementById('searchinput');
 +
searchChange(e);
 +
searchBlur(e);
 +
//-->
 +
</script>
 +
<div id="sisternav">
 +
<ul>
 +
<li id="plain">
 +
<a href="https://help.ubuntu.com/6.06"
 +
accesskey="t">6.06 LTS</a>
 +
</li>
 +
<li id="plain">
 +
<a href="https://help.ubuntu.com/6.10"
 +
accesskey="t">6.10</a>
 +
</li>
 +
<li id="plain">
 +
<a href="https://help.ubuntu.com/7.04"
 +
accesskey="t">7.04</a>
 +
</li>
 +
<li id="plain">
 +
<a href="https://help.ubuntu.com/7.10"
 +
accesskey="t">7.10</a>
 +
</li>
 +
<li id="current">
 +
<a href="https://help.ubuntu.com/community"
 +
accesskey="t">Community Docs</a>
 +
</li>
 +
</ul>
 +
</div>
 +
</div></div>
 +
<ul class="extranav">
 +
<li><a href="/community/UserDocumentation">User Documentation</a></li>
 +
</ul>
 +
</div>
 +
<div id="page" lang="en" dir="ltr"><!-- start page -->
 +
<h1 id="title"><a title="Click to do a full-text search for this title" href="/community/32bit?action=fullsearch&amp;value=linkto%3A%2232bit%22&amp;context=180">32bit</a></h1>
 +
<div lang="en" id="content" dir="ltr">
 +
<a id="top"></a>
 +
<div lang="en" id="content" dir="ltr">
 +
<a id="top"></a>
 +
<p><strong>This page does not exist yet. You can create a new empty page, or use one of the page templates. Before creating the page, please check if a similar page already exists.</strong> </p>
 +
<a href="/community/32bit?action=edit">Create new empty page</a><p> </p>
 +
<div>
 +
<table>
 +
<tr>
 +
<td>
 +
<p> <strong>Page templates:</strong> </p>
 +
</td>
 +
<td>
 +
<p> <strong>Existing pages with similar names:</strong> </p>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td style="vertical-align: top;">
 +
<p> <ul>
 +
<li><a href="/community/32bit?action=edit&amp;template=AideTemplate">AideTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=[[category:CategoryTemplate">CategoryTemplate</a></li>]]
 +
<li><a href="/community/32bit?action=edit&amp;template=DocumentationTemplate">DocumentationTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=HelpTemplate">HelpTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=HilfeTemplate">HilfeTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=HomepageTemplate">HomepageTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=PagePersonnelleTemplate">PagePersonnelleTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=Pr%c3%a9sentationTemplate">PrésentationTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=SlideShowHandOutTemplate">SlideShowHandOutTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=SlideShowTemplate">SlideShowTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=SlideTemplate">SlideTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=SupportPapierD'UnePr%c3%a9sentationTemplate">SupportPapierD'UnePrésentationTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=ThuisbladTemplate">ThuisbladTemplate</a></li>
 +
<li><a href="/community/32bit?action=edit&amp;template=TransparentTemplate">TransparentTemplate</a></li>
 +
</ul>
 +
</p>
 +
</td>
 +
<td style="vertical-align: top;">
 +
<p> <ul>
 +
<li><a href="/community/32bit_and_64bit">32bit and 64bit</a></li>
 +
</ul>
 +
</p>
 +
</td>
 +
</tr>
 +
</table>
 +
</div>
 +
<a id="bottom"></a>
 +
</div>
 +
<a id="bottom"></a>
 +
</div>
 +
</div> <!-- end page -->
 +
<div id="footer">
 +
<div id="ubuntulinks">
 +
&copy; 2007 <a href="http://www.canonical.com">Canonical Ltd</a>. Ubuntu, Kubuntu, Edubuntu and Canonical are registered trademarks of Canonical Ltd.<br />
 +
<a href="https://help.ubuntu.com/community/WikiGuide">Feedback</a> &mdash;
 +
<a href="https://help.ubuntu.com/community/License">Legal</a> &mdash;
 +
<a href="https://help.ubuntu.com/community/Credits">Credits</a>
 +
<br />
 +
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
 +
<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/80x15.png" />
 +
</a>
 +
</div>
 +
</div>
 +
</body>
 +
</html>
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:46的版本


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 32bit - Community Ubuntu Documentation

32bit

This page does not exist yet. You can create a new empty page, or use one of the page templates. Before creating the page, please check if a similar page already exists.

Create new empty page