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
0answers
12 views

CPU Utilization history and what caused high load

I'm trying to find out what caused the cpu to run on 100% for 2 hours on 26th this month. Is there a way to find out what processes caused the high load? All i can find through sar is the cpu ...
0
votes
0answers
5 views

Changing the CPU affinity for all process from a user

I understand I can use taskset to change the CPU affinity of one process, but what if I want to change the CPU affinity of all processes run by a user at once?
1
vote
1answer
29 views

Why CPU temperature so much lower when on TLP Battery mode instead of AC mode?

I'm using Ubuntu 18.04 and TLP (Linux Advanced Power Management). When I have my laptop plugged and battery inserted and TLP is in auto mode (it detects the cable and goes AC mode), the CPU ...
0
votes
0answers
24 views

Single call to top shows low CPU usage

I am running a test to measure CPU load on a machine running debian. For the test I've made a simple Python script that overloads all CPUs. Now, when running top | grep Cpu(s), on the first call im ...
0
votes
0answers
23 views

CPU MHz don't reach CPU min MHz in lscpu

I think CPU MHZ is always more than CPU min MHz. But, my server can't do that now. When it looks like below, what should I check? Architecture: x86_64 CPU op-mode(s): 32-bit, 64-...
1
vote
2answers
33 views

Do I need CPU (or any) microcode in a QEMU/KVM virtual machine?

A CPU in a virtual machine is only virtual so I would assume that the microcode of the manufacturer does not need to be loaded. The same is probably valid for GPUs. Is this correct? Is there any ...
0
votes
0answers
27 views

renice and ionice processes that are hogging resources

I've noticed that Linux grids to a halt as soon as 1 application or 2 take up all the CPU or Disk IO resources. The best solution I've found so far is to renice the processes to idle, this is of ...
1
vote
0answers
23 views

In which context the linux block device driver request runs?

Finally, the invocation of the request function is (usually) entirely asynchronous with respect to the actions of any user-space process. You cannot assume that the kernel is running in the ...
1
vote
2answers
43 views

Increasing battery life on Linux

I got myself a new laptop, which is pretty powerful, but the battery life is horrible on both Windows and Linux. I was wondering if there is a way to increase battery life on Linux. I already tried ...
2
votes
0answers
30 views

Process Scheduling in CPU

Assume I have 2 CPU's C1 and C2. At the very base, every process executes on the CPU for a given time slice 't'. Using cgroups, assume I limit the process to ensure that it takes only 50% of cpu. Now, ...
1
vote
1answer
65 views

Can I run BOINC using only a little computing power?

I found that I can help find scientific results using BOINC. As I tried, it used so much cpu or memory that my desktop hanged. Is there a way to tell Ubuntu that run BOINC but use at most, say 20% of ...
2
votes
1answer
73 views

Why are `top` CPU numbers different from those of System Monitor and Conky Process Panel?

When my laptop gets slow for a moment during somewhat heavier processing I expect to see higher numbers (for CPU use) than what I in fact see in the conky Process Panel that I have on the desktop and ...
3
votes
2answers
107 views

How interrupt is queued up in linux?

In hardware and software interrupt flow how queue up is handled? more precisely I have following doubts Lets take a scenario I have a machine with 2 CPUs. CPU1 is processing process P1 and CPU2 is ...
1
vote
0answers
24 views

Is there a way to make my computers fans turn on instead of the CPU dropping frequency? I'm using Linux Mint 19.3

My computer, for whatever reason, will lower CPU usage when it gets hot instead of turning on its fan. I don't know if it's a driver issue or something else. Thanks! The above is at 80 degrees ...
1
vote
0answers
24 views

Disabling CPU core in u-boot DTS

I am trying to 'convince' a FriendlyARM ZeroPi (Allwinner H3, 4 x Cortex-A7) that it only has 3 physical cores in the SoC, and there is only 256M of RAM (instead of the 512 actually on board). I have ...
0
votes
1answer
49 views

process consumes all cpu and cannot be killed?

all of a sudden a process appeared on my unix server (debian). I disabled and removed the nexus.service. Eventually I removed the files found by "whereis nexus". But that did not help. How can I ...
0
votes
0answers
57 views

Linux Commands to Force Intel CPU to desired C-State and Wake-Up

