Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cpu-architecture]

The tag has no usage guidance.

0
votes
2answers
53 views

Actual compilation differences between CPUs

For a project I intend to compile various *NIX OSs and their relative packages with different CPUs in order to maximize optimization and performance for specific systems. In order to save time and ...
2
votes
1answer
189 views

Does my Linux system support the 32-bit syscall table?

The context is the following: Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64). I'm trying to figure out what this means, and ...
0
votes
0answers
62 views

Raspbian - printer driver

I trying install driver for my printer (Xeror Phaser 3020) on Raspberry PI 3 but i can't do that. I used CUPS but my printer isnt here in the listview,I also tried download driver from official web ...
1
vote
1answer
118 views

Disabling/Re-enabling cores via kernel in Threadripper/EPYC systems [closed]

As part of my current research, I've been doing tests where I disable/re-enable cores by echoing 0 or 1 to /sys/devices/system/cpu/cpuN/online to simulate vertical scaling. With Kernel v4.4.0 (...
0
votes
0answers
241 views

How do you match a CPU to the buildroot arch list for x86_64 CPUs?

Is there a process I can use to match a CPU's classification (possibly by parentage or attributes) to the list provided by buildroot reliably? For example, I have been given a board with an Intel ...
1
vote
1answer
77 views

Essential packages and multiple architectures on Debian

I have a working OS that runs 64 bit kernel but I want to use 32 bit versions of most packages because of limited memory on the machine. I need to keep some 64 bit drivers though as there is no 32 bit ...
1
vote
1answer
179 views

What kind of RPM packages should I use for armv7l

Suppose I get something like this from uname. Linux localhost 3.8.13-mrvl #12 PREEMPT Wed Aug 12 10:15:36 PDT 2015 armv7l I presume I should use armv7hl packages? The device is Steam Link. The ...
2
votes
2answers
2k views

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 ...
2
votes
1answer
61 views

Can I detect instruction set architecture in vimrc? (ARM vs x86)

I sometimes develop code on ARM hardware (Cubietruck or Rpi) as their dire slowness helps me to find code bottlenecks more easily than on amd64. However I want Vim to remain responsive so I need to ...
1
vote
1answer
1k views

Installing 32-bit Linux distribution on 32-bit Architecture with 32-bit UEFI

There's a lot of information on installing 64-bit Linux on 32-bit UEFI. It's a mess even here, but I've seen ways (rEFInd, etc). But this laptop (HP Envy X2) has a 32-bit architecture and exclusively ...
0
votes
2answers
743 views

Can I install kde neon amd64 on i686 architecture?

Recently I downloaded latest kde neon amd64.iso. I don't know how it's corrupt. But can I install amd64 software on i686 architecture ?
1
vote
3answers
75 views

does arch exist on all linux/unix systems?

Trying to find the most portable way to determine the CPU architecture of a system, be it 32bit x86, 64bit or something else (e.g. ARM). does the arch command exist on all systems? otherwise how do I ...
4
votes
1answer
100 views

How do I put hardware dependencies on .deb packages?

Building deb packages optimized for arbitrary CPU instructions, how do I put the CPU instructions as a dependency on the deb packages ? The package isn't intended for mass distribution, but I don't ...
4
votes
1answer
915 views

Practical use of uname in chroot?

I am preparing an OS image through a combination of bootstrapping and chrooting. Some actions (e.g. building kernel modules) rely on uname output, which reports the host configuration even inside the ...
15
votes
7answers
8k views

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 ...
4
votes
3answers
2k views

Chroot into a different architecture?

I have a filesystem image that's going to be used for an ARM processor, but I want to install some things on it first, like a Desktop, etc. So I want to mount the filesystem on my Linux machine and ...
1
vote
1answer
490 views

Why is 64bit Ubuntu running Slower? [closed]

I have 2 mostly identical machines, and Acer and a Lenovo, both with Intel Atom 230 CPU @ 1.60GHz and 1GB of DDR2 RAM. The acer has a fresh install of 64Bit Ubuntu 14.04 LTS while the Lenovo has the ...
10
votes
1answer
8k views

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

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 ...
1
vote
1answer
2k views

Understanding the top command output on an ARM multicore computer

Ran the top command to check CPU performances and memory usage on the New RPi3 while running a browser. Since we have a 4× ARM Cortex-A53, 1.2GHz, how should I read the result? $ top Mem: 327132K ...
2
votes
1answer
446 views

Difference between architecture and platform in linux kernel

I want to know the difference between architecture and platform in Linux kernel. When I had downloaded the latest kernel tarball, observed that a directory named with arch, it contains different names ...
7
votes
1answer
635 views

Debian: what instructions do x86-64 binaries use?

I'd like to know whether binaries use (are compiled for) special instruction sets like SSE 4.1/4.2, AVX, F16C or not. How can I find out whether a binary in a package uses certain instruction sets? I ...
3
votes
1answer
2k views

Added i386 support for wine, removed it now I can't remove the architecture

I've previously added i386 support in order to install wine32 with: sudo dpkg --add-architecture i386 Now I don't need wine32 anymore and removed it, then wanted to remove the i386 architecture ...
22
votes
3answers
17k views

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?
-1
votes
2answers
2k views

