Questions tagged [cpu]

The CPU (Central Processing Unit), is the chip in the computer that actually performs the operations and calculations that are done as a program runs. It is essentially what executes a program.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

systemd-journal is using 100% cpu

This is the result of top command I caught it at 99.7% but It even uses 170%. this is the output of journalctl I thought it is something related to Bluetooth, so I turned it off but still got the ...
  • 227
1 vote
0 answers
23 views

QEMU emulating two CPU archs

As I know, x86_64 Linuxes are capable of running x86 programs. I wonder if it would be possible to emulate it using QEMU. I am using proot and hoping to proot into such said system.
  • 25
0 votes
1 answer
28 views

Computer feels laggy running Linux but okay with Windows 10 don't know why?

Processor: AMD A8-6600K APU with Radeon(tm) HD Graphics 3.90 GHz Installed RAM: 8.00 GB (7.20 GB usable) System type: 64-bit operating system, x64-based processor Pen and touch: No pen or touch input ...
0 votes
0 answers
25 views

Nowaday's Thrashing handling mechanism

I am aiming to research new ways to better handle Thrashing on Linux systems, and I am having a hard time finding what the most recent state-of-the-art is. I desire to gain a good knowledge base on ...
0 votes
1 answer
22 views

HP DL380 Gen7 - Debian 11 - lscpu doesn't show the right number of CPUs/cores

I'm actually trying to figure out a strange Debian output about my system. I recently purchased a HP DL380 gen7 with 2 CPUs (xeon X5690) and 6 cores / 12 threads per CPU. But, while doing lscpu it ...
0 votes
2 answers
80 views

how to know if we need more CPU cores on our Linux server

we have the following Linux red-hat VM servers details , ( each server include application that runs under docker containers ) Linux redhat version - 7.6 number of CPU cores - 16 and we are suspect ...
  • 11.4k
-2 votes
2 answers
77 views

Using the command "sudo chrt -r 99" for a video encoding benchmark I always get bigger (worse) times

I am using a video encoding benchmarking application. The strange thing to me is that when I am using the command sudo chrt -r 99 VideoEncoding cfg I always get bigger time (worse results) instead of ...
  • 107
0 votes
1 answer
76 views

Linux has about 50% usage on idle

I have an embedded machine running Linux Arch, and it is always on 50% usage (4 cores 800mhz) running basically nothing except for one odd thing. how can i eliminate it or reduce this idle load. htop ...
0 votes
0 answers
63 views

Manjaro linux(Arch) "Power throttling", CPU won't use all available power, weird CPU usage readings and stutter in all games

My laptop acer swift 3 314-43, with 5500u and 16gb RAM, Manjaro(full specs below) have performance issues in games and some weird readings about CPU usage. All games are stuttering, even with 80fps it ...
0 votes
1 answer
47 views

Debian 11 - How can i lower the load on my server?

I'm currently running a Debian 11 with a load average of 4. I want to lower this load - But i don't really know where to start, like a first step on at least the analisis part... It's a Docker Server, ...
0 votes
1 answer
50 views

sleep in Bash if/else sleep vs <condition> && sleep clamining cpu

I wrote a script to check on the battery and if it is below 5% notify the user. The script is put to sleep for 1 minute after every check. If I write the script in the following way, the cpu workload ...
  • 33
0 votes
1 answer
73 views

JAVA OPTS Xms Xmx MetaspaceSize MaxMetaspaceSize relationship with server resources

I have just started working with jboss application servers and recently we had a problem when trying to deploy an application in a new test server (RHEL 7), it happened that, when starting the jboss ...
0 votes
0 answers
36 views

Why does `hwloc-ls` (lstopo) not show my USB and Audio card?

The hwloc-ls command shows hardware assignments by socket. Note that I have a audio card at 84:04 and a USB3 card on 02:00 but hwloc-ls isn't showing me those cards. It only shows VGA, SATA, and SAS ...
  • 231
1 vote
0 answers
47 views

Task takes 15 minutes with one processor and 20 minutes with two processors

This is the command, run at the root of an NTFS partition from a Debian 12 VM (VirtualBox) $ (find . -type f -exec cat {} \;) | pv | wc -c I was trying to check that all files are readable. It's a ...
  • 365
10 votes
3 answers
3k views

CPU overheats and PC shuts down when swap is full

This doesn't necessarily have to be a Linux problem but I'll ask it here anyway. I'm using a workstation mainly for training deep learning and machine learning models. I run training codes on both CPU ...
-1 votes
3 answers
28 views

Doubts regarding ARM CPU servers

I do not know if this question is in the right spot... I have been using RaspberryPies for the lasts years and I was wondering questions about ARM CPUs in general, so I would like to know more about ...
  • 382
0 votes
1 answer
72 views

Mention the CPU Family type in config to build Linux Kernel for a particular CPU architecture?

I am trying to build Linux Kernel 5.18.5 downloaded from kernel.org for a Intel Xeon IceLake CPU. My build machine is an Ubuntu machine on Intel i7 processor . Is there a CONFIG change needed in the ....
  • 177
-1 votes
2 answers
322 views

Is there a simple way to run multiple instances of the same C++ program on Linux?

I have a C++ program I'd like to run in parallel on a Linux machine, with each instance being a completely independent process that doesn't communicate with the others. Is there a straightforward way ...
  • 1
0 votes
0 answers
629 views

How to run ARM Android apps smoothly in x86 Unix-like OS?

I also mean AMD64, x86_64 and i386 PCs by saying x86. Many common apps only support Android and iOS. That may cause inconvenience to Linux users. I wonder if there is any way to run ARM Android apps ...
's user avatar
1 vote
1 answer
181 views

How to load CPU microcode in Debian?

How do you do that, e.g. for microcode_amd_fam15h.bin? What is in /lib/firmware/amd-ucode?
0 votes
1 answer
28 views

Which kernel version has the TDX (Trust Domain Extensions) feature supported?

I would like to know about the kernel version having the TDX (Trust Domain Extensions) feature supported?
  • 177
2 votes
0 answers
84 views

Is there a portable way to get the processor type from a shell script?

With GNU coreutils, uname --processor or uname -p displays the processor type. For example, x86_64. However, the --processor and -p options are not specified by POSIX. Is there a portable way to get ...
  • 2,124
0 votes
2 answers
56 views

How to fix CVE-2018-364 vulnerability

I have found a log in my /log/messages showing a CVE-2018-3646 error with the following link, (https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html). I have accessed the mentioned file-...
  • 1
1 vote
0 answers
39 views

How to determine cause of poor CPU performance - AMD 75F3?

I have 2 identical machines with pretty identical configurations, however one machine is performing much worse than the other. After some digging it appears the CPUs on one machine is simply slower ...
  • 23
0 votes
0 answers
158 views

Intel RAPL default power limits are too low

I am running Arch Linux with kernel 5.17.4-arch1-1 on Asus Zenbook 14 UX435EG Laptop. Specs: CPU: 11th Gen Intel Core i7 1165G7 (4 cores, 8 threads, TDP-down: 12W @ 1.20 Ghz, TDP-up: 28W @ 2.80 Ghz, ...
1 vote
1 answer
50 views

Forgot how to boot linux when one CPU is dead

A computer has one CPU dead, and I found a while ago a solution to boot it using the other CPU by adding a simple flag in the linux line configured by GRUB. Without this option, the OS ubuntu 14.04 ...
  • 2,326
0 votes
0 answers
339 views

Why htop shows that total % CPU usage of processes is more than 400% on a 4 core/4 thread system?

I'm running some intensive tasks on my Linux (Manjaro) server and the CPU is at 100% of all its cores, but I saw that the percentages of CPU use per process sum to a much higher number than 400% on my ...
  • 1
0 votes
1 answer
170 views

cpu is overheating when working on linux mint

I don't think that I'm doing anything could affect my CPU temperature but it's shown that the temperature is high and my laptop is actually overheating, and is lagging when I'm working on Linux Mint. ...
0 votes
1 answer
150 views

Changing CPU affinity on they fly has no result

so I am creating my own script to set priority and cpu affinity for important processes on my system, and I tried using taskset command, but it seems to do nothing. Here's sample: import psutil import ...
0 votes
0 answers
30 views

What does 2 digit number which is shown for the line connecting IO device to NUMA node in lstopo represent?

I have taken a lstopo capture of the system using this command lstopo --output-format png -v > cpu_io.png. Below is the output of cpu_io.png This will list the basic IO devices connected to the ...
0 votes
0 answers
21 views

is there a cli like : `cpu-cli app.sh`?

is there a cli that get the avg of CPU usage launching like usual cli tool like $ time app.sh without avoiding the forked process $ cpu app.sh avg 22.2% CPU usage max 55.5% CPU usage min 11.1% CPU ...
  • 116
0 votes
0 answers
68 views

Gnome Boxes Processor Count

VMWare Workstation 16 allows me to choose how many processors the VM may use. Does Gnome Boxes have this same option? I am unable to find it.
1 vote
3 answers
69 views

Does my microcode need to be updated?

Does anyone know if everything is okay with my microcode? What does it mean when it says ''MDS: Vulnerable: Clear CPU buffers attempted, no microcode''? Is something wrong?
  • 19
0 votes
0 answers
93 views

What is eating up my CPU?

I am facing a difficult situation. 100% CPU but I cannot see a singular process using much in top or htop. I run this command: :~$ ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 %CPU PID USER ...
  • 407
0 votes
0 answers
73 views

Scheduling difference manual execution vs Slurm srun/sbatch

tl;dr A CPU intensive workload ignores the nice values of other processes only when started via Slurm sbatch/srun (not when manually started). I am running a systemd service which periodically gathers ...
1 vote
1 answer
873 views

How to get overall CPU usage (e.g. 57%) on Linux

I am wondering how you can get the system CPU usage and present it in percent using bash, for example. Sample output: 57% In case there is more than one core, it would be nice if an average ...
0 votes
1 answer
360 views

How to calculate CPU utilization for an application in a multicore system

On 8-core server, 0-3 are configured as isolcpus and remaining cores (4-7) are available for system and user processes to run. My application has multiple processes which will run on any one of the ...
  • 126
0 votes
2 answers
217 views

How to find the number of jobs (created by gnu parallel) running in each CPU core at any given time?

I'm using gnu parallel that reads a text file containing curl commands. If I do ps -ef | grep -cw [c]url it shows total number of curl process at a moment. But I want to know number of gnu parallel ...
  • 119
0 votes
1 answer
108 views

Can't modify Turbo Ratio Limits

After installing msrtools, booting kernel with msr.allow_writes=on, loading the module using modprobe msr and setting MSR_PLATFORM_INFO (0x0ce) bit 28 to 1 I cannot modify MSR_TURBO_RATIO_LIMIT (0x1ad)...
0 votes
0 answers
190 views

Interpreting variations in LOCal timer interrupts number

Running a given workload in different CPU isolation (IRQs & processes) configurations, I do not observe significant differences among values (grand total) reported in /proc/interrupts & /proc/...
  • 3,899
0 votes
2 answers
184 views

What PSI cpu full means?

I've found two articles about PSI, and both of them say that cpu has only "some" metric. atop shows only "cpu some" too. But my system has "cpu full" metric: $ cat /proc/...
  • 101
0 votes
0 answers
20 views

ftrace cpu_idle state 0 and -1

I have read in here that when using ftrace and we get a cpu_idle line like: <idle>-0 (-----) [000] .n.1 4536.120761: cpu_idle: state=4294967295 cpu_id=0 this means that the CPU goes back ...
  • 1
0 votes
1 answer
174 views

How to Choose Between Real-Time, Low-Latency and Normal Kernels on Startup?

For instance, I know it's possible to easily install several desktop interfaces and choose what session to log into on startup. Is this type of thing possible for choosing between kernels? I would ...
  • 11
0 votes
1 answer
190 views

CPU LOAD AVRG + how to deal process with D state

we can see from our RHEL 7.6 server ( kernel version - 3.10.0-957.el7.x86_64 ) that following process are with D state ( they runs from HDFS user ) Note - D state code means that process is in ...
  • 11.4k
-1 votes
2 answers
167 views

CPU usage never 100%

I'm encoding video in 6 instances of Handbrake, but CPU usage is never above 85%. Why is this/how do I diagnose the issue?
0 votes
0 answers
42 views

CPUTSET - Erro the create CPU isolate failed to create shield, hint: do other cpusets exist

i'm try using cpuset version 1.6. But I was try init shield show this error: "failed to create shield, hint: do other cpusets exist?" I'm was Investigate in code, found this section where ...
1 vote
0 answers
361 views

why docker container consume huge CPU load average

I want to discuss about strange behavior on our rhel 7.6 server We installed Kafka exporter with container on the server – kafka-01 machine ( total CPU on machine are 12 ) The following yml file ...
  • 11.4k
2 votes
1 answer
136 views

Get memory/cpu usage by application

What I need I want to monitor system resources (namely memory and cpu usage) by application - not just by process. Just as the Windows Task Manager is grouping resources by the "calling mother ...
0 votes
0 answers
92 views

Why does my Laptop CPU throttles itself until I pull and reinsert Power Cable?

my Laptop (HP Envy x360) with an AMD Ryzen 5 2500U is at a stable ~2,4 GHz when under load but after some time it always drops to 1,2 GHz and won't go up even though plugged in, 100% Battery charge ...
0 votes
0 answers
174 views

A process is running and I cannot find what is it and cannot kill that!

I've found a bash process in my Ubuntu server that is consuming all of my CPU I've try to kill this process by kill -9 and after kill the process run automatically How can find what is this process ...

1
2 3 4 5
16