Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
28 views

Disable any number of CPU cores between 1-n (where n is maximum available cores) [duplicate]

Is there any way to tune processor cores to use fixed number of cores in range of 1-n (n is the maximum number of available cores) on Ubuntu 16.04? My processor is Intel i7-7500U processor with 4 ...
0
votes
1answer
35 views

How to configure rpmbuild to forbid installing 32 bit package in 64 bit systems?

I'm packaging software in RPM and distributing it in different packages by architecture (32bit or 64bit). Some libraries of my 32bit package have binaries that cannot be executed in 64bit systems (...
1
vote
0answers
14 views

What microarchitecture are packages on apt/yum typically built/tuned for?

I'm just learning a bit about lower-level languages and I've noticed that gcc you can specify -march and -mtune parameters to optimise the software for particular CPU families. But I've also found ...
1
vote
1answer
29 views

running a program in parallel with multiple threads

Say I want to run a parallelize a program to process a bunch of files, and this program accepts a -t option to increase the number of threads used. The machine I am using has the following specs from ...
0
votes
0answers
39 views

What is the deference between `arch` and `/etc/yum/vars/arch` at docker container?

I use docker container on CentOS7 x86_64. Docker container depends on the host system. bash $ arch x86_64 The arch command shows the above host arch in the container. I want to use the container ...
2
votes
1answer
150 views

What are the possible options for the --arch option in debootstrap?

I need to set the arch option in debootstrap. So I did some research and read the manual. After reading the manual I see that the section on the options simply says --arch=ARCH Implying that I ...
1
vote
1answer
284 views

Why do Linux world use the term i386 instead of x86?

I see the term i386 instead of x86 in many places related to Linux. As of my knowledge, they are not interchangeable. x86 is a family of instruction set architectures where i386 is a specific one of ...
0
votes
2answers
87 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
300 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 ...
1
vote
1answer
146 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 (...
1
vote
1answer
93 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
226 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 ...
3
votes
2answers
3k 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
72 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 ...
1
vote
2answers
828 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
76 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
106 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
1k 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
9k 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
536 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
10k 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
512 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
735 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 ...
26
votes
3answers
19k 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
1k 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
467 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
926 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
939 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
482 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 ...
19
votes
1answer
21k 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
913 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
2k 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 ...
32
votes
3answers
52k 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
164 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
14k 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
687 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
36k 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
782 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
377 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
86 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-...
28
votes
5answers
27k 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
680 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 ...