Improving the desktop performance experience (Updated)

Post Reply
wallyz21
Posts: 66
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 9 times
Contact:

Improving the desktop performance experience (Updated)

Unread post by wallyz21 » Mon May 13, 2019 9:49 am

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)

User avatar
odroid
Site Admin
Posts: 30976
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 21 times
Been thanked: 138 times
Contact:

Re: Improving the desktop performance experience

Unread post by odroid » Mon May 13, 2019 12:13 pm

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.
https://wiki.odroid.com/odroid-xu4/appl ... 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