Overclocking?

Post Reply
User avatar
NativeCode
Posts: 9
Joined: Thu Jan 02, 2020 3:34 am
languages_spoken: english
ODROIDs: Odroid Go Advance
Has thanked: 4 times
Been thanked: 1 time

Overclocking?

Post by NativeCode » Sun Jan 19, 2020 1:20 pm

Is it possible to overclock at 1.5 ghz?

User avatar
Etx
Posts: 69
Joined: Mon Jan 20, 2020 9:10 am
languages_spoken: english, chinese, russian, ukrainian
ODROIDs: ODROID-GO Advance
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Overclocking?

Post by Etx » Mon Jan 20, 2020 9:17 am

Yeah, really interesting whether it is possible to make it as a steps like on GKD350H, where the highest is 1.9 GHz. 8-)
There is enough free space inside the housing near the processor to easily mount some copper heatsink there to handle the excessive heat because of overclocking. :geek:

User avatar
odroid
Site Admin
Posts: 34642
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 824 times
Been thanked: 712 times
Contact:

Re: Overclocking?

Post by odroid » Mon Jan 20, 2020 9:32 am

We tried 1.4Ghz and 1.5Ghz with some higher core voltage options. But the system was quite unstable and even didn't boot from time to time.
So we think the SoC silicon yield rate seems to be very low.
These users thanked the author odroid for the post (total 3):
NativeCode (Mon Jan 20, 2020 9:37 am) • kamots (Mon Jan 20, 2020 12:32 pm) • lordhardware (Tue Jan 21, 2020 11:07 pm)

User avatar
Etx
Posts: 69
Joined: Mon Jan 20, 2020 9:10 am
languages_spoken: english, chinese, russian, ukrainian
ODROIDs: ODROID-GO Advance
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Overclocking?

Post by Etx » Mon Jan 20, 2020 11:04 am

Oh, thanks for sharing this info. Good to know you've tried to squeeze all the juices available in this hardware.

TuberViejuner
Posts: 3
Joined: Wed Jan 29, 2020 5:23 pm
languages_spoken: english, spanish, catalan
ODROIDs: odroid n2
Has thanked: 0
Been thanked: 0
Contact:

Re: Overclocking?

Post by TuberViejuner » Wed Jan 29, 2020 5:26 pm

I think it's not a good idea, may be with a cooler...

ducadan
Posts: 36
Joined: Sun Feb 02, 2020 7:07 pm
languages_spoken: english
Has thanked: 21 times
Been thanked: 3 times
Contact:

Re: Overclocking?

Post by ducadan » Sun Feb 02, 2020 9:41 pm

i'm curios, can you also downclock the device? I'm thinking if i don't have access to a charging device and i want to prolong the battery.

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Overclocking?

Post by mad_ady » Sun Feb 02, 2020 10:38 pm

You can reduce max cpu frequency and change governor, that should help.
Also reducing backlight will add time.
These users thanked the author mad_ady for the post:
ducadan (Sun Feb 02, 2020 11:13 pm)

ducadan
Posts: 36
Joined: Sun Feb 02, 2020 7:07 pm
languages_spoken: english
Has thanked: 21 times
Been thanked: 3 times
Contact:

Re: Overclocking?

Post by ducadan » Mon Feb 03, 2020 1:18 am

i'm really noob at linux stuff(as in near 0 experience), but with google found https://wiki.archlinux.org/index.php/CP ... cy_scaling. Now, changing some "config" files , i think i can figure out, buuuuuuuut is there a little program for the OG Advance(for when it arrives) with GUI that i can use? ..... Hmmm i think even some batch files that changes the base/boost frequencies that i can run would be sufficient. Sorry for the troubles and thx for supporting this amazing handheld.

User avatar
rooted
Posts: 7752
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 209 times
Contact:

Re: Overclocking?

Post by rooted » Mon Feb 03, 2020 1:44 am

mad_ady wrote:You can reduce max cpu frequency and change governor, that should help.
Also reducing backlight will add time.
Taking 3 of the 4 cores offline may help a bit more than clock speed.
These users thanked the author rooted for the post:
ducadan (Mon Feb 03, 2020 3:06 am)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Overclocking?

Post by mad_ady » Mon Feb 03, 2020 3:26 am

These users thanked the author mad_ady for the post (total 3):
ducadan (Mon Feb 03, 2020 5:57 am) • joy (Mon Feb 03, 2020 9:44 am) • eule (Thu Jun 11, 2020 9:58 pm)

User avatar
npaladin2000
Posts: 144
Joined: Sun Jan 05, 2020 1:39 pm
languages_spoken: english
ODROIDs: Odroid Go Advance 1.0, 1.1
Has thanked: 23 times
Been thanked: 33 times
Contact:

Re: Overclocking?

Post by npaladin2000 » Thu Jun 11, 2020 9:39 pm

Just to let you know, RetroRoller has an optional kernel with a wider CPU clock range, up to 1.5 GHz, and so far our users testing it are not seeing any stability issues. We have no intention of making it the default kernel though, people will have to switch to it manually if they want to try it, and if they see issues they can switch back. But maybe it's a little more stable governing up to 1.5 GHz rather than being pinned at 1.5 GHz?

https://github.com/valadaa48/retroroller/wiki/Kernel
These users thanked the author npaladin2000 for the post (total 2):
eule (Thu Jun 11, 2020 9:58 pm) • joy (Fri Jun 12, 2020 8:58 am)

joy
Posts: 1290
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 131 times
Been thanked: 157 times
Contact:

Re: Overclocking?

Post by joy » Fri Jun 12, 2020 8:52 am

npaladin2000 wrote:
Thu Jun 11, 2020 9:39 pm
Just to let you know, RetroRoller has an optional kernel with a wider CPU clock range, up to 1.5 GHz, and so far our users testing it are not seeing any stability issues. We have no intention of making it the default kernel though, people will have to switch to it manually if they want to try it, and if they see issues they can switch back. But maybe it's a little more stable governing up to 1.5 GHz rather than being pinned at 1.5 GHz?

https://github.com/valadaa48/retroroller/wiki/Kernel
Hi @npaladin2000,
Thank you for sharing the information and your valuable opinion.
We will look into RetroRoller kernel and check system benchmark and stability issues.

We've put stability tests to squeeze out system performance up to 1.5GHz before OGA was released,
but at that time, most of samples got failed system stress tests with higher cpu frequency than 1.32GHz,
so we removed the higher cpu clock options by default to operate OGA stably. (no default debug port)

But I think your suggestion is very worth a try
even if there is no more room for higher cpu clock and we can't guarantee system stability.
I will try to make an option that OGA users can switch max cpu frequency (like via kernel command with boot.ini)
while checking the further room for system performance on RetroRoller kernel.

User avatar
meveric
Posts: 11087
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 42 times
Been thanked: 385 times
Contact:

Re: Overclocking?

Post by meveric » Sat Jun 13, 2020 7:15 am

well it's relatively easy to activate the missing options in the DTS file for the ODROID Go Advance by removing the /delete-node/ opp-XXXXXX00000; entries on the dts file.
That way you get up to 1.5 GHz as an option rather quickly and easy.
Only problem is, it doesn't do anything besides faking the output.
It will report it's running on 1512 MHz but it's still running at 1296 MHz.
If you test performance, there really isn't any difference between 1296 MHz and 1416 MHz, or 1512MHz.
So if that's the only thing RetroRoller did to activate 1.5 GHz on the image, it won't do anything at all.
Especially with their claim that they activate from 400 MHz to 1.5 GHz this seems to be what they did, as the first line that was removed from the options is:
/delete-node/ opp-408000000; (408 MHz)
and the last line is:
/delete-node/ opp-1512000000; (1512 MHz)
But once again, just activating the options in the dts file doesn't necessarily mean it's running on real 1512 MHz :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
npaladin2000
Posts: 144
Joined: Sun Jan 05, 2020 1:39 pm
languages_spoken: english
ODROIDs: Odroid Go Advance 1.0, 1.1
Has thanked: 23 times
Been thanked: 33 times
Contact:

Re: Overclocking?

Post by npaladin2000 » Sat Jun 13, 2020 7:41 am

No, you also have to swap in a new kernel with different CPU governor options.

joy
Posts: 1290
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 131 times
Been thanked: 157 times
Contact:

Re: Overclocking?

Post by joy » Fri Jun 19, 2020 3:15 pm

meveric wrote:
Sat Jun 13, 2020 7:15 am
It will report it's running on 1512 MHz but it's still running at 1296 MHz.
If you test performance, there really isn't any difference between 1296 MHz and 1416 MHz, or 1512MHz.
So if that's the only thing RetroRoller did to activate 1.5 GHz on the image, it won't do anything at all.
Hi @meveric,

There are some more related points to change max cpu frequency.
(1) bin scaling limit
https://github.com/hardkernel/linux/blo ... 1.dts#L339

(2) rockchip opp select
https://github.com/hardkernel/linux/blo ... p_select.c

(3) px30 pll rates
The bin scale value depends on this pll_rate_table order.
https://github.com/hardkernel/linux/blo ... px30.c#L34

Only by modifying cpu0_opp_table, max cpu performance will be limited in 1.296GHz as you pointed. :)

This week, I had no room to look into RetroRoller kernel.
I will check it next week and also check its real performance using system benchmark utilities. :)

joy
Posts: 1290
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 131 times
Been thanked: 157 times
Contact:

Re: Overclocking?

Post by joy » Mon Jun 22, 2020 8:49 am

npaladin2000 wrote:
Thu Jun 11, 2020 9:39 pm
Just to let you know, RetroRoller has an optional kernel with a wider CPU clock range, up to 1.5 GHz, and so far our users testing it are not seeing any stability issues. We have no intention of making it the default kernel though, people will have to switch to it manually if they want to try it, and if they see issues they can switch back. But maybe it's a little more stable governing up to 1.5 GHz rather than being pinned at 1.5 GHz?

https://github.com/valadaa48/retroroller/wiki/Kernel
Hi @npaladin2000,
I've looked into the RetroRoller kernel and did put some benchmark test to confirm its real performance.
There are the higher cpu frequency sets, 1.416GHz and 1.512GHz
but, as I checked, the actual performance is limited at 1.296GHz in case of 1.416 & 1.512GHz. :roll:

I used the following kernel repo
https://github.com/valadaa48/linux/commits/RR
, and looked through patches here, too.
https://github.com/valadaa48/retrorolle ... -odroidgo2

I found only patches to add cpu frequency sets, and the commit related to bin scaling is to scan each cpu's scaling range from 1.2GHz ('15'), 1.296GHz ('13') as @merveric mentioned.
There is no update that I expected like system optimization in core side.
Please refer to my previous post.
viewtopic.php?f=187&t=37452#p296755

Or do you know there is any update in early boot loaders side (ex. miniloader and so on)?
Or Maybe @valadaa48 knows the history, I think.

Here is my test result.
I use Ubuntu 20.04 ES image and switched kernel repo.

I considered 4 Full cores and performance governor option.
1. Instruction

Code: Select all

$ sysbench --version
sysbench 1.0.11

$ sysbench cpu --cpu-max-prime=100000 --time=10 --threads=4 run

Code: Select all

# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies 
408000 600000 816000 1008000 1200000 1248000 1296000 1416000 1512000 

# echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq 
1512000

# echo 1416000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq 
# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq 
1416000

# echo 1296000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq 
# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq 
1296000
2. Test Restult
GO2_CPUMAX_TEST_RETROROLLER.png
GO2_CPUMAX_TEST_RETROROLLER.png (42.2 KiB) Viewed 489 times
With 1.4 & 1.5GHz option, 'total number of events' & 'events' must be increased.
When we tested the actual cpu performance with 1.4 & 1.5GHz by modifying rockchip cpu opp drivers, system got fails or hang.
And in case of single core option, higher benchmark result was shown between 1.30~1.37GHz range, but with 2 cores option, got fail.
That's why 1.5GHz options was removed by default... it was not heating or high current issue.
These users thanked the author joy for the post (total 2):
odroid (Mon Jun 22, 2020 9:31 am) • meveric (Mon Jun 22, 2020 4:05 pm)

bmurphr1
Posts: 36
Joined: Mon Feb 17, 2020 5:36 pm
languages_spoken: english
ODROIDs: ODROID Go Advance
Has thanked: 0
Been thanked: 7 times
Contact:

Re: Overclocking?

Post by bmurphr1 » Sun Jun 28, 2020 5:19 am

Would taking a dremel and modifying the battery compartment sidewalls and moving it over enough to put a 5mm heatsink on the CPU make much of a difference? We've been having this discussion on Discord and we found out that if we move the battery all the way to the side of the unit and removed the wall where the battery slips into that it leaves just enough space to include a 5mm copper heatsink on top of the RK3326. I know Crash said that it was not a heat or (voltage) issue but I still wouldn't mind using the overclocking script inside of Retro Roller to at least attempt a frequency higher than 1.3ghz with passive cooling installed. Moving the battery to the side would give us at lesat 0.5 cm clearance to be able to add the heatsink and epoxy it into place with some Arctic Silver thermal adhesive.

I personally already have a copper shim mounted to my CPU and the shim is about 30mm x 30mm and I have thermal adhesive on the CPU but super glue on the RAM chips so that I don't spread heat over to the RAM chips and start corrupting memory, and it gives the copper shim more tensile strength to stay in place. I've tested temperatures in an SSH session and can see that temperatures have definitely decreased across the board especially when the processor is running at full tilt and is generating a lot of heat. My personal setup has shaved at least 10 C off the highest temperatures without modifying the internal structure of the OGA so it was definitely worth the experiment plus it'll let my OGA run for maybe 3 months longer than most other OGAs...lol.

