Questions tagged [cpu]
CPU stands for Central Processing Unit, and is the main processing chip used in every computer. Brands include Intel, AMD and ARM. CPUs are commonly available in 32- and 64-bit, and come in a variety of frequencies or with multiple cores.
1,425
questions
738
votes
21
answers
1.8m
views
How do I get the CPU temperature?
How do I get the CPU temperature?
267
votes
20
answers
724k
views
Any way to check the clock speed of my processor?
Is there any way to check at which clock speed my processor is running?
I have already tried cat /proc/cpuinfo but the clock speed I'm running isn't showing. I know Ubuntu 12.04 (Precise Pangolin) ...
205
votes
6
answers
694k
views
Kworker, what is it and why is it hogging so much CPU?
I recently upgraded to the Kubuntu Natty Beta 1 and I've been having a lot of issues with the process kworker. At moments it uses almost half my CPU. Also, strangely enough it seems to affect my USB ...
147
votes
9
answers
495k
views
Getting Processor Information
I have just ran lshw to get some information about a machine I know nothing about, and I just wanted to confirm something.
Does this basically mean it is a dual core 64 bit processor that is ...
141
votes
3
answers
456k
views
How/Where do I check my ubuntu laptops's CPU usage?
How/Where do I check my ubuntu laptops's CPU usage?
120
votes
5
answers
338k
views
CPU benchmarking utility for Linux
I am looking for a utility that will benchmark CPU performance under single and multi threaded instances. At present I have an old rig with a dual core CPU (E7500) at 3.6 Ghz and I am looking at ...
91
votes
9
answers
100k
views
Ubuntu 18.04 gnome-shell high CPU usage
I installed 18.04 from 17.04 (passing briefly through 17.10, didn't test it and jumped to 18.04) and I am experiencing a high cpu usage on gnome-shell, it takes almost all available CPU time:
$ top
...
76
votes
7
answers
125k
views
How can I add the current CPU usage to my menu bar as a percentage?
I'm used to OS X and I use MenuMeters in my menu bar to monitor CPU usage as a percentage and memory as used/free totals. I really want to add this functionality in Ubuntu as I'm using it for ...
58
votes
4
answers
233k
views
Cores vs Threads: How many threads should I run on this machine?
How many threads should I run on this machine?
My lscpu says there are 96 cores. Are those physical cores? What is the maximum and optimal thread that I can run on this machine?
https://...
57
votes
3
answers
85k
views
What is the difference between x86_64 amd64 and 64 bit?
I use a x86_64 bit Ubuntu, but whenever I try to do a live boot of any other 64 bit images like the GNOME 3.16 which was released yesterday, it does not work?
Also some times when I try a virtual ...
54
votes
9
answers
221k
views
Set CPU governor to performance in 18.04
I'm trying to set the CPU governor to performance in 18.04, the problem is that it never survives reboots.
I've tried following these steps in an answer to this question
How to set "Performance&...
51
votes
5
answers
156k
views
How can I see how many processor cores are working?
I have quad-core processor system. I was using Windows before installing Ubuntu. Windows by-default was using 1 core* and I could change that with msconfig. How can I do this in Ubuntu or is it ...
51
votes
3
answers
118k
views
How to determine if CPU VT extensions are enabled in bios?
I know the command to figure out if a CPU can support VMware Workstation 8 or VMware Player 4:
$ grep flags /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov ...
48
votes
6
answers
187k
views
How I can disable CPU frequency scaling and set the system to performance?
My processor is running at 40% of its maximum speed, I want it to use 100% of the speed, all the time. I searched on Google but the tutorials are very old and they all differ.
So, how can I ...
45
votes
5
answers
52k
views
How to disable Page Table Isolation to regain performance lost due to Intel CPU security hole patch?
Because of the current Intel CPU security hole issue, there is a patch expected which slows down the system performance.
How can I make sure that this patch will not be installed on my Ubuntu system?
45
votes
3
answers
103k
views
Why does kworker cpu usage get so high?
I recently installed Ubuntu 12.04 on my Samsung laptop alongside Windows 7. Whenever I use Ubuntu (even when its idle) kworker uses almost 90% of one of 8-cores. Even though it doesn't really affect ...
44
votes
2
answers
156k
views
CPU temperature monitor for 14.04LTS?
Is there a way to configure psensor so the temperatures read out in real time in the panel so it could be read at a glance? So far, in order to read the temperature I have to click on the applet ...
44
votes
3
answers
104k
views
top command on ubuntu multicore cpu shows cpu usage >100%
I have ubuntu running on a multi-core CPU with 32 cores. When I check the cpu usage using top command, sometime it shows more than 100 %, like 340%, 650% etc. I did some investigation and found that ...
43
votes
6
answers
501k
views
Kernel requires an x86-64 CPU, but only detected an i686 CPU. How can I install Lubuntu/Ubuntu? [duplicate]
I'm trying to install Lubuntu on my laptop (sorta old 2005). [Laptop stats: Intel® Celeron® CPU 410 @ 1.46 GHz 1.47GHz, 448 MB of RAM]
I press Install and this message appears:
This kernel requires ...
40
votes
4
answers
78k
views
Disabling Intel Turbo Boost in ubuntu
I'm new to Ubuntu and want to disable the turbo boost. I tried with cpufreq but i cant get it to work. is there any other way to do it.
In windows it was as easy as changing the CPU speed from 100 ...
39
votes
5
answers
18k
views
Should I reinstall Linux when changing the laptop's CPU?
I am planning on changing my laptop's CPU in the next few days.
Should I expect anything from Ubuntu? Like a slower/different start for the first time, or should I completely reinstall Ubuntu?
They ...
37
votes
2
answers
47k
views
How to run a program with only one CPU core?
I'm trying to run a bunch of scripts related to a gaming server in Terminator. The only problem is when I do this, Terminator detects all my CPU cores and the PC lags. Is there any way to start it up ...
37
votes
3
answers
36k
views
Tracker process taking lot of CPU
I'm trying to understand what the different background processes are doing on my machine as this one is freezing from time to time. I have noticed that the tracker processes (there are several of them ...
35
votes
1
answer
15k
views
htop showing duplicate applications with very odd bizarre results upwards of 20,30,40 or more, see screen grab
I have attached screen shots of htop and it's bizarre results. Can anyone explain what is happening here? It shows this new copy.com app taking up like 500% of my memory if you count it up.
34
votes
4
answers
39k
views
Is Ubuntu optimized for multicore CPUs?
Does Ubuntu make use of multicore CPUs (as Windows 7 is said to do)?
In other words, is it multitasking optimized so that users will take benefit of 4+ core processors?
32
votes
1
answer
75k
views
Should I activate the additional driver: Processor microcode firmware for Intel CPUs for intel-microcode [duplicate]
I have recently noticed that there is an additional driver called Unknown: Unknown here which was not there before:
I have already read this, and understand why it is there, but my question is, ...
31
votes
7
answers
33k
views
Software and Updater consumes 100% CPU in Ubuntu 16.04
I've upgraded my laptop (Lenovo Z50-70) which has an i7 CPU and 8Gigs of Ram to Ubuntu 16.04 from 15.10. I've been installing updates consistently. I'm using ubuntu with Gnome desktop environment (GDM)...
31
votes
8
answers
39k
views
Is it normal for compiz to consume 40% of my CPU with no other programs running?
When I have no other programs running, compiz takes up at least 40% of my CPU.
Is this normal? If it is normal, is there anyway I could make this program take a smaller percentage?
27
votes
7
answers
5k
views
How do I escape from a hanging Ubuntu OS?
One of my problems with Ubuntu is, when my PC overloads, my Ubuntu system hangs and I try to get it to respond by opening the CD-ROM drive manually to force an interrupt and get access to the system ...
27
votes
6
answers
24k
views
What causes high CPU usage by mount.ntfs?
I'm in Ubuntu 14.04 64-bit. mount.ntfs use high CPU--40%. I have Intel Core i5-3210M. Why is this happening?
lsblk:
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 465.8G ...
26
votes
2
answers
27k
views
Python Interpreter only using 12% CPU Power
I'm using python on ubuntu for text analysis. Despite the severe amount of work the program is doing the CPU usage as shown in the system monitor stays consistently at 12%.
I changed the priority of ...
25
votes
3
answers
38k
views
How can I limit the CPU and RAM usage for a process?
I'm on a Ubuntu VPS with SFTP and a console.
I need a specific process to only use 60% of my CPU and 2048 MB of RAM.
I also need that another process only uses 30% of CPU and 1024MB of RAM.
How can I ...
24
votes
1
answer
56k
views
Adding a CPU monitor widget in the top corner like in Gnome2
I wonder if you can add a widget or something like it in the top corner (next to volume and WiFi and things like that) that displays current use of CPU and maybe RAM. I know you could add stuff like ...
23
votes
4
answers
25k
views
100.0% usage by Audio codec hwC0D0: Realtek
I ran powertop, and it says that the Realtek audio codec is using 100.0% of the cpu. Is this a problem?
I'm running Ubuntu 11.10 32-bit on Intel® Core™ i7 CPU M 640 @ 2.80GHz × 4 Sony VAIO laptop.
23
votes
1
answer
11k
views
What is the mediascanner-service and how to avoid getting it installed?
Since a few months, on one of the desktop Ubuntu 14.04 systems I use, CPU has regularly been going up to 80-100% for no apparent reason. htop would usually attribute responsability to file system ...
22
votes
8
answers
35k
views
CPU frequency is always at minimum, even if CPU usage is 100%
I don't know when this issue began to happen, it might have been since the time I installed Ubuntu (16.04, fresh). I was observing that Ubuntu was unusually slow, environment was choppy and CPU usage ...
21
votes
3
answers
125k
views
Show CPU usage using a command [duplicate]
I want to see CPU usage.
I used this command :
top -bn1 | grep "Cpu(s)" |
sed "s/.*, *\([0-9.]*\)%* id.*/\1/" |
awk '{print 100 - $1}'
But it returns 100%.
What's the correct ...
21
votes
2
answers
48k
views
High CPU usage without a process to blame. What is [migration/x]?
For the past few days my computer has been revving its fans while not doing very much. I'm talking an instance of Firefox, gedit, few terminator windows and that's about it. I have conky running on my ...
20
votes
8
answers
32k
views
Disable hyper threading in Ubuntu
I am running ubuntu 16.04 server.
I can see that hype threading is enabled when I use the lscpu command.
I want to disable it .
I went through ubuntu forums and here and here.
These are good ...
20
votes
1
answer
113k
views
Getting information about CPU
I am new to the world of Linux and Ubuntu. I want say get maximum information about CPU. (cpufreq , no. of cores, no. of threads per core, instruction set, size of caches, instruction set, ...
19
votes
8
answers
49k
views
Disable "ondemand" CPU scaling daemon
I have a server that, as of the upgrade to 10.04, is now running the "ondemand" CPU scaling daemon. Why would it automatically install this? I don't want my server saving power at the expense of ...
19
votes
2
answers
53k
views
How do I monitor CPU core usage per thread?
I need this information to optimize the number of worker threads my custom application is allocating.
For example, if I just use top on a single-threaded application on a two-core machine, the 100% ...
19
votes
2
answers
27k
views
Check system is Little Endian OR Big Endian
How to check which Byte Order my system is Using ?
Little Endian OR Big Endian ?
19
votes
1
answer
14k
views
How to use cgroup in ubuntu 13.04
I'm trying to learn how cgroup works on Ubuntu and seems that cgroup doesn't work in Ubuntu 13.04. I am using the answer to this question How to set cpu limit for given process permanently. Cpulimit ...
19
votes
3
answers
12k
views
16.04: How to get the recommended intel-microcode package to fix hyper-threading issue?
The Debian mailing list has a post relevant to some Skylake and Kaby Lake users: [WARNING] Intel Skylake/Kaby Lake processors: broken hyper-threading
Users are to run
grep name /proc/cpuinfo | sort -...
18
votes
4
answers
49k
views
What is my CPU Temperature
to get my CPU temperatures i first typed sudo sensors-detect and confirmed everything with yes.
Then i typed sudo service module-init-tools restart
Now this is the output of sudo sensors, but which ...
18
votes
1
answer
2k
views
Pulseaudio cpu usage above normal with no audio/video play
I've noticed on my default installation of Ubuntu 21.04 with kernel 5.11 on the Dell XPS 9510, that Pulseaudio uses a small amount of CPU all the time, around 6-7% (checked with the top command at CLI)...
17
votes
3
answers
13k
views
Maximum CPU frequency stuck at low value
I have observed a problem with Ubuntu 13.04. The problem was not there on 11.10 I used earlier. The maximum CPU frequency is stuck at 2GHzon my Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (Dell Lattitude ...
17
votes
4
answers
13k
views
Reinstall of OS after CPU Upgrade needed?
I recently upgraded my CPU from an Athlon II X2 250 to the Athlon II X4 610E(45W 4 cores -- can't beat the efficiency). Is an ubuntu reinstall required?
17
votes
3
answers
49k
views
systemd-journald high CPU usage
A few days ago, I installed Ubuntu 17.04 on my Asus laptop dual-boot with Windows 10 and shortly thereafter, I noticed that the systemd-journald process was constantly using 25-35% of CPU.
I traced ...