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
1answer
12 views

No crit high low returned by sensors - is this normal?

I assembled a brand new Ryzen-based workstation. The temperature sensors returned by sensors seems to be working fine, but those of the CPU do not specify low, crit, and high thresholds. > sensors ...
1
vote
1answer
36 views

Listing CPU Cores For Multiple CPU Packages

I need to get CPU cores and details per CPU core. I use cat /proc/cpuinfo command an it works. But I need to get information for multiple CPU packages. I have only single CPU package. How would the ...
0
votes
1answer
17 views

lm-sensors meaning of output

What does this mean, what is hyst? "hyst = -273.1°C" $ sensors k10temp-pci-00c3 Adapter: PCI adapter Tctl: +45.0°C Tdie: +45.0°C Tccd1: +45.2°C nvme-pci-0100 ...
1
vote
1answer
28 views

How to stop Ubuntu processes to stop fan from making noise?

I am using an UBUNTU OS on my ASUS G75VW machine but the fan noise is not pleasant at all. It affects my meetings and kills my quietness: I'd like an advice on how to stop this probably by killing ...
0
votes
1answer
22 views

lm_sensors not reporting individual core temps on AM4/B450

This is the output from sensors on my machine, Ryzen 5 3600X on a Biostar B450MH: amdgpu-pci-0a00 Adapter: PCI adapter vddgfx: 725.00 mV fan1: 0 RPM (min = 0 RPM, max = 3630 RPM) ...
0
votes
1answer
19 views

Cannot set CPU frequency

I‘m trying to set my CPU max frequency to the max value supplied by scaling_available_frequencies, but it looks like the kernel is simply ignoring me. My kernel: # uname -a Linux valfenda 5.10.32-...
0
votes
0answers
24 views

BUG:BUG: unable to handle kernel NULL pointer dereference at 0000000000000040, inside a kernel module

I am trying to reproduce a microarchitectural attack on SGX enclave described here. while doing so in one of the ioctl command (CACHEZOOM_IOCTL_TEST) I get the BUG: ble to handle kernel NULL pointer ...
0
votes
1answer
32 views

Why is “/usr/lib/upower/upowerd” consuming 100% cpu causing freezes for seconds, frequently

I'm running Ubuntu 20.04 on my laptop and today it suddenly started freezing up frequently for seconds on end. When I check the running processes it seems that a process called "upowerd" is ...
0
votes
0answers
19 views

How does linux use threads as scheduling units

I just read some articles about the difference between processes and threads. The process is the smallest unit for allocating resources, and the thread is the smallest unit for scheduling. In other ...
0
votes
1answer
19 views

A broken Asus P9X79 motherboard with an i7-3820 processor will be changed for a Ryzen 9 5950X and a compliant motherboard. Will Debian 10 restart?

My eight years old computer has a broken Asus P9X79 motherboard with an i7-3820 processor on it. Memory slots and USB ports are defectives : sometimes they make it hangs or prevent starting. I am ...
0
votes
1answer
16 views

in what situations will ni% in top is not 0

I learnt that ni represents the cpu used for userspace processes whose niceness or priority value is changed, but in my system, which is CentOS Linux release 7.9.2009 (Core), I did below test, all the ...
0
votes
1answer
27 views

Why does lspci show intel 8th gen when I am using i7-9850H cpu?

OS: Debian 10 $ cat /proc/cpuinfo model name : Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz $ lspci 00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 0d)...
0
votes
0answers
29 views

My CPU supports “turbo” clock boosting, but CPUPower says it doesn't; who's right?

I recently bought a new CPU (AMD Ryzen 3 2200G) which supports a "Boost Clock", however when I run cpupower frequency-info I get: boost state support: Supported: no Active: no Boost ...
1
vote
1answer
25 views

Does command line arguments and File I/O operation consume CPU Time potentially?

According to the definition of the CPU Time: CPU time (or CPU Execution time) is the time between the start and the end of execution of a given program. This time accounts for the time CPU is ...
0
votes
0answers
19 views

Infer total CPU utilisation from 'TOP' command

Unix exposes the Unix 'top' binary. This can be called from the terminal to display various system statistics such as CPU, memory and disk utilisation. My understanding is that CPU figures returned ...
0
votes
1answer
36 views

Poor CPU Frequency on HP Laptop running Kubuntu

After using Windows my hole life, i wanted to try a new operating system. I settled on Kubuntu since I liked the design and the easy usability of Ubuntu from a newbie perspective. While using it for ...
0
votes
0answers
13 views

Can I isolate/de-isolate CPU core dynamically in runtime without reboot?

Can I isolate and de-isolate CPU core dynamically in runtime without reboot(like isolcpus)? I want to change vCPU pinning of virtual machine, which is executing, using virsh vcpupin --live command, ...
1
vote
3answers
63 views

Are my Linux servers being down-clocked?

TLDR; I am an junior level Linux user. Are my Linux boxes down-clocking themselves? is that a thing? If so how to I find out? I am working with a bunch of Debian Linux servers in a datacenter and we ...
0
votes
1answer
45 views

Need to reduce High load [closed]

I'm using CentosOS VPS, Nginx & Varnish & Apache and I have problem with high load, only if many people visit website in same time. Website which cause a problem (user: livetvk+), have many ...
2
votes
1answer
57 views

rhel + how to disable CPU's on my machine

We have physical Linux machine with 16 cpus lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 16 We want to disable ...
1
vote
3answers
67 views

How to assign process to work on partial CPU's? [duplicate]

We want to run our applications ( process ) only on the first 6 CPUs. We have a RHEL machine. We have physical DELL machine with total 12 cores (from lscpu) Is it possible to assign the process to ...
1
vote
2answers
47 views

Is releasing memory pages by a process possible in principle?

Disclaimer: I do have a diploma in CS but this topic was never explicitly explained to me. I am just stiching pieces of what I know into a whole. Please correct me if I get something wrong. Suppose ...
2
votes
2answers
32 views

Is it possible to not let a process run at 100% processor capacity using nice or other command?

If it is a cryptocoin mining program called minerd, can the command nice -n -20 ./minerd ... make the program run at the lowest priority? But can it let it run at 80% or 50% of the processor's full ...
-1
votes
1answer
55 views

Computer froze and unable to restart for tens of minutes : can my syslog show if the trouble comes from a memory stick, a package or its power unit?

I encounter a bug that made my computer, under Debian 10, crash two times in ten days, and being unable to restart for ten minutes to half an hour. Today during an Eclipse session, before while ...
0
votes
1answer
70 views

Why is my laptop getting high CPU load, when playing videos or discord screen sharing?

It doesn't happen always, when playing 1080p videos from FreeTube. Sometimes, it even happens when watching 240p videos (but it takes more time to happen). Although, it always happens when watching to ...
4
votes
2answers
77 views

Set ALL cpu cores to PERFORMANCE permanently

There seems to have been some (stupid) change to the Linux kernel, where the CPU are stymied to a low power setting. running cpufreq-info I get: The governor "ondemand" may decide which ...
0
votes
0answers
15 views

What is the maximum idle cpu wakeup time tolerated by socket clients?

1 Summary An application process main thread is running an endless loop waiting for client requests over socket and sleeping in between. (This is comparable to an idle cpu waiting for a wake-up irq.) ...
2
votes
2answers
535 views

Intel CPU CONSTANTLY Throttled to Lowest Frequency - Ubuntu 20.04

I am at my wits end here and could use some additional input. Long story short (more detail below), my system keeps throttling the CPU speed and I am unable to recover until I am able to unplug the ...
11
votes
4answers
3k views

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

C-std headers containing helper functions for system, user and kernel times?

Basically, I am working with Nvidia's new github repos and trying to compile them in a cross-platform setup. Specifically, I am trying to compile them on Fedora 33. I have run into an issue: In file ...
1
vote
4answers
166 views

Thermal throttling on i7-1185G7

I have a brand new i7-1185G7 laptop whose CPU is being heavily throttled on Linux 5.8.0, even though it's thermals are in bounds (albeit a bit high). $ sensors ucsi_source_psy_USBC000:001-isa-0000 ...
2
votes
0answers
36 views

JVM only uses 4 cores

I have a processor-intensive Java program and I want it to use all 8 available cores on the machine. I've run taskset and it reports the mask to be: pid 5897's current affinity mask: ff But in top (...
3
votes
1answer
59 views

Where does one find the total number of context switches performed since bootup?

I figured out that the number of context switches performed by a process can be found in /proc/$$/status. I have been trying to look for the total number of context switches performed since bootup. I ...
2
votes
1answer
401 views

linux: can't set cpu frequency governor with cpupower

I have a server HPE ProLiant system with AMD Epyc CPU, BIOS A43 v1.20, with Linux kernel 4.19.71 (as well I tried on 5.4.0). Now, I'm trying to set CPU performance governor: # cpupower frequency-set -...
2
votes
1answer
326 views

What changes had to be made to linux kernel in order to support ryzen 5000 series processor?

AMD contributed patches to linux kernel during 2020 in order to make it run on ryzen 5000 series processor. Don't ryzen 5000 series processors implement x64 ISA? How are ryzen 5000 processors ...
2
votes
1answer
306 views

How to completely disable CPU frequency scaling? Problems with kernel 5.9 running on Intel Tiger Lake CPU laptop

I just bought a new laptop (Asus UX435EG-AI084R) equipped with an Intel Tiger Lake CPU (i7-1165G7; 2.80GHz) and I installed Debian Linux (Testing) on it. Unfortunately I am experiencing a very strange ...
0
votes
0answers
59 views

Ryzen extremely slow on the most basic of tasks under Arch Linux

I have a Ryzen 1700 which is extremely slow even in the most basic of tasks like launching vim or nvim (takes several seconds), tab switching in the Gnome Terminal or scrolling text. The Ryzen 7 1700 ...
4
votes
1answer
165 views

How to know if a AMD cpu's SME feature is enabled?

More recent AMD CPUs have a feature named Secure Memory Encryption SME which if available can be explicitly be enabled by adding this parameter to linux' command line. mem_encrypt=on (according to ...
1
vote
1answer
37 views

Can you compensate for incorrect thermals being reported to the kernel to prevent throttling?

I have faulty battery firmware or something, because my otherwise healthy battery now refuses to charge normally, and what is worse, 80% of the time, it has me bizarrely throttled down to 400mhz per ...
1
vote
0answers
16 views

RAM, CPU, Disk limiter per user

I recently bought a VPS server which is running ubuntu-16.04-x86_64. This VPS has 4 GB of RAM, 2 threads i7-6700K 4.00 GHz processor and 30 GB SSD. Is there some way to easily reduce RAM usage, disk ...
0
votes
1answer
94 views

Critical Temperature Reached

I am trying to boot Debian installed on a USB stick on my new Coda 3.4 laptop, however, I get the following error when booting: thermal thermal_zone0: critical temperature reached (125C), shutting ...
0
votes
0answers
50 views

Manipulate the result of uname?

Is it possible to fool Linux what CPU, the amount of memory etc it runs on? I have a NAS running an obscure custom Linux distribution (Seagate's internal) that requires a certain hardware to enable a ...
0
votes
0answers
173 views

My thinkpad is being throttled to 400mhz per core. Is there any way I can force it to clock to normal speeds with the kernel?

there seems to be a common issue with Lenovo ThinkPad and the Intel CPUs being throttled to 400mhz per core: https://forums.lenovo.com/t5/ThinkPad-L-R-and-SL-series/L380-stuck-on-0-4-GHz-when-loading/...
0
votes
1answer
119 views

cpufreq: scaling broken on i7-1185G7, kernel 5.8.0

I bought a laptop with a fairly recent CPU: the i7-1185G7. On a fresh Ubuntu 20.20 installation (Linux 5.8.0-33-generic), I noticed the laptop was very slow. I poked around the intel_pstate parameters ...
3
votes
1answer
35 views

Current CPU speed less than minimum?

My current CPU speed is (1253.029MHZ) less than the minimum (1400MHZ)? It's a new computer, is there something wrong with it? Architecture: x86_64 CPU op-mode(s): ...
0
votes
2answers
46 views

multi-core linux workstation recognizes only 1 cpu, 1 core, 1 thread

I'm using ubuntu 20.04 on Dell Precision 7820. $ uname -a Linux myhost 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Only one cpu is used/known by the OS,...
0
votes
0answers
30 views

While Booting ubuntu live my *Acer e1-510* cpu fan turns off and i'm afraid it will damage my laptop, is there is a way to make run or its just fine?

i've done some reseaches, i couldn't find excatly for what i'm looking for as you see in screenshot down there, i've seen some similar questions asking about installing fancontrol and lm-sensors but i ...
0
votes
0answers
80 views

I think my CPU is returning wrong temperatures

My Ubuntu 20 is freezing here and there since I changed my disk to a NVMe SSD. While debugging for kernel logs I noticed these errors: [sex dez 4 11:34:55 2020] mce: CPU9: Package temperature above ...
0
votes
1answer
38 views

How to judge whether the cache is shared or private?

In general, l1 and l2 are private, and llc is shared. But I want to confirm if this is the case on my linux server. How can I know this information? The configuration of my server is as follows: Linux ...
0
votes
1answer
115 views

Difference between CPU usage in top and /proc/stat

I'm trying to write a little script that, among other things, calculates the cpu usage by reading /proc/stat, and I can't seem to get consistent results. I'm basically doing a grep cpu /proc/stat and ...

1
2 3 4 5
15