Questions tagged [cpu-architecture]

79 questions
210
votes
14 answers

How to determine Linux kernel architecture?

uname -m gives i686 and uname -m gives i686 i386 output in Red Hat Enterprise Linux Server release 5.4 (Tikanga) machine. I need to install Oracle Database 10g Release 2 on that machine. So, how can I decide whether kernel architecture is 32bit or…
user2914
  • 2,521
  • 5
  • 21
  • 15
88
votes
1 answer

Easy command line method to determine specific ARM architecture string?

I'm trying to write a script which will determine actions based on the architecture of the machine. I already use uname -m to gather the architecture line, however I do not know how many ARM architectures there are, nor do I know whether one is…
Thomas Ward
  • 2,600
  • 2
  • 18
  • 31
57
votes
8 answers

how to find out intel architecture family from command line

I get access to some xeon machines for checking performance. I want to find out what architecture they are using such as Haswell, Sandybridge , Ivybridge. Is there a command to find this out?
a curious engineer
  • 621
  • 1
  • 6
  • 6
45
votes
4 answers

What is the difference between i686 and x86_64 packages?

I have a machine with both glibc i686 and x86_64, and a very annoying problem with glibc. Is it normal to have two libraries of the same name installed on one computer? How can I know which library is executed? Until recently, I believed that…
MUY Belgium
  • 1,234
  • 2
  • 14
  • 31
40
votes
5 answers

Is there a system command, in Linux, that reports the endianness?

Does anyone know of a command that reports whether a system is Big Endian or Little Endian, or is the best option a technique like this using Perl or a string of commands? Perl # little $ perl -MConfig -e 'print "$Config{byteorder}\n";' 12345678 #…
slm
  • 363,520
  • 117
  • 767
  • 871
32
votes
6 answers

How do I check if my CPU supports x86-64-v2?

AMD, Intel, Red Hat, and SUSE have defined a set of "architecture levels" for x86-64 CPUs. For example x86-64-v2 means that a CPU support not only the basic x86-64 instructions set, but also other instructions like SSE4.2, SSSE3 or POPCNT. How can I…
gioele
  • 2,090
  • 2
  • 22
  • 30
20
votes
8 answers

Are binaries portable across different CPU architectures?

My goal is to be able to develop for embedded Linux. I have experience on bare-metal embedded systems using ARM. I have some general questions about developing for different cpu targets. My questions are as below: If I have an application compiled…
foob
  • 319
  • 1
  • 2
  • 4
17
votes
3 answers

Difference between “machine hardware”, "processor type" and “hardware platform”

My Linux machine reports "uname -a" outputs as below: [root@tom i386]# uname -a Linux tom 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux [root@tom i386]# As per man page of uname, the entries "i686 i686 i386"…
Adil
  • 271
  • 2
  • 5
14
votes
2 answers

Is there a way to dump a CPU's CPUID information?

I'm familiar with lshw, /proc/cpuinfo, etc. But is there a method for getting at a CPU's CPUID opcode?
slm
  • 363,520
  • 117
  • 767
  • 871
10
votes
5 answers

Can I run 64 bit ubuntu on my pc (>10 years old)

I don't know anything about CPUs. I have a 32-bit version of ubuntu. But I need to install 64-bit applications. I came to know that it is not possible to run 64-bit apps on 32 bit OS. So I decided to upgrade my os. But a friend of mine told me to…
mig001
  • 103
  • 1
  • 6
10
votes
1 answer

Why is my system architecture i386 on a 64-bit processor?

Recently, a small message appeared on my Gmail, notifying me that my google chrome version isn't compatible anymore. So I tried to update my chrome (I didn't take care about my chrome version from quite a while, I'm on version 45.0.2454.99). So I…
Leo Armentano
  • 101
  • 1
  • 1
  • 6
9
votes
3 answers

How to get past "Loading Initial Ramdisk" hang after going from x86_64 to i686 cpu

Long story short, I have a Ubuntu 12.04 64-Bit Server setup as a virtual machine with VirtualBox (4.1.18). I migrated the guest machine from an AMD chipset (a gaming machine) to an Intel Xeon (server hardware with dual processor support) thinking…
Chad Harrison
  • 1,613
  • 3
  • 18
  • 21
9
votes
2 answers

64-bit kernel, but all 32-bit ELF executable running processes, how is this?

The output from uname: root@debian:~ # uname -a Linux 5asnb 2.6.32-5-amd64 #1 SMP Mon Jun 13 05:49:32 UTC 2011 x86_64 GNU/Linux However the /sbin/init executable shows up as 32-bit: root@debian:~ # file /sbin/init /sbin/init: ELF 32-bit LSB…
kiiwii
  • 193
  • 1
  • 1
  • 5
8
votes
5 answers

What is difference between sleep and NOP in depth?

I am trying to learn operating system concepts. Here is two simple python code: while True: pass and this one: from time import sleep while True: sleep(0.00000001) Question: Why when running first code CPU usage is 100% but when running…
8
votes
2 answers

dnf error conflicting packages between i686 and x86_64

I am getting a series of errors similar to this file /usr/share/doc/glibc/NEWS from install of glibc-2.25-10.fc26.i686 conflicts with file from package glibc-2.25-7.fc26.x86_64 when I try to dnf update, and a Python exception when I dnf install…
lvc
  • 296
  • 1
  • 3
  • 8
1
2 3 4 5 6