Improving the desktop performance experience (Updated)

Post Reply
Posts: 167
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
Has thanked: 10 times
Been thanked: 17 times

Improving the desktop performance experience (Updated)

Post by wallyz21 »

I have been able to improve my desktop performance by doing the following:

1. install cpufrequitils
# sudo apt install cpufrequtils

2. set cpu governor to performance
# sudo cpufreq-set -c 0 -g performance; sudo cpufreq-set -c 2 -g performance

3. set the affinity of the Xorg process to the big cpu cluster
# ps -eaf | grep Xorg
and record the pid of the Xorg process
# sudo taskset -cp 2-5 the_recorded_pid
or just
# sudo taskset -cp 2-5 `ps -eaf | grep Xorg | awk '{print $2}' | head -1`

4. In the Mate Tweak Tool select Windows and for the Window Manager select -> Marco (No compositor).

This last setting gave me full screen 60fps in youtube via Firefox and dropped the Xorg process CPU usages from the (top process) around 25% down to around 5% (less than other running processes) and
finally gave me a rock steady frame rate!!!! Enjoy!!!

To give you some idea of the performance improvement. I have managed to raise my emulator performance from 40fps to 60fps.

For me it was step 3 that gave the largest improvement.

Hope this helps someone else!
Last edited by wallyz21 on Thu May 23, 2019 9:07 am, edited 5 times in total.
These users thanked the author wallyz21 for the post (total 3):
skeetre (Tue May 14, 2019 12:17 am) • XOR (Sat May 25, 2019 4:52 am) • hobo (Sat May 25, 2019 8:00 am)
Walter Zambotti
N2 - Ubuntu Mate Desktop

User avatar
Site Admin
Posts: 35591
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
Has thanked: 1199 times
Been thanked: 877 times

Re: Improving the desktop performance experience

Post by odroid »

Thank you for sharing useful tips.

Our default governor was "performance". But it was changed to "interactive" by uncertain system updates.
So we've added a guide to change the governor to our wiki pages. ... p_examples

Next OS images will assign the xorg process to a big core by default probably. ;)
These users thanked the author odroid for the post:
hobo (Sat May 25, 2019 8:00 am)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests