The cpu tag has no wiki summary.
0
votes
1answer
267 views
CPU governor settings
What are CPU governor settings? How can I get their values, if they're set? I have 24 vCPUs on my machine.
3
votes
2answers
505 views
How does load average work with modern CPU's?
My understanding of load average lead me to be quite shocked with my current system. The CPU in my workstation is an i7 with hyperthreading enabled, and cat /proc/cpuinfo produces 4 'cpu's.
That all ...
6
votes
1answer
861 views
Is the sum of all PIDs “utime” the total system utime?
In order to measure a user's total CPU time, I'm using the "utime" field out of /proc/[pid]/stat:
utime %lu Amount of time that this process has been scheduled in user
mode, measured in ...
2
votes
1answer
1k views
i686 versus i486 kernel on an Intel Core i3
I had installed Debian 6 Squeeze on my laptop a couple of weeks ago. Coming from Ubuntu, I did this by downloading the hybrid i386 image and booting it off a USB drive.
Now on GRUB, I'm presented ...
1
vote
0answers
88 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
1answer
260 views
Process priority and cpu speed
In some devices the cpu speed is dynamic, being faster when there is more load.
I was wondering if it is possible to set nice level or priority of a process so that it does not influence an increase ...
6
votes
2answers
628 views
Java problem - nearly looks like a virus?
I have a weird problem since about a week. When I wake up my computer from suspend, a java process starts and consumes about 170 % CPU capacity.
I analyzed the java process a bit: it connects to ...
5
votes
1answer
304 views
How to find out how many cores (including emulated via HT and such) are avaliable to user?
I wonder how to get how many cores (including emulated via HT and such) are avaliable to user via bash shell-script command?
2
votes
3answers
287 views
How can I keep track of what's using the most CPU?
I use nagios to monitor my server. Once in a while I'll get a report that the CPU load is warning / critical, etc. Usually this happens at some odd hour or when I don't have the tools to immediately ...
4
votes
1answer
2k views
Why does top report the incorrect CPU usage?
I have a machine with Intel(R) Xeon(R) CPU E5520 visible as 16 logical cores (8 with HT). If I run something to eat CPU time (single threaded) top correctly reports 100% CPU usage for the process but ...
3
votes
2answers
267 views
How to identify if there is some power saving setting that powered down a processor in Linux
I have a linux server that apparently has two Intel Xeon X5670.
/proc/cpuinfo shows 12 CPUs but dmidecode shows only one CPU and the other one is in the Unpopulated status like it is showing that ...
1
vote
2answers
947 views
/proc/cpuinfo “cache” category: L1, L2 or total?
When I look in /proc/cpuinfo, one of the lines tells me I have 6144 KB of cache. Is this L1 cache, L2 cache, or the sum of both of them?
In any case, how do I find out how much L1 and L2 cache my ...
8
votes
3answers
2k 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 ...
2
votes
2answers
228 views
What tool(s) should I use to test my hardware for errors?
Are there any Linux tools (command line, or Live CD) that will test hardware components for errors (hard drive, RAM, CPU, graphics card, buses) and show me some detailed output with wrong parts etc.?
5
votes
1answer
247 views
Loading speedstep_centrino kernel module
Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module.
The CPU in my laptop Acer TravelMate 4002WLMi is:
$ cat ...
2
votes
1answer
1k views
Setting CPU frequency guidelines
I'm changing my CPU frequency because of noisy fan.
I used sudo cpufreq-selector -g powersave for this purpose, but I replaced my Linux system Xubuntu with Lubuntu because it utilizes better ...
3
votes
1answer
483 views
Only one CPU core is active on Fedora 16
I've upgraded from F15 to F16 and noticed that I have a problems with hardware detection. Upon loading I can see message like
...
CPU#1 not responding
...
on the screen. It disappears and I can ...
1
vote
2answers
209 views
Is there a log of past threads that are now closed?
Sometimes, I have a rogue Java process which takes up 100% of my CPU and makes it jump about 30C in temperature (usually resulting in a crash if not killed).
Problem is, I can never really identify ...
5
votes
2answers
2k views
How can I know which IRQ is responsible of high CPU usage
I've moved a server from one mainboard to another due a disk controller failure.
Since then I've noticed that constantly a 25% of one of the cores goes always to IRQ however I haven't managed myself ...
5
votes
2answers
389 views
How enable safeguards for CPU temperature
My desktop has a nasty habit. When I have several high intensity applications running and my CPU is at maximum usage for a period of time, the core temperature rises and my computer auto-shuts off.
...
2
votes
2answers
260 views
Measuring CPU and Memory per user to distribute “cost” of a server
How should I implement approximately correct per-user monitoring on a server? I want a way to split the cost of a server between the users based on their usage. On newer machines (RHEL6) I would use ...
6
votes
2answers
6k views
Limit process to one cpu core
How to limit process to one cpu core ?
Something similar to ulimit or cpulimit would be nice. (Just to ensure: I do NOT want to limit percentage usage or time of execution. I want to force app (with ...
7
votes
3answers
3k 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 ...
0
votes
2answers
356 views
How to maximize the use of computer performance Core i7 [closed]
How to maximize the use of computer performance Core i7 960 / 12GB Ram?. My operating system is Debian 6 (Linux kernel - 3.0.0-1-amd64). I think it does not work very quickly. Looking for some ways to ...
2
votes
3answers
2k views
CPU locked at lowest frequency, cpufreqd says it won't manage it?
I have a Dell Latitude D600 running CrunchBang Statler (Debian Squeeze-based) with a 1.4GHz Pentium M. I noticed in Conky that my CPU freq is stuck at 600MHz, even when doing CPU-intensive things like ...
5
votes
2answers
1k views
Get CPU utilization stats from C program
I want to read the CPU utilization stats from a C program, I am interested in the percentage of use of CPU, steal time etc. These stats are shown in the 3rd row from the top command.
I tried to parse ...
4
votes
3answers
2k views
How to find which Process is causing High CPU usage
Is there any way to find out from terminal which process is causing high CPU Usage ?
It would also be useful to order processes in descending order of cpu Usage
12
votes
5answers
519 views
Is there a way to limit overall CPU consumption
My laptop (an HP with an i3 chip) overheats like crazy every time I run a resource heavy process (like a large compilation, extracting large tarballs or ... playing Flash).
I am currently looking ...
14
votes
1answer
14k views
In Linux “top” command what are us, sy, ni, id, wa, hi, si and st (for CPU usage)?
When I issue $ top in linux, I get a result similar to this (see here).
One of the lines has CPU usage information represented like this:
Cpu(s): 87.3%us, 1.2%sy, 0.0%ni, 27.6%id, 0.0%wa, ...
3
votes
2answers
882 views
How to get information about word, address size, address bus size, data bus size and instruction bus size?
I was wondering how to get information about the following things from the command line in Linux:
word (i.e. the size that the CPU can process at one time, which may not be the OS bit-depth),
...
5
votes
1answer
2k 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 ...
4
votes
2answers
423 views
Xorg increases cpu usage over time
I've had quite a strange phenomenon with Xorg for some time now: After logging in to my laptop (specifics below) the cpu consumption of Xorg increases monotonically, even if the computer is idle and ...
3
votes
2answers
735 views
Program to test CPU load and process priority
I am running some test on Amazon EC2 instances and we want to make the CPU always busy at above 80%.
What I have is a program main that needs to run in high priority and I want to launch another ...
2
votes
2answers
313 views
Finding MFLOPS using Linux
How can I find out the Mflops on my linux computer? I can see the bogomips on my /proc/cpuinfo but I don't see any Mflops on that file:
$ cat /proc/cpuinfo | grep -ie mips -ie flops
bogomips : ...
3
votes
2answers
578 views
How to find if hyperthreading is enabled on FreeBSD
Is it possible to find out if hyperthreading is enabled within the BSD kernel of a given machine without watching the boot up sequence?
3
votes
1answer
736 views
Why Process CPU % Usage larger than Total CPU Time
When I run the TOP command, a process shows 1208% cpu usage and the total CPU usr time is 81.7% with IRIX mode on. When I change to IRIX mode off, the process shows 99% cpu usage and the total user ...
7
votes
2answers
326 views
Overheating results in system shutdown
I have been having an overheating issue which makes my laptop shutdown immediately. Is there anyway to monitor the temperature from the sensor and scale down the CPU frequency to avoid that problem? ...
19
votes
3answers
976 views
How to limit resource usage to save CPU+RAM for a certain process?
I have a dev server on which sshd sometimes stops working because the machine runs out of RAM. Yes we are running low on memory and upgrading is not a feasible choice right now. What I want to do is ...
7
votes
3answers
4k views
How to check that AES-NI is supported by my CPU?
Howcan I check if my CPU supports the AES-NI instruction set under Linux/UNIX.
1
vote
1answer
606 views
Overclocking software for Linux?
Is most overclocking done strictly at the BIOS level, or is there a way to do it from a running operating system? And if so, is there a way to do it from Linux? I'm running Ubuntu presently and am ...
4
votes
2answers
1k views
Slow down the CPU
I tried to slow down my CPU with powernowd and cpufreq-selector. I hoped that with lower frequency it will be less hot and I won't hear my fan every time I will run internet radio.
I used the ...
1
vote
1answer
256 views
Queries about top command
top command shows the process cpu utilization, and it when we sum the cpu utilization of all the processes then it goes greater than 100%. And how can it shows the cpu utilization of each process( ...
4
votes
4answers
293 views
performance monitoring
Is there some performace monitoring tool which would run in background gathering info about all system activity? Somethimes my system (Arch linux, 32 bit) slows down terribly and the top utility ...
6
votes
2answers
2k views
Understanding top and load average
I'm observing a high load average an certain machine (about 9) in all three load fields. I understand load as the number of processes in state "run" / currently desiring CPU time. Am I correct at ...
5
votes
2answers
3k views
Run process with higher priority
I want to run mplayer with higher priority than any other processes, including the IO-processes. How can I do that?
1
vote
1answer
345 views
xorg performance in openoffice
I've just been monitoring my cpu usage in openoffice calc when cells have been copied vs when they haven't and seen a dramatic increase in cpu usage for the Xorg process. The additional rendering ...
11
votes
3answers
1k views
How can I have 400% CPU occupied on 2 cores
I understand that Σ(%CPU) ≤ logicalcores*(1+ε) (where ε is measure and rounding error). But, how can I have on a 2 core system 2 different processes, each taking 200% of CPU (as measured by htop)?
...
6
votes
2answers
171 views
How can I chase a program who is rising up my laptop's temperature?
After 40 days of non-upgrading I came back from a trip and I decided to dist-upgrade my Debian Sid box. Everything went fine but after rebooting I noticed that the temperature was 15°C over its ...
3
votes
2answers
1k views
How come I installed Ubuntu 64 bit on a Pentium 4 machine?
I have just tried booting the Ubuntu 10.10 64 bit live USB on this machine and to my amazement everything works fine. I even installed the system, after which I checked with uname -a and the result is
...
2
votes
3answers
1k views
Video player that uses multiple CPU/GPU cores in Linux?
I've got a relative with a four-cour AMD Phenom II 3.0 gHz CPU (can't remember exact specs) and ATI 5750 1GB graphics card, running Ubuntu 10.04.
Right now I am aware of VLC and Mplayer for playing ...