I have pinned some application – specifically, gvim – on core 1 with taskset with the command taskset 0x2 gvim.  Now I want to forcefully make core 1 enter a desired C-State at a desired time (not due ...
1
vote
1answer
110 views

How to POSIX-ly find out how many CPU threads do I have within a shell script?

How to POSIX-ly find out how many CPU threads do I have within a shell script? I know I can somehow use /proc/cpuinfo, but how to get only the count of repeating lines, maybe using grep?
-1
votes
1answer
31 views

Does the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second?

I would like to know if the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second? % cat /proc/cpuinfo processor : 0 vendor_id ...
0
votes
1answer
24 views

turbostat doesn't show only desired columns with --show option

I'm using tubostat in Manjaro 18.1.5: $ pacman -Qs turbostat local/turbostat 5.4-3 (linux-tools) the man page says: --show column show only the specified built-in columns. May be invoked ...
-1
votes
1answer
37 views

What are all the possible optimizations I could apply to a new build of Gentoo? [closed]

With the assumption that I'm using hardware with a very modern CPU (9900K), what are all the possible optimizations I could apply to a new build of Gentoo in order to gain the best possible ...
2
votes
2answers
49 views

Single program run a year on 8-cpus machine

Suppose I have a 8-CPU machine, which run a single process and one thread program while True: report time every hour. The program run one year alive. During the passed whole year, did the ...
2
votes
0answers
115 views

How to solve the problem with heating the laptop?

The question is: How to solve the problem with heating the laptop? Additional question (optional): What exactly is the sensors talking about? I had installed Linux Mint and my laptop started to ...
1
vote
0answers
318 views

Where is the list of supported CPU profiles in VirtualBox?

I thought I found a list of CPU profiles for VirtualBox. I just can't find it again. I can see my current Host CPU information with the following command: vboxmanage list hostcpuids but I wanted to ...
0
votes
1answer
44 views

How do I set my CPU governor on boot?

I'm running Linux Mint 19.2 with a custom kernel (5.4.2-blackbox) and I'm trying to set my CPU governor to "performance" on boot. I have an i7 7700k and I tried disabling p-state with GRUB using ...
0
votes
1answer
63 views

What is the CPU frequency driver for AMD?

I know we have acpi_cpufreq driver and intel_psteate driver to use. However, I think intel_pstate driver is for Intel. What's the CPU frequency driver for AMD? Any introduction ( ex: governors ) ...
0
votes
1answer
81 views

turbostat - TSC_MHz average MHz that the TSC ran during the entire interval

When using 'turbostat' command, we can see 'TSC_MHz' field data. What does 'TSC ran' here mean? OS in idle state?
7
votes
3answers
1k views

Debian not showing all cores?

I recently purchased a i5-9600K. Which is supposed to run 6 cores and 6 threads (hyperthreading), when I take a look into /proc/cpuinfo the ht flag is on, and checking a tool like htoponly shows 6 ...
-1
votes
1answer
61 views

Ps aux u shows little CPU usage, but sys_getloadavg() has 3.34

Some time ago our site had been hacked, and we were able to recover successfully, however there still seems to be something weird that we havent got rid off yet. Once per hour, there is a job starting ...
0
votes
0answers
27 views

linux - bash - get usage processor cores like htop

I want to get my processor cores usage like displayed in htop. Data will be taken by command line or system file, processing with php, thanks PS : excuse my bad english
0
votes
1answer
25 views

Get data about system load in an easy-to-process format

Often I feel the need to run some computation on the data about my system load. For instance about the data that top shows. And possibly iotop and htop as well. Some of the things I'd like to do are ...
-1
votes
1answer
5k views

Executing “Bad CPU type” executables in 10.15.x

I'm trying to execute a compiled Lazarus file which was working on macOS 10.14.x. After updating to 10.15, I started to get an error, "Bad CPU type in executable", which as far as I understand means ...
-3
votes
1answer
72 views

Reasons that may cause a running process to voluntarily or involuntarily give-up the CPU?

What are the reasons that may cause a running process to voluntarily or involuntarily give-up the CPU? As only one process can be running in the CPU/Core at any one time.
1
vote
1answer
27 views

Choosing if using Docker or not, with or without Virtual Machines on a Debian 10… Number of CPU cores, of virtual CPUs? [closed]

Currently I work on my personal computer having an i7-3820 processor with 4 cores, 8 hyperthreads. I run a standalone apache-spark sat with a parameter of local[6] (6 vCPU) to do some calculations. ...
1
vote
0answers
25 views

How to diagnose constant high cpu usage from cron [duplicate]

Just noticed this, cron is constantly maxing out my cpu on Ubuntu under the user sabnzbd. Sabnzbd isn't doing anything active. Stopping Sabnzbd doesn't kill that process. How do I get to the bottom ...
1
vote
0answers
41 views

Scheduling CPU, between User space process/threads and kernel tasks/jobs [duplicate]

I was trying to understand the Linux process management and scheduling. I know that the scheduler schedules different processes based on priority/time slicing. But there are kernel tasks(I am not ...
1
vote
0answers
32 views

Power management in Qualcomm SoCs vs CPUFreq based power management

https://www.qualcomm.com/news/onq/2013/10/25/power-vs-performance-management-cpu I was going through the above document and read that "The Krait CPU cores of Snapdragon processors lie on separate ...
1
vote
1answer
170 views

L1D unconditional flushing should be enabled to fully mitigate the vulnerability (CVE-2018-3646)

I used the spectre-meltdown-checker, version 0.42, without any option resulting in all-green results. But, in a help page, I found the --paranoid switch, which resulted in about a half of later CVEs ...
2
votes
0answers
126 views

AMD Ryzen Threadripper 2970WX 24-Core Processor - per core frequency?

Got AMD Ryzen Threadripper 2970WX 24-Core Processor (on X399-AORUS-XTREME-rev-10 mainboard) to my workstation for a C++ project compilation, but even being super-multi-threaded - it is worse then my ...
0
votes
1answer
135 views

Inconsistent CPU Usage in Top

I'm experiencing very strange behaviour with some hardware we're working on. My setup consists of Linux 4.9.87 w/ SMP & PREEMPT RT on a dual-core iMX6 CPU. The application running on this setup ...
0
votes
0answers
27 views

How does htop calculate times? (Impossible times shown)

I was running what was supposed to be a small make job on a small node in our cluster, but a sorting process seemed to be overwhelming the allocated RAM, so I killed it after 20 hours (same jobs on ...
4
votes
2answers
800 views

How does the Linux kernel schedule CPU, between user space processes/threads and kernel tasks/jobs

I was trying to understand the Linux process management and scheduling. I know that the scheduler schedules different processes based on priority/time slicing. But there are kernel tasks (I am not ...
0
votes
1answer
208 views

Random freezes, kdump not triggered, system does not reboot

I've been having this problem for several months. I'm running Linux on my personal computer. At random times, upwards of 3 times per day, my system totally freezes and becomes unresponsive to any ...
-1
votes
1answer
48 views

Temperature sensors report short “heat waves” after quite simple commands (find, ls)

I have set up a dollar sign as shell prompt that shows the CPU temperature from sysfs sensor files in a color scale. In temperature-colored-bash-prompt- I put two screen shots. But the problem does ...
0
votes
0answers
41 views

Laptop with Dual Boot constant minimal CPU frequency, although intel_pstate disabled and specific frequency set with userspace governor

So I got an Acer Aspire V 15 Nitro with Intel i5 7th Gen. with a Windows/Ubuntu Dualboot Since I got the laptop the cpu always throttled to ~0.8Ghz. I sent the laptop back to the service, after a ...
3
votes
1answer
938 views

Do I need to take action regarding my Microarchitectural Data Sampling (MDS) status?

My dmesg output contains the following line: [ 0.265021] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more ...
0
votes
2answers
48 views

Unidentified loads on CPU

For a while now, I get unusual activity, which comes in bursts of about 1.5 seconds. I can see the activity on XFCE's CPU graph. The intervals are not constant. Sometimes the peak is just milliseconds,...
0
votes
2answers
322 views

How do I extract current process CPU usage by path/command and print it to the console

I'd like to get current process CPU/memory usage% by process name/path and print it to the console. The command should output one number and not provide an ongoing data flow like ps. ps -p PID doesn'...
1
vote
1answer
1k views

CPU load average + how to get cpu load average for history of X hours

We all know we can get average CPU load as: uptime 10:09:22 up 2 days, 1:44, 1 user, load average: 20.01, 20.03, 22.05 but this shows only load average over the last 1 minute is 22.05 load ...
1
vote
1answer
222 views

Does mixing up GTK and Qt applications slow down the machine?

Usually it is recommended to either use GTK or Qt apps in the operating system, but not mixing them both together. Example: When using KDE it seems to be obvious to use KMail (Qt) instead of ...

1
2 3 4 5
14