Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:32_or_64_bit [2011/05/09 04:52] – created Guy | wiki:32_or_64_bit [2012/01/28 04:50] (current) – ke4nt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== 32 or 64 bit CPU ====== |
- | To find out if the CPU in a computer is 32 or 64 bit, open the terminal and type | + | To find out if the CPU in a computer is 32 or 64 bit, open the terminal and try these commands. |
- | < | + | Good: |
+ | '' | ||
+ | |||
+ | Better: | ||
+ | '' | ||
+ | |||
+ | Best: | ||
+ | '' | ||
+ | |||
+ | |||
+ | |||
+ | Note: Using " | ||
+ | |||
+ | A 32 bit kernel ( i386, i586, i686 ) can be run on a 64 bit capable CPU. | ||
+ | |||
+ | A 64 bit kernel ( x86_64 ) requires a 64 bit capable CPU to run. | ||
+ | |||
+ | |||
+ | ######################################################################## | ||
+ | |||
+ | |||
+ | For example: | ||
+ | |||
+ | |||
+ | A 64 BIT CAPABLE CPU | ||
+ | |||
+ | " cat /proc/ | ||
+ | processor | ||
+ | processor | ||
+ | processor | ||
+ | processor | ||
+ | |||
+ | |||
+ | |||
+ | " cat / | ||
+ | 4 | ||
+ | |||
+ | |||
+ | |||
+ | " dmidecode -t processor | grep Family " | ||
+ | Family: Xeon | ||
+ | Signature: Type 0, Family 15, Model 4, Stepping 1 | ||
+ | Family: Xeon | ||
+ | Signature: Type 0, Family 15, Model 4, Stepping 1 | ||
+ | |||
+ | |||
+ | |||
+ | " dmidecode -t processor | tail -3 " | ||
+ | Characteristics: | ||
+ | 64-bit capable | ||
+ | |||
+ | |||
+ | |||
+ | " getconf -a | grep LONG_BIT " | ||
+ | LONG_BIT | ||
+ | |||
+ | |||
+ | ######################################################################## | ||
+ | |||
+ | |||
+ | A 32 BIT CAPABLE CPU (otherwise, a very similar machine) | ||
+ | |||
+ | " cat / | ||
+ | processor | ||
+ | processor | ||
+ | processor | ||
+ | processor | ||
+ | |||
+ | |||
+ | |||
+ | " cat / | ||
+ | 0 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | " dmidecode -t processor | grep Family " | ||
+ | Family: Xeon | ||
+ | Signature: Type 0, Family 15, Model 2, Stepping 9 | ||
+ | Family: Xeon | ||
+ | Signature: Type 0, Family 15, Model 2, Stepping 9 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | " dmidecode -t processor | tail -3 " | ||
+ | L2 Cache Handle: 0x0703 | ||
+ | L3 Cache Handle: Not Provided | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | " getconf -a | grep LONG_BIT " | ||
+ | LONG_BIT | ||
- | If it is something like i586 or i686, it is 32 bit. | ||