It's hard to imagine that RockChip had such bad luck with every last silicon chip to the point that they can't run past 1.3ghz but if they were purchased in bulk at a huge discount I can certainly see why this particular chip is what ended up inside of the system, but I'm holding out hope that at least with enough cooling that frequencies above 1.3ghz are still possible.

Any thoughts?

joy
Posts: 1290
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 131 times
Been thanked: 157 times
Contact:

Re: Overclocking?

Post by joy » Mon Jun 29, 2020 10:25 am

bmurphr1 wrote:
Sun Jun 28, 2020 5:19 am
but I still wouldn't mind using the overclocking script inside of Retro Roller to at least attempt a frequency higher than 1.3ghz with passive cooling installed.
Hi @bmurphr1,
Are you using the latest version of Retro Roller image?
Can you share the information about image version of the Retro Roller image you're using?
And please share where the overclocking script inside is located in the image.

I will use the image and look into it more.

I think there must be a reason why Retro Roller has the option and the users mention it continuously.
So I want to look into it if there is anything more I can figure out.

I did put many kinds of tests with various combinations of CPU core numbers and CPU frequency sets.
BUT, I haven't tried run-time switching of CPU cores numbers with higher frequency sets over 1.3GHz after booting.
Theoretically, it can be possible to run higher frequency over 1.3GHz with fewer cpu cores (1 or 2 core),
but as I tested before, the condition of only 1.35GHz with a single core is a margin for stable booting. It didn't exceed the limit.
But for other cases 'after booting' (like running games with single thread), it's worthy to check more.

bmurphr1
Posts: 36
Joined: Mon Feb 17, 2020 5:36 pm
languages_spoken: english
ODROIDs: ODROID Go Advance
Has thanked: 0
Been thanked: 7 times
Contact:

Re: Overclocking?

Post by bmurphr1 » Fri Jul 03, 2020 6:32 am

I'm on the testing repo, and if you contact the author of Retro Roller (valadaa48) or join the Retro Game Handhelds discord server there are droves of us users and testers on there that use the Arch version of Retro Roller even to this day. We've seen reports that the CPU in short bursts can "possibly" hit 1.55ghz but sustained I'm sure that Crash is right and that there is some kind of hardware limitation that prevents us from running the RK3326 at it's native speed. I don't know for sure if valadaa48 wants us to give out the instructions on how to convert RR Arch over to the testing branch but it's exceptionally easy to do and only involves changes to one file...right now though he's focusing more on Retro Roller running on top of Void Linux which only uses a 40MB boot image and doesn't even come with any cores pre-installed - you have to download them all manually from Safarikniv's repo in order to get all of the cores onto your system (or copy them over to the SD card after flashing it in *nix) so most of his focus is on Void Linux builds right now.

joy
Posts: 1290
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 131 times
Been thanked: 157 times
Contact:

Re: Overclocking?

Post by joy » Fri Jul 03, 2020 8:41 am

Hi @bmurphr1,
Thank you for your feedback and sharing your opinion.

OK. I will find the test branch and test it using a full-built image. I've checked only the test kernel branch.
Or I will contact @valadaa48.

User avatar
npaladin2000
Posts: 144
Joined: Sun Jan 05, 2020 1:39 pm
languages_spoken: english
ODROIDs: Odroid Go Advance 1.0, 1.1
Has thanked: 23 times
Been thanked: 33 times
Contact:

Re: Overclocking?

Post by npaladin2000 » Sat Jul 04, 2020 1:48 am

The instructions for switching over are right on the Wiki, so feel free to follow them.
These users thanked the author npaladin2000 for the post:
joy (Tue Jul 07, 2020 7:29 am)

notime2d8
Posts: 85
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 19 times
Been thanked: 59 times
Contact:

Re: Overclocking?

Post by notime2d8 » Sat Jul 04, 2020 4:20 pm

I was looking at the rk3308 a quad-core A35 Rockchip SOC. And that chip is also set at 1296mhz but ram at 590mhz.

The rk1808 is a dual core A35 SOC, has 1416mhz, 1512mhz, and 1608mhz CPU clock speeds, but for ram it goes from 784mhz and the next step at 924mhz??

The rk3328 A53 SOC has the same 1296mhz CPU cap, but for ram it also has 800mhz, 850mhz, and 933mhz. I was thinking of trying those at some point.

Also we can try the GPU clock and the sdmmc , but the sdmmc clock may lead to i/o errors.

Rockchip CPU's are overclock-able but it's always been hit or miss with each CPU taking different clocks. At least with my experience with rk3036, 3188T, and rk3368 devices.

Has anyone found or seen any bottlenecks with this device? If i had to assume it would be the random i/o on the micro SD card? It would be cool if we had a sticky with bench-marked micro SD cards. The last recommendations i found for rpi's were Samsung evo's and A1 rated cards, with A2 cards testing slower.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests