Skip to main content

Questions tagged [cpu-usage]

The tag has no usage guidance.

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

High CPU Usage and lag in LinuxMint: performance Issues and Solutions

I open some programs (maybe limited to games, or maybe the problem lies deeper) on my Linux Mint, and when I check their status using the top command in the terminal, I see that they completely use 3 ...
Erfan's user avatar
  • 1
0 votes
0 answers
27 views

Mathoverflow page using a lot of CPU

Opening the following page on my browser rises my CPU temperature to over 85ºC (and continues that way as long as the page is open): https://mathoverflow.net/questions/382270/reflection-principle-vs-...
Carla_'s user avatar
  • 109
0 votes
0 answers
30 views

MySQL Server keeps hitting 100% CPU

My server has 800+ days uptime, but ever since a couple weeks the MySQL server keeps hitting 100% CPU and I have to restart the mysqld service. Where do I start to find out where this issue is coming ...
Z0q's user avatar
  • 571
1 vote
0 answers
84 views

CPU cores at 100% despite very few processes using the CPU

On my system htop is constantly showing 100% load on four out of the eight logical cores on my system (system specs below). The issue is that it's a freshly installed Ubuntu Server 22.04 and there are ...
pete's user avatar
  • 11
0 votes
1 answer
148 views

How to *actually* limit CPU usage for Hashcat

I’d rather not fry the living crap out of my CPU. The hashcat program uses a lot of CPU and GPU. I know, the simple solutions people recommend online, such as using tools to limit cpu usage, such as ...
security_paranoid's user avatar
0 votes
1 answer
51 views

how to check cpu utilization historically

For the last 2 days I have a 30% higher cpu usage between 21:00 - 21:15 o'oclock on my redhat 8 server. I have an Oracle database on this server. Is there anyway to check cpu utilization historically? ...
TimLer's user avatar
  • 101
0 votes
0 answers
211 views

Device keeps crashing with 100% CPU usage

From time to time my Laptop freezes and is unusable with 100% CPU usage on at least 1 core. I left btop open but the freeze seemed to be happening too quick as the process with the highest processor ...
Displayname's user avatar
0 votes
1 answer
130 views

The 8 CPU of Core 0 at 100% us. Don't understand why

Need help as i don't understand why the 8 CPU of Core 0 run at 100% us. 8 others Cpu on core 1 are normal. The rigth column P on figure correspond to "Last Used CPU" order by Cpu asc. Thank'...
xspe's user avatar
  • 1
0 votes
0 answers
33 views

List processes by cpu system time

I have a Node exporter up and running on my server, on my dashboard I see that my CPU time is mostly (+40%) spent in system mode which is not normal. How can I list processes sorting them by CPU ...
GlinesMome's user avatar
0 votes
0 answers
18 views

Docking station activity light constantly on

I just bought a new 10tb internal hard disk, which I connect to my pc, by running a usb cable to an external docking station. For some reason, the docking station's activity light is constantly ...
user2661923's user avatar
0 votes
1 answer
34 views

getting %CPU value from top for all cores in a system

I have a 4 socket server having 24 core cpu's. 96 cores total. How can I, in RHEL 7/8 Linux, get the value that is %CPU as shown by top for every core in the system? I plan on writing C code that ...
ron's user avatar
  • 7,239
0 votes
0 answers
30 views

wine high cpu usage in red alert 2

I searched many places but I couldn't find where to ask this question. Wine forums has tons of unanswered similar questions. I am playing RedAlert2 with Wine under Ubuntu22.04. Here is my system info: ...
Sertac TULLUK's user avatar
1 vote
0 answers
93 views

htop always show one cpu usage full [closed]

I have a server with two cpus (24 core * 2), recently, I noted that htop always report one cpu is fully usage But I cant find any threads with highly cpu usage by htop, top or ps -ef I have tried: ...
zhang's user avatar
  • 133
0 votes
1 answer
117 views

Is the information read in /proc/*pid*/stat updated by a timer interrupt?

As documented in https://www.kernel.org/doc/Documentation/cpu-load.txt the information in the pseudo file /proc/stat is updated by a timer interrupt, which means that /proc/stat may not give a ...
POtaoPereiraRosen's user avatar
0 votes
0 answers
62 views

Why is it possible that the combined processes CPU usage is higher than the total CPU usage, as reported by top? [duplicate]

When I check top, with a delay of 0.5 seconds, sometimes the total CPU state percentage is lower than the sum of the CPU usage of individual processes. Here is an example, where that is observed: top -...
POtaoPereiraRosen's user avatar
0 votes
0 answers
240 views

Calculating the CPU-utilization given a round-robin scheduler with 1 ms time quantum, CPU-bound and I/O-bound tasks, and a context-switch time penalty

Consider a system running ten I/O-bound tasks and one CPU-bound task. Assume that the I/O-bound tasks issue an I/O operation once for every millisecond of CPU computing and that each I/O operation ...
NoName123's user avatar
  • 101
0 votes
1 answer
31 views

Gather CPU utilisation or different workloads

I am trying to figure out for different workloads (CPU intensive, high DB IOPs etc), which compute series of cloud VM would be ideal. In order to do that I need to be able to get the CPU utilisation. ...
user14013917's user avatar
0 votes
0 answers
69 views

Per-user cumulative CPU time across reboots

I have installed the process accounting package (acct) and recorded data. Using sa --print-seconds --user-summary | grep "$USER", I get the process account summary for my user: wjwrpoyob ...
wjwrpoyob's user avatar
  • 438
1 vote
2 answers
226 views

per-command cumulative CPU time statistics

I'm running a system off of a battery, so I care a lot about cumulative CPU time usage. A process that runs for a long time accumulates a lot of CPU time in top compared to a process that runs and ...
enigmaticPhysicist's user avatar
0 votes
0 answers
86 views

Cumulative CPU time across reboots

How can I record and view cumulative CPU time on system across reboots? Essentially, it should be like the TIME+ column of top, but not per process. In other words, like vnstat, but for CPU time. I am ...
wjwrpoyob's user avatar
  • 438
2 votes
0 answers
506 views

Htop shows half cores at 100% cpu usage after power on, but no processes are runing

I am using an Ubuntu 20.04 server, but it starts up with 50% CPU use without any process running. I tried many ways such as rebooting and upgrading OS, including this, but in vain. can anyone help me ...
holder fo's user avatar
0 votes
1 answer
176 views

Limit CPU usage of background process if system is busy

At the moment I do the following: When I see that the system load of my Ubuntu server is high, I get the PIDs of specific currently running background processes and start cpulimit with the PID. When ...
Jomo's user avatar
  • 1
1 vote
0 answers
126 views

CPUIdle: what could be the reason for a core refusing entering the C6 state though the kernel requests so?

I'm trying to measure the time that a core spent in each c-state during a workload run and found a weird phenomenon: the kernel requests a core to enter C6, but the hardware only stays in C1. The ...
stunly45711's user avatar
0 votes
0 answers
128 views

CPU spikes to 30% when watching any kind of videos in exodia os (arch distro)

Recently i switched from windows to Linux. I've been trying a lot of distros, but my choice fell on exodia (arch distro based on bspwm). I find it really useful for me as someone who is into ...
Tom Ederson's user avatar
0 votes
0 answers
715 views

RHEL8 systemd using a lot of CPU, load on system when doing nothing is very high

I've been trying to determine the source of high load on a system, top: top - 09:55:12 up 1 day, 11:48, 4 users, load average: 7.64, 6.52, 6.33 Tasks: 279 total, 2 running, 276 sleeping, 0 ...
J. B. 's user avatar
0 votes
0 answers
357 views

How do I calculate current CPU consumption of Processes in Linux (To get value as from TOP command) from /PROC/

I have a problem with calculating process CPU load in Linux. I have a bash script which is getting all the information about Linux processes from /PROC/PID/STAT during time period of 30s. I am also ...
Jakub Hořínek's user avatar
0 votes
0 answers
58 views

Does `top` account for all CPU usage?

Does the linux top command account for all CPU time used by the system? I'm trying to understand bottlenecks for IPsec processing on a linux system. In a particular case in point, the system is a VM ...
Jeff Learman's user avatar
1 vote
0 answers
250 views

Dynamically adjust process CPU quota

In Linux is there a way to dynamically adjust the CPU quota for a process, from outside the process, while is running? For example, I run a process with no limit. Then, while it is running, I manually ...
Aaron Thomas's user avatar
0 votes
0 answers
41 views

Calculate total CPU usage

I have following specs: CPU(s): 2 Thread(s) per core: 2 Core(s) per socket: 1 Socket(s): 1 A process is using (according in top) 50%. How much is the total usage? Is ...
N. J's user avatar
  • 177
1 vote
0 answers
317 views

Taking CPU cores offline while under load makes them unable to unload?

I have an AMD Ryzen 5 5625 U CPU with 6 physical cores and 12 SMP cores. I'm running Zorin Core OS 16.2r-1. I've been testing ways of saving more power on a laptop. Ultimately I'd like to be able to ...
pynewbie's user avatar
1 vote
0 answers
4k views

kcs-evdefer and kworker suddenly appeared and consumed high CPU usage

This process (kcs-evdefer/[0-3] and kworker) suddenly appeared and consumed high CPU What services is that? and how to manage it? Thank you
Yudha Restu's user avatar
0 votes
0 answers
46 views

VirtualBox hogs CPU after host wake, fans roar

Run overnight crashes Windows, sleep overnight cranks VirtualBox %CPU on wake. Either way I must reboot every morning instead of once or twice a year. Windows 11 Home 22H2 Virtual Box 7.0.4-r154605 ...
Devon's user avatar
  • 131
0 votes
1 answer
339 views

