LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2009, 05:14 AM   #1
bzlaskar
Member
 
Registered: May 2006
Location: Bangalore, INDIA
Distribution: Fedora Core
Posts: 69
Blog Entries: 2

Rep: Reputation: 17
determinig whether CPU supports 64 bit processing in a linux box.


Greetings all ,

I need to know whether the CPU is enabled for 64-bit processing or
not. I tried reading /proc/cpuinfo , bit it is not telling me clearly
whether the CPU is 64 bit or 32 bit.
I can see some 'ht' flag in the output /proc/cpuinfo but not sure
whether it is telling me whether the CPU is enabled for hyper
threading or it is indicating a 64 bit processor. I installed
dcidecode and it is describing htt flag as "Hyper threading
technology" .
===
$ grep ht /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
lm pni monitor ds_cpl est tm2 xtpr
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
lm pni monitor ds_cpl est tm2 xtpr
-==

Can somebody please clarify whether the 'ht' flag enabled in the
output of /proc/cpuinfo is indicating a 64 bit processor .
Apart from that , what other command we can use that will help to
determine whether the cpu is enabled for 64 bit prcoessing or not.


Thanks in Advance
Zaman
 
Old 08-11-2009, 05:27 AM   #2
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Rep: Reputation: 16
If you have a spare disk, you could always try to boot a 64bit OS on the PC. It will either load or not.
 
Old 08-11-2009, 06:51 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
lm pni monitor ds_cpl est tm2 xtpr

It supports 64-bit.
 
Old 08-11-2009, 07:10 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Look for "lm" in the flags part of /proc/cpuinfo. It must be "lm" and not "lahf_lm". The later is only partially 64 bit. Not that it helps when manufacturers don't even change the chipset name. Worst case scenario, try it and if it fails... it's not. But it looks like you have lm, so yours is (if only in theory). Otherwise disect cpuid and cross reference sandpile.org and other sites. (most of which is decoded in cpuinfo anyway)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 02:02 PM
LXer: Gaisler Research's LEON 3 CPU Supports Linux 2.6 SMP LXer Syndicated Linux News 0 03-05-2007 12:31 AM
LXer: Sigrity Supports 64-bit Linux Computing Platforms LXer Syndicated Linux News 0 01-15-2007 09:54 PM
LXer: Teradata Unveils Warehouse 8.2, Supports 64-bit SUSE Linux ... LXer Syndicated Linux News 0 09-21-2006 10:54 AM
Graphic Card that Supports displaying 8-bit and 24-bit images simultaneously yrraja Linux - Hardware 2 04-30-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration