64bit P4 vs mfsBSD

Dutch Ingraham stoa at gmx.us
Fri Aug 7 16:29:10 UTC 2015


On Fri, Aug 07, 2015 at 09:28:58AM -0500, Valeri Galtsev wrote:
> 
> On Thu, August 6, 2015 8:20 pm, Dutch Ingraham wrote:
> > On Thu, Aug 06, 2015 at 08:00:12PM -0400, Quartz wrote:
> >> >can you get a
> >> >dmesg that will advise of the processor attributes?  You're looking for
> >> >"LM," (long mode).  If that is there, it is a 64-bit processor.
> >>
> >> Does that work on linux? I can't get a dmesg off bsd until I figure out
> >> how
> >> to boot it. Also, where exactly am I looking? On a different machine
> >> running
> >> FreeBSD the only thing in dmesg I see that looks right is "AMD
> >> Features=0x20100800<SYSCALL,NX,LM>". Is that the right line?
> >>
> > Seems everyone has a different concept of what should be in a dmesg.
> > Linux may or may not have this info - my Slackware does not seem to, but
> > it does have enough processor information (<dmesg | grep -i intel>) to
> > search the web for that particular processor's attributes.
> >
> > If you have Linux running, <lscpu> will also work.
> 
> cat /proc/cpuinfo
> 
> comes to my mind for Linux. Never heard about <lscpu>. Is it one of
> commands you can use on Linux box? What one need to install to have this
> command?
> 
> Valeri
> 

I think it is part of the util-linux package.  Here is a standard output:

dutch at slack ~ $ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 26
Stepping:              5
CPU MHz:               2400.178
BogoMIPS:              4800.35
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              4096K
dutch at slack ~ $ 


More information about the freebsd-questions mailing list