Is mine a 64-bit machine?
Hi: How can I know if the CPU is 64 bits? Well, that is the question. Some info, from /proc/cpuinfo:
Code:
processor : 0 |
Try
Code:
lscpu |
Look for flag "lm" (long mode) in /proc/cpuinfo.
Code:
grep " lm " /proc/cpuinfo |
Code:
grep "address sizes" /proc/cpuinfo Code:
address sizes : 48 bits physical, 48 bits virtual |
How about, uname -a
|
Quote:
|
/proc/cpuinfo in my box does not give address sizes for this machine and, hence, likely for any other one. But I know the CPU is Intel Celeron D, bearing 'SL8HH' on the microprocessor top. And this page,
http://www.cpu-world.com/CPUs/Celeron_D/index.html under 'Show all' 'Hide all' says: Bus width: 32-bit Whether this tells the CPU is 32 bits I don't know. One thing is the electrical bus width and another one the register width, a processor being called 64-bit (resp. 32-bit) depending on the register bit, I think. For example, in 64 bits, the AX,BX,CX,DX,SP,BP,SI,DI registers are 64-bit registers. Furthermore, I had in my hands the Pentium I electrical specifications and by them I came to know its data bus consists of 64 lines, that is, it has a 64-bit wide data bus. |
Quote:
Quote:
|
Post 2 gave an easy answer if you happen to have the lscpu program installed.
Post 3 gave a really robust answer (not easy for it to fail or be wrong). But I guess you didn't quite understand it or ignored it. Post #4, I'm not so sure of. On a 64-bit kernel it acts as described. But I'm not sure with a 32-bit kernel if it would distinguish a 32-bit from 64-bit CPU. Post #5, really just tells you whether the kernel is 64-bit not whether the CPU is 64-bit. Quote:
If you have a 64-bit kernel (as you showed) then of course you have a 64-bit CPU. But we are assuming the OP has a 32-bit kernel and doesn't know whether the CPU is 64-bit. uname running under a 32-bit kernel cannot tell you whether you have a 64-bit CPU. What you think is CPU info within uname -a is not really what you think. Quote:
Quote:
An x86 CPU has a lot of different buses and their sizes vary by model and none of that is responsible for the official bit-size of the processor. The bit size measures the virtual address size, which is 32-bits when running a 32-bit kernel and is 64-bits (though only 48 independent bits) when running a 64-bit kernel. A 32-bit CPU cannot run a 64-bit kernel. A 64-bit CPU can run either a 32-bit kernel or a 64-bit kernel. |
@johnsfine:
Firstly, I do not need to be lectured. I think it is you who does not care reading the posts, namely post #7. I gave very specific information, which can resumed in this: the CPU sSpec is SL8HH. This page gives a definite answer to the thread's question: http://ark.intel.com/products/27105/...Hz-533-MHz-FSB given that SL8HH corresponds to processor number 315. There it says: Quote:
[It seems you read that post after all, while I was writing mine] |
deleted
|
All times are GMT -5. The time now is 04:01 AM. |