Help to reduce cpu usage 100% on laptop with ubuntu 20.04

Hi There,

First of all, thank you soooooo much for the huge improvements in memory usage of ubuntu.

I’m a developer and many times it is happening that I needed to record some client calls and along with that some screen sharing are also going on using mostly google meet.

The applications normally I’m using for my development environment is
Firefox & chrome: with average 5-6 tabs on each.
Sublime: for coding.
Terminal: for some commands.
Docker: as my main devel environment.
Files & meld: File comparison sometimes.
kazam: for screen recording.
Skype: for communication.

Mostly after 2-3 hours of using these tools, my CPU usage gets near / almost / above 100 % on all the 4 virtual cores.

I needed to close some applications every now and then & restart them while I’m in a meeting and my screen is shared. Which I needed to record using kazam.

With the same tools using 18.04, there was a high memory usage issue, where my laptop stops responding/gets frozen when RAM is above 8.5-9.0 GB,… Which in 20.04, I can use 10.0 GB of ram without any issue of getting my laptop frozen, if CPU usage is below 50 %,…

How can I get rid of the high usage of my CPU processes?

With 18.04 - it was high memory usage issue freezing my laptop to respond. Same no of tools and the same amount of using them.
with 20.04 - it is hight CPU usage freezing my laptop. Same no of tools and the same amount of using them.

My laptop’s config is as below

description: CPU
product: Intel® Core™ i5-6200U CPU @ 2.30GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel® Core™ i5-6200U CPU @ 2.30GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 1600MHz
capacity: 2800MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d cpufreq
configuration: cores=2 enabledcores=2 threads=4

description: System Memory
physical id: 28
slot: System board or motherboard
size: 12GiB
RAM - 1 : (Came default with laptop)
product: HMA451S6AFR8N-TF
vendor: SK Hynix
serial: 37222418
slot: Bottom-slot 1(top)
size: 4GiB
width: 64 bits
clock: 2133MHz (0ns)
RAM - 2 : (Added as an additional slot- Crucial)
product: CT8G4SFS8213.M8FA
vendor: Conexant (Rockwell)
serial: 22691111
slot: Bottom-slot 2(under)
size: 8GiB
width: 64 bits
clock: 2133MHz (0ns)

description: ATA Disk
product: WDC WD10JPVX-60J
vendor: Western Digital
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 1A01
serial: WD-WX91A168A7UX
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=1bee7e3a

I forget to mention it was a fresh installation,
BUT without formatting root(/) and /home partitions.

I needed to use python2.7 so I wanted try if I can get access of some of the application from 18.04 without them getting removed if I upgrade 20.04 from 18.04…

So I did all the step of fresh installation except formatting those root & home partition.

Please find out which processes are using high CPU by using the command:


Then put your findings in a bug report by running:


Please then mention the new bug ID here and close this topic.