How do I find out if my processor is 32-bit or 64-bit? [duplicate]

I am currently running a 32-bit OS, but I'm not really sure if I have to. According to some articles on the Web, there are no flags in my output that indicate that my CPU is a 64-bit. But according to ...
3
votes
2answers
996 views

Meaning of hardware platform in uname command ouput

man uname -m, --machine print the machine hardware name -i, --hardware-platform print the hardware platform or "unknown" What exactly is meant by hardware platform here and how ...
1
vote
1answer
420 views

Get list of supported opcodes

Is there a way to get a list of supported opcodes for a given architecture? Such as a listing in /proc similar to /proc/cpuinfo.
0
votes
2answers
843 views

Writing a Script to match the architecture of system and software

I am trying to write a script where it will cross check to things: 1.The architecture for which the setup file was intended (32 or 64 bit) 2.The Architecture of the system. The second part is quite ...
1
vote
1answer
840 views

Socket and Core information - How do I check empty sockets?

I am trying to grab the number of sockets and core information. Till now I found that one socket can have multiple cores. http://rcritical.blogspot.com/2010/09/finding-cpu-socket-and-core-using.html ...
2
votes
1answer
407 views

How to get all CPU cache information without SU access

I am trying to find out the cache mapping scheme for all the levels of class of a linux server, however I do not have root access. I would just use DMIdecode for this but you need root access. Is ...
17
votes
1answer
17k views

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 ...
3
votes
2answers
803 views

Test if valid executable

Is there a (relatively) simple way to test if an executable not only exists, but is valid? By valid, I mean that an x86_64 Mach-O (OS X) executable will not run on an ARM Raspberry Pi. However, ...
4
votes
2answers
1k views

Finding the CPU id numbers to use with cpu sets

The man for cpuset doesn't seem to clearly list how to figure out which numbers map to which processing units. My current machine has two Intel Xeon E5645s, each of which has 6 cores and ...
28
votes
3answers
46k views

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 ...
0
votes
1answer
1k views

What is the difference between ARM architecture and ARM core? [closed]

I read the data sheet of the TI - DM385 , in which they have mentioned as: ARM Cortex-A8 Core - ARMv7 Architecture What's the difference?
4
votes
1answer
161 views

Find out if CPU supports dynamic speed setting

I need to find out in my script if a (potentially legacy) CPU supports dynamic speed setting, and eventually get value of maximum and current speed. What makes it more complicated is that I need to ...
7
votes
2answers
9k views

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:~ # ...
5
votes
2answers
13k views

32-bit vs 64-bit vs ARM in regards to programs and OSes

So when I run Raspbian (basically a ARM Debian derivative with LXDE), I can install any normal package using aptitude. But if, for example, I wanted to download a .deb file, I would have to choose 32-...
3
votes
1answer
547 views

Is there a tool that I can use to create a diagram of my system's architecture?

I'm looking for a tool that can create both graphical files as well as text based ASCII representations of my system's CPU & motherboard architectures.
10
votes
2answers
34k views

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?
0
votes
1answer
726 views

Is the ELF format bound to a CPU architecture or not? [closed]

If you go through wikipedia it states that "ELF is flexible and extensible by design, and it is not bound to any particular processor or architecture." Then why are there so many packages like ...
1
vote
0answers
364 views

Differences between Chromium OS overlays?

In the ChromiumOS source, there are currently the following build overlays offered: overlay-amd64-corei7 overlay-amd64-drm overlay-amd64-generic overlay-amd64-host overlay-arm-generic overlay-...
0
votes
1answer
84 views

Debian package available for ia64 but not for x86_64?

I want to download aptitude to build it from source on my 64bit machine. It is a Thinkpad with a normal x86_64 CPU, nothing special. The download page only has: alpha amd64 armel armhf hppa hurd-...
26
votes
5answers
25k views

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 -...
2
votes
1answer
663 views

debootstrap from Intel Atom (i686) to AMD Sempron (AMD 64)

I'm working on setting up a minimal Debian install on a USB stick, and am just trying to wrap my head around debootstrap and differences in architectures. I want to create a system to run on AMD64 (...
4
votes
3answers
3k views

default wordsize in UNIX/Linux

I was inspecting the preprocessed output of my C program and happened to look at the header file wordsize.h It is located in /usr/include/i386-linux-gnu/bits/wordsize.h the file contains only one ...
2
votes
7answers
1k views

Determining Linux architecture from files

I have a system with an unrecoverable /usr partition. Terrified the drives are going bad, I've got it booted into a LiveCD environment, and I can't remember what the install architecture was, the ...
6
votes
2answers
11k views

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 ...
4
votes
1answer
2k views

Huge page and performance improvemnt

How can using huge page improve performance? I have read that huge pages improve performance by reducing TLB lookups and reducing the size of the page table. Can someone tell me how this helps with ...
2
votes
1answer
5k views

Can one install an armel Ubuntu package on armhf Ubuntu system?

My particular concern is about installing "coq" in Ubuntu 12.04 for Toshiba AC100 (armhf distro), which hasn't been built successfully for armhf, but is available for armel -- https://answers....
13
votes
3answers
4k views

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 ...