How is nice/renice supposed to work? Am I misunderstanding?

I run two extremely CPU-heavy (but not memory or I/O heavy) task on my Macbook Pro with 12 cores. This made the computer unusable for other tasks. I therefore reniced these processes to 20 and set ...
d-b's user avatar
  • 1,937
0 votes
1 answer
331 views

clamscan and cpulimit together runs multiple clamscan processes in ubuntu 18 and 20

I have installed clamav and cpulimit. I want to clamscan all directories in /home which are not owned by root 1 by 1 with a cpu limit of 70%. I use the below command to do that in centos and almalinux:...
jay's user avatar
  • 31
0 votes
0 answers
346 views

Is it safe to kill the /usr/libexec processes?

I am running Ubuntu 22.04 and the laptop fans are not happy. I am just running 1 firefox window with YouTube in 1 tab, and a couple static pages in the others. No other applications are running. Specs ...
FatPanda01's user avatar
0 votes
0 answers
153 views

Debian server with high cpu usage

I have a map server with Geoserver on a Debian in which I have OpenJDK 8, Tomcat 9 and Elasticsearch installed but from time to time this server hangs due to excessive use of CPU. I have reviewed the ...
Javier Aguilar's user avatar
1 vote
1 answer
9k views

Difference between the %CPU usage and load average, and when should it be a concern?

I've searched multiple answers here but couldn't find an answer that is related to this scenario, but if you think you do, kindly point me to it. I am including the numbers here for the ease of my own ...
init's user avatar
  • 111
0 votes
1 answer
49 views

Kythe code indexing processes being throttled despite normal CPU temperature

I'm running into an issue with CPU throttling that only seems to trigger under a specific workload of running the Kythe indexer. Detailed repro steps at the end of the question. I'm going to give a ...
typesanitizer's user avatar
2 votes
1 answer
439 views

A realtime priority application is consuming all of CPU

I am running PopOs 22.04 on my dell laptop [amd64, intel i3, 4GB ram]. The booting was taking so much time, so I run sudo dmesg in terminal and it shows error: rcu: INFO: rcu_preempt detected ...
Pravesh Kumar Sharma's user avatar
0 votes
2 answers
80 views

Is there an equivalent of procs_running for threads?

For right sizing Linux hosts, it's important to know the backlog of things that are pending. procs_running (particularly when divided by the number of cores) is a good indicator of process backlog, ...
Michael Martinez's user avatar
2 votes
2 answers
542 views

How can the time command compute one millisecond from 4 ms timer ticks?

From the bash time command on different stock Ubuntu systems (both real hardware and VMs) all with CONFIG_HZ=250, I'm sometimes getting real 0m0.001s, user 0m0.001s or sys 0m0.001s as well ...
Juergen's user avatar
  • 722
0 votes
2 answers
859 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 ...
yael's user avatar
  • 13.4k
0 votes
1 answer
311 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 ...
Muhannad Alghamdi's user avatar
1 vote
1 answer
1k views

How to get more details on irq process in top?

I have irq/21-xhci-hcd displayed as the process consuming 90% CPU on top. There was also a lot of CPU time spent on servicing software interrupts (si). This is on embedded Linux. Does this mean that ...
ruben2020's user avatar
  • 185
0 votes
3 answers
845 views

kworker hogging CPU but I don't know why

I'm working on a custom headless Linux system running debian Buster on an ARM processor. Linux kernel 5.10.72 But recently I saw this when looking at my CPU usage: I believe brcmf is related to the ...
owndampu's user avatar
0 votes
1 answer
231 views

Spawn workers to use up nearly all available CPU

Say I have a CLI app that I want to do some work (e.g. process some media files). When I run one instance of the app it takes say 20% CPU. The rest 80% is idle. I want some sort of process manager ...
Greendrake's user avatar
1 vote
0 answers
253 views

CPU Usage based on eBPF profiling

I am relatively new to the concept of eBPF and have, so far, been working with the BCC library. I've found the profile.py tool, alongside with FlameGraphs, to be really helpful when monitoring a ...
user529737's user avatar
0 votes
1 answer
1k views

Modprobe taking 100% CPU after kernel update

I'm running Fedora 36 workstation I did a dnf update and rebooted and now when I login modprobe takes 100% of my CPU, I couldn't investigate much further since my computer is thus unusable, opening a ...
A_helpless_student's user avatar
0 votes
1 answer
655 views

perf top not working as expected

I'm completely confused about the output of perf top I'm running a C program called sac2, which burns an entire CPU. Specifically it iterates through a 100 billion byte array adding all the bytes as ...
rkg1's user avatar
  • 15
1 vote
1 answer
902 views

How to simulate +%100 CPU Usage for 1 process?

OS: CentOS 7.9 I want to simulate/create 1 process for test purposes, such that top reports it consuming more than %100 CPU. Something looks like below in ps output; USER PID %CPU ...
Firat Yilmaz's user avatar

1
2 3 4 5 6