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)

3
votes
1answer
1k views

Is my laptop's overheating issue CPU (Dual Core i5) or GPU (Nvidia 320M) related, and can I fix it in Linux Mint?

I've had the same problem in both Ubuntu 12.10 and Linux Mint 15. I've tried taking my Acer laptop apart (no mean feat for a noob like me) and cleaned and resat the GPU and CPU heatsinks and fan ...
3
votes
1answer
470 views

cpufreqd does not control temperature plus shows no output

Since my laptop (an Acer Aspire 5750G running a Gentoo Linux with a not-quite-up-to-date kernel 2.6.39-r3 (a weird wLan hardware makes the update difficult)) tends to run rather hot I am trying to ...
2
votes
1answer
1k 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 ...
1
vote
1answer
28 views

Show CPU core usage for parent process and its child processes

Is it possible to display CPU core usage just for a single process and its child processes on Linux?
1
vote
1answer
404 views

Elementary OS Gala using more than 100% CPU constantly

I am using ElementaryOS with the default Drivers and my Gala process is constantly using tons of CPU (sometimes more than 200%). I have looked everywhere but couldnt find a solution. I tried to ...
1
vote
1answer
1k views

Intel Turbo Boost apparently activated for no reason?

The other day, I reinstalled my operating system (Crunchbang, fork of Debian). For some reason my fan has been running at full speed (and blowing colder-than-room-temperature air) even though I'm ...
1
vote
1answer
772 views

Linux Mint CPU cores balancing and high temprature

I'm using Linux Mint. My laptop has a Corei5 CPU. When I check the system monitor, it shows that the CPU 1 usage is between 90 to 100% and CPU 2,3,4 are less than 5%. why it doesn't balance processes ...
0
votes
1answer
387 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
1answer
169 views

Having an independent console to kill rogue process?

Sometimes a flash plugin starts using all the mem and CPU or an app is also behaving "naughtily" and my system starts to crawl until i finally get a terminal with htop up and kill the rogue process, ...
0
votes
1answer
415 views

Monitor CPU Registers

I'm looking for such tool, to see state of CPU registers, eax, ebx, ecx, edx. I've discovered cpuid: eax in eax ebx ecx edx 00000000 0000000d 756e6547 6c65746e 49656e69 00000001 ...
4
votes
0answers
99 views

Why is 'steal' time gradually increasing?

I'm tracking CPU usage on a VM on a lightly-loaded host. Everything appears to be functioning normally on all the VMs, but collectd is reporting a gradually increasing 'steal' time: The actual ...
4
votes
0answers
212 views

Strange cpu usage values reported by pidstat

I have a script that reports the cpu usage of a specific program reading values from pidstat. The script launches as: pidstat -C ^frontend$ -h -l -p ALL 1 1 The values reported this way sometimes ...
3
votes
0answers
624 views

Difference between 'sar' and 'iostat' commands

With sar and iowait, we can get CPU time utilization. But, when I executed both commands, I could see significant differences in their outputs. > iostat && sar 1 1 Linux ...
3
votes
0answers
99 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
3
votes
0answers
244 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
2
votes
0answers
40 views

What does the “k” metric mean in the “sa” output?

From man sa: k cpu-time averaged core usage, in 1k units My questions: How is it calculated? What is the significance?
2
votes
0answers
215 views

VPS freezes every few days (rcu_sched_state detected stall on CPU x)

Background: I have an Ubuntu 12.04 (64bit) in Xen virtualization environment. 1 GB RAM, 1 processor. Every few days I get the following error message: rcu_sched_state detected stall on cpu 0 ...
2
votes
0answers
128 views

Limit CPU cycles inside of Xen

I'd like to run some minimum-expectation benchmarks on EC2, but I'm having an issue of high variability in my output data. Specifically, they keep giving me more CPU than I'm minimally entitled to, ...
2
votes
0answers
224 views

Unable to reduce core frequency freebsd

I'm working on a FreeBSD project where I need to maintain the temperature of the processor below a threshold value. In order to reduce the temperature I'm trying to dynamically change the frequency of ...
2
votes
0answers
268 views

eldoc 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 ...
1
vote
0answers
34 views

Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed

I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz. Then I replace the CPU with a faster one, let's say 3.0GHz. If I ...
1
vote
0answers
47 views

How to reduce temperature of my Toshiba with Slackware?

I have a Notebook Toshiba with Slackware 14.1 64bits $ lspci: 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 ...
1
vote
0answers
53 views

CPU always at 80°C while the system is idle

My system is quite unused at the moment: %Cpu(s): 10.3 us, 3.1 sy, 0.0 ni, 85.9 id, 0.7 wa, 0.0 hi, 0.0 si, 0.0 s but still the temps sensors give me are quite high: acpitz-virtual-0 ...
1
vote
0answers
40 views

cpulimit on a bash script which runs other commands

I have a bash script which runs other cpu-intensive commands . When I apply cpulimit on the bash script, the output of top shows processes for the commands inside the script still run without ...
1
vote
0answers
141 views

Is it safe to disable Frequency Scaling and CPU idle Power Management support for Real Time purposes?

I'm using a Raspberry Pi board and I would like to build a real time system. During the kernel configuration, I found the CONFIG_CPU_FREQ option, which (from the help section) allows you to change ...
1
vote
0answers
64 views

/proc/stat - is guest counted into user time?

I have a quick question. In man page for /proc/stat this is not clear to me: Is guest and guest_nice time included in user time in /proc/stat? http://man7.org/linux/man-pages/man5/proc.5.html in ...
1
vote
0answers
93 views

Changing CPU frequency programmatically

I have seen that standard CPU Frequency driver(comes with default package with linux kernel) can change the CPU frequency at runtime, when being used under the supervision of "Ondemand" governor. ...
1
vote
0answers
176 views

Are there any alternatives to pidof? (smaller footprint)

Well, I've just found out that with extensive usage of pidof in very short intervals, the seemingly tiny tool can be a great CPU hog. (Source: top) On my older machine, it can easily reach 30 percent ...
1
vote
0answers
245 views

What's limiting my CPU usage in forked processes?

I am running some long-running programs (for scientific purposes) on a multi-core Linux box. The processes are controlled by a small daemon which restarts the next job when one finishes (I run 3-6 at ...
1
vote
0answers
231 views

How do you run CPU at turbo speed continuously

processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz stepping : 3 cpu MHz : 3299.670 ...
1
vote
0answers
362 views

Disable CPU scaling with U 1404

I know there are a lot of things about this topic but I couldn't find anything not older than 4 years. As the stuff develops so fast I hope it is fine to ask again a few years later. What is ...
1
vote
0answers
347 views

Why is the AESni flag missing for my i5 CPU

My CPU is reported by Intel to support the AES-NI native instructions. http://ark.intel.com/products/65707 However, /proc/cpuinfo does not list the aes flag (which is what I guess is preventing me ...
1
vote
0answers
146 views

FreeBSD 9,1 - upowerd's cpu consumption off the roof and causes OS to restart

I've been experiencing a really annoying problem with a FreeBSD setup on my laptop. The setup is as follows: FreeBSD 9.1 / KDE4 desktop / Broadcom wireless 4313 through NDIS / Intel GPU with the new ...
1
vote
0answers
625 views

How can a single thread use 200% CPU usage?

From the screenshot above of htop output you can see that mysql is apparently using 204% of CPU usage (this is a CentOS server with dual quad-core Intel Xeons). However only one core (8) is doing ...
0
votes
0answers
6 views

/proc filesystem - getting useful information

I'm trying to understand the values in /proc/PID/status. I want to calculate cpu% & mem% used by PID, similar to top bash command. For Memory percentage usage I can do the following (correct me ...
0
votes
0answers
16 views

cpu temperature is higher than usual after installing xubuntu

I have installed Xubuntu 14.04 on Asus S550CB but the system becomes warmer than usual. So I tried to configure lm-sensors and saw cpu temperature is about 50 degrees. I guessed that some drivers are ...
0
votes
0answers
18 views

Get AMD 8320 CPU temp?

I'm looking to get the CPU temperature of my AMD FX-8320 chip. I have lm-sensors installed and I've run sensors-detect saying yes to all of the prompts. I also have the kmod system service running and ...
0
votes
0answers
50 views

CPU Scheduling incredibly slow with large difference between total execution time and actual CPU time - Ubuntu Full-Disk Encryption enabled

Admittedly, I am running on a build that is no younger than five years old at this point and the system is not going to be incredibly fast. However, at the same time, the run-times I am observing are ...
0
votes
0answers
35 views

High %sy cpu usage , server is very slow

On one of the server we are noticing high %sy usage due to which server is very slow. Below is strace count for syscall. What will be the reason for high %sy usage. % time seconds usecs/call ...
0
votes
0answers
27 views

How do I gather average cpu use in the background?

I'm trying to determine if an issue I'm having is related to cpu use, but my impacted application doesn't allow me to change terminals once it's open. It there a way I could dump only the cpu useage ...
0
votes
0answers
82 views

Kill the process and restart server when memory is exceeded - bash and cron

I have a site on webfaction, using django and python. However, I have problem with memory. The problem arises, because I use external library, that can run forever (consuming much time and memory). ...
0
votes
0answers
49 views

Isolating some CPU cores reduce average CPU usage of game servers

Hardware: FX8320 (8 cores) @ 4.4GHz, 16GB I run 10 TF2 game servers. Few days ago I isolated some CPU cores with line in linux grub config: isolcpus=5-7 The strange thing - individual CPU cores ...
0
votes
0answers
18 views

cacti Cannot display pictures

I install the nagios+cacti in the centos6.4, but the CPU picture drawing, others such as memory, processes are normal. This is why?
0
votes
0answers
46 views

arch linux on alienware 14

I've tried to install arch in my New alienware 14 But i got a few errors there, squashfs is making trouble and something is stuck in the CPUs. Does someone have experiences with that?
0
votes
0answers
202 views

Get CPU time for Benchmark in Bash Script

I'm using this Method here: http://giantdorks.org/alain/how-to-benchmark-individual-shell-script-sections-to-identify-slow-parts/ to Benchmark my Bashscript: RuntimePrint() { duration=$(echo ...
0
votes
0answers
344 views

System CPU Time and User CPU Time Calculation for a Process in Linux

I want to calculate CPU time consumption of a particular process in system mode and user mode using statistics present in /proc/<PID>. There are two fields utime and stime in ...
0
votes
0answers
160 views

File to access for CPU load average on AIX

Is there a file with the load average in it on AIX? I'm looking for something like Linux's /proc/loadavg.
0
votes
0answers
217 views

CPU Frequency Scaling Monitor: No passwd, all cores at once

I use MATE 1.6.2 and CPU Frequency Scaling Monitor 1.6.2. I would like two things: Get rid of the need of the root password to change the CPU settings. To affect all cores at once. The problem is ...
0
votes
0answers
631 views

NVIDIA: could not open the device file /dev/nvidia0 (Operation not permitted)

When I try to run chrome/ium on command line it says NVIDIA: could not open the device file /dev/nvidia0` (Operation not permitted) I don't know whether its related with high CPU usage on ...
0
votes
0answers
101 views

Prevent Java to escalate CPU usage on Slackware64?

I use Slackware64-current on my work laptop and though I love running Slackware, sometimes it hangs on me near to the point of starting considering falling back to Windows. I develop on Java and use ...