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.

learn more… | top users | synonyms (1)

1
vote
0answers
19 views

What happens when an application is started with the Linux OS [closed]

Assuming os:Linux with 14gb ram, 2 CPU's with 2.50GHz scenarios after launching how many processes will be created and where? if application wants's create 1000 threads, then who will create what ...
0
votes
1answer
22 views

How to add a virtual core to Linux system

Here a virtual core means another CPU core that does not exist physically but can exist just as another core and can be assigned processes naturally by the system. Is it even possible to do this? ...
3
votes
1answer
52 views

Process running in only one processor

I have a 40 v core machine in which a java process running. I can see that this process is running in cpu6 all the time. $watch ps -o pid,psr,comm -p 4076 Every 2.0s: ps -o pid,psr,comm -p 4076 ...
3
votes
2answers
247 views

Supervisord at 99% cpu usage

I've installed supervisord using: sudo apt-get install supervisor on my Ubuntu 14.04 server as per the instructions in the Laravel documentation. I've noticed that the supervisorctl process on my ...
4
votes
1answer
10k views

diabling cpu cores on quad core processor on linux

I want to disable 3 CPU cores and run my processor on a single core. I have used command:maxcpus=1. But after this I executed this command ls /sys/devices/system/cpu. It still shows cpu0,cpu1,cpu2,...
0
votes
0answers
20 views

top command shows dnss running at 290%

We're running software on a CentOS 6.2 virtual machine and it's been crashing quite a lot lately and keeps running slow. I checked the RAM usage, but that's only using 4GB to 5GB of the available 9GB....
1
vote
1answer
36 views

How to limit coredump CPU usage?

I have some process (test) which runs on my machine. Sometimes it crashes and a core dump is generated. Whilst the core dump is being written, the machine is completely frozen (even the mouse pointer ...
1
vote
1answer
63 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 ...
1
vote
3answers
2k views

How can I start a process using cpulimit?

I am trying to use cpulimit for testing an app I'm developing under low resource conditions, and I need the process to start under the influence of cpulimit. It is not sufficient to start the program ...
1
vote
0answers
91 views

What do the benchmarks in HardInfo mean?

The program hardinfo is included by default with Lubuntu as a system profiler. It can run 6 different types of benchmarks: -CPU Blowfish -CPU Cryptohash -CPU Fibonacci -CPU N-Queens -FPU FFT -...
2
votes
1answer
35 views

Is there any command that limits the use of cpu resources by percentage?

So far I've been using nice -n 10, but that's just sets the priority of the command I want to run low, but if there's no other process running at that time the command will take all the remaining cpu ...
0
votes
0answers
34 views

Gnome 3 on openSuse 42.1: Seemingly Random Commands Causing High CPU Usage

I am experiencing intense cycles of high CPU usage on my openSuse laptop. I have noticed my browser intermittently freezing up (and my fan speeding up) and I checked htop and this is what it looks ...
11
votes
4answers
7k views

How can I receive top-like CPU statistics from the shell?

I'm trying to get an accurate read of my used CPU (in percent) from top. This is the command I'm running for testing: top -n1 | awk '/Cpu\(s\):/ {print $2}' This returns: 10.7%us, Which is the ...
0
votes
0answers
141 views

using cpu.cfs_quota_us and cpu.cfs_period_us to limit CPU usage

There are 32 cores in a system (2 cpus each 16 cores) and I want to limit a user to use only 4 cores (100% usage for that 4 cores). There are two kernel parameter for that according to the manuals: ...
1
vote
1answer
78 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 ...
1
vote
0answers
24 views

Surge CP overload but low CPU usage. Got log in issue on web application when it happens. why?

I am unable to login to solaris server via GUI mode. We have checked and found that the DB/oracle session was hung up. GUI was not able to connect to Oracle DB . After clearing the hung counters from ...
0
votes
1answer
42 views

`cpulimit` and `nice` not effective in limiting the cpu usage of a python program that contains heavvy computations using theano

I am running a program written in python that makes heavy computations using theano. As it is a very CPU-intensive program, it is disrupting all my other activies on my laptop. For this reason I ...
3
votes
1answer
383 views

Does Linux typically log system temperature data?

Do mainstream Linux distributions typically log system temperature data, e.g. CPU or HDD temperature? If so, where can those logs be found?
1
vote
1answer
51 views

Dedicated CPU allocation to zone in Solaris 11

I have created a zone called web in Solaris 11. Now I want to allocate one dedicated CPU resource to that zone. But it's throwing an error: "No such entry". I did the following... zonecfg:web> ...
1
vote
1answer
93 views

Does Powersave Mode on the CPU help at all to save power?

I use indicator-cpufreq with Cinnamon to control my CPU-usage and save power, as my battery life has been running low. So, I use indicator-cpufreq to put my CPU in powersave mode. However, I have this ...
0
votes
0answers
88 views

dynadock - Crashes unexpectedly with “Fixing recursive fault but reboot is needed”

Whenever connected to my dynadock, my notebook (Linux Mint running Ubuntu 14.04.1) has crashed unexpectedly with: And if I press Ctrl+Alt+F8: [drm:intel_set_cpu_fifo_underrun_reporting [i915] *...
0
votes
1answer
43 views

Excessive CPU usage while running Facebook and few other websites

I am running Linux Mint 17 (Linux Kernel 3.13.0-71-generic) on my HP Envy 17j (Core i7, Quad core). The laptop runs normal while using any programs. But when I open facebook.com or similar sites (e.g. ...
3
votes
3answers
115 views

What is the correct way to view your CPU speed on Linux?

I found two commands to output information about my CPU: cat /proc/cpuinfo and lscpu. /proc/cpuinfo shows that my CPU speed is 2.1 Ghz, whereas lspcu says it is 3167 Mhz. Which one is correct? This ...
1
vote
2answers
125 views

what means 'processor execution level'?

I'm reading about Unix in a book "The design of UNIX operating system". But, in the text middle of process state (e.g wakeup, interrupt), there is term 'raise processor execution level'. What does "...
2
votes
0answers
36 views

Suspend system instead of shutdown on CPU overheat

I have Linux Mint. The system Linux Mint is installed on, shuts down immediately on overheating. Is there anyway the system doesn't shutdown, but goes to standby state? The machine can always be ...
0
votes
3answers
88 views

Linux + how to verify the CPU performance

I have few servers that I manage in my origination ( red-hat 5 ) my users complain about the bad CPU performance grep processor /proc/cpuinfo processor : 0 processor : 1 can I ...
5
votes
0answers
144 views

FreeBSD throttle cpu clock on high temperature

I'm using a laptop with bad cooling system, so my CPU sometimes hits very high temperature, and linux kernel is able to throttle cpu clock to cool it as I can see in dmesg: [22612.245243] CPU3: Core ...
12
votes
4answers
8k views

32-bit, 64-bit CPU op-mode on Linux

I'm confused. Running Fedora Linux, lscpu yields: Architecture: i686 CPU op-mode(s): 32-bit, 64-bit ... But when I try to install a 64-bit program (Chrome) I get error like: ...
1
vote
2answers
114 views

Can a single core of a cpu process more than one process?

This is the reasoning for my question is what I read in a text book which states: Each CPU (or core) can be working on one process at a time. I'm assuming that this used to be accurate but is no ...
1
vote
1answer
59 views

What is the power dissipation of the CPU and how does it work?

I'm looking into TLP and there is this setting that I don't know what does it do: # Set Intel P-state performance: 0..100 (%) # Limit the max/min P-state to control the power dissipation of the CPU. #...
1
vote
3answers
109 views

Type and the speed of CPU using the lscpu command

I want to determine the type and speed of my CPU so I executed the CPU command, However, I have some confusion, so from my output I can't really determine what is my CPU type and my speed is 1600 MHZ, ...
3
votes
1answer
371 views

Understanding the output of /proc/cpuinfo

I have a LeMaker HiKey development board. I purchased it for testing a couple of libraries on ARM64 cpu architecture. The board provides two Cortex-A53 processors, provides eight cores, and uses ...
3
votes
1answer
154 views

How to sort ps output to find processes realtime priority and identify processess currently occupied running queue

How to properly identify real-time processes currently occupied CPU queue and count them using ps? I know there is a bunch of fileds like prio,rtprio,pri,nice but do not know correct to use. It seems ...
0
votes
1answer
47 views

List the CPU utilizations for each screen

How can I list all screens launched with screen along with their CPU utilizations? (screen -ls gives the lists of screens but not their CPU utilization) By CPU utilization of a screen, I mean the sum ...
2
votes
1answer
1k views

“rcu_preempt detected stalls on CPUs / tasks” message appears to continue

My board continues to display the message below. The terminal does not have any input. What is it with the following message, which I know? (T, g, c, q ...) What is the cause of this phenomenon? ...
3
votes
1answer
62 views

How to distinguish between v2 and v3 of Xeon processors?

I'm trying to determine what processor my server is running. I tried looking at /proc/cpuinfo, using lshw and dmidecode. In all of them I get: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz How do I ...
3
votes
4answers
2k views

Invoking CPU Stress

Looking for an app or tool to invoke CPU usage on my virtual Linux and Unix guests. I found the app "stress" from a post on Stackoverflow, but curious what the Unix/Linux crowd would recommend.
3
votes
0answers
332 views

eldoc mode makes emacs use 100% cpu

When I use eldoc, I add this to .emacs: (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) (add-hook 'ielm-mode-hook 'turn-on-eldoc-...
1
vote
0answers
74 views

Process scheduling and core allocation on big.LITTLE CPUs

Recent ARM chips, like the Qualcomm Snapdragon 810, seem to be using a hybrid architecture called "big.LITTLE" with cores of different architectures and speeds combined into one CPU. On a Linux (or ...
0
votes
1answer
39 views

Weird cpu-load pattern

I am facing a strange (and rather annoying) problem with my laptop set-up: dual boot "Windows 10" and "Linux Deepin 14.2 (based on ubuntu)" problem: starting up with linux at the beginning ...
5
votes
1answer
2k views

/proc/cpuinfo showing zero cpu clock speed

I saw an interesting issue where the cpuinfo file from /proc filesystem shows the cpu clock speed as zero. It is a physical host with no virtualization. Can someone explain to me some probable reasons ...
0
votes
0answers
26 views

High CPU usage after Version Upgrade

Not sure if is related to the version upgrade but since I have updated my Raspberry to Linux version 4.1.13+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+...
0
votes
1answer
18 views

generate key for licensing purposes

I am interested to know if there is a way to allow a user of a web application to log in the application in the following way: 1) Generate a unique key (for licensing purposes) based on unique ...
23
votes
1answer
34k views

What are software and hardware interrupts, and how are they processed?

I am not sure if I understand the concept of hardware and software interrupts. If I understand correctly, the purpose of a hardware interrupt is to get some attention of the CPU, part of implementing ...
2
votes
0answers
28 views

Assign virtual core number to specific real core

Is there any way to assign ''linux core numbers'' to specific real cores? I'm working with an asymmetric architecture, so not all cores are the same, and I want to assign specific cores number to ...
16
votes
5answers
18k views

Why is kworker consuming so many resources on Linux 3.0.0-12-server?

Last Friday I upgraded my Ubuntu server to 11.10, which now runs with a 3.0.0-12-server kernel. Since then the overall performance has dropped dramatically. Before the upgrade the system load was ...
1
vote
1answer
118 views

Taskset does not Work Properly

When I type the command top The first row of the output is 29646 Usernam+ 20 0 7041320 1.047g 105604 S 1267 0.6 256:11.86 MATLAB As you can see, the CPU utilization is 1267%. That means, ...
3
votes
2answers
916 views

Number of cores on FreeBSD

What would the equivalent of Debian's nproc be in FreeBSD? I'm trying to include this in a bash script variable so if it could just print out the number of cores that would be fantastic.
2
votes
1answer
2k views

Should I install the AMD/Intel microcode packages when running Debian?

Should I install the AMD/Intel microcode packages when running Debian? What exactly do they do, and when should/shouldn't I install them? Why are they in non-free?
0
votes
0answers
71 views

SNMP Temperature with lm sensor

I have just managed to put in SNMP the lm sensor output. However, I have an alarm due to a fake threshold of Temperature SYSTIN (see output) nct6776-isa-0290 Adapter: ISA adapter Vcore: +1.02 ...