Repository navigation
Performance and Overclocking
dArkOSen includes a custom kernel configuration that provides additional CPU performance headroom, along with integrated performance controls and benchmarking tools.
Performance management is available through two tools:
- Performance Settings: The built-in dArkOSen interface for managing CPU, GPU, RAM, and ZRAM settings, with integrated CPU, GPU, and RAM benchmarking.
- R36 Tuner Next: An advanced tuning tool for making finer adjustments to available performance settings.
Performance Settings is intended for everyday configuration, while R36 Tuner Next remains available for users who want more direct control over performance parameters.
Both tools are included in dArkOSen. R36 Tuner Next is located at /opt/system/System.
dArkOSen uses a custom RK3326 kernel configuration with additional CPU frequency support.
The work was inspired by teacupx's dArkOS CPU Overclock and completed with help from the Arkos4Clone project.
The standard dArkOS CPU configuration is constrained by the CPU's device-tree configuration and the silicon-bin information reported by the SoC.
dArkOSen modifies this system so that additional frequency points can be made available on supported hardware.
The current dArkOSen configuration provides:
- 1296 MHz default CPU frequency
- 1512 MHz maximum CPU frequency
- 520 MHz default GPU frequency
- 600 MHz maximum GPU frequency
- 512 MB default ZRAM
The additional CPU frequencies are not simply a matter of changing the displayed clock value.
The CPU frequency subsystem, Rockchip performance-bin selection, voltage configuration, and device-tree operating performance point (OPP) table must all agree on the available operating points.
The dArkOSen kernel provides the necessary support for selecting the additional operating points, while the dArkOSen DTBs provide the corresponding frequency and voltage definitions.
This is why using an arbitrary DTB with the dArkOSen kernel can prevent the higher frequencies from being available.
The RK3326 uses operating performance points (OPPs) to associate CPU frequencies with the operating conditions required to run them.
A higher frequency requires an appropriate voltage and a valid operating point.
The dArkOSen configuration extends the available CPU operating range beyond the standard configuration, allowing frequencies up to 1512 MHz on supported dArkOSen DTBs.
The kernel also handles the Rockchip CPU performance-bin mechanism used to determine the available operating range.
Simply requesting a higher frequency does not necessarily make the CPU capable of operating at that frequency. The frequency must exist as a valid operating point, and the kernel must permit it to be selected.
dArkOSen therefore modifies the CPU frequency path rather than simply reporting a higher number to userspace.
dArkOSen supports GPU operation up to 600 MHz, compared with the standard 520 MHz configuration.
GPU frequency adjustments are available through Performance Settings and can be fine-tuned using R36 Tuner Next.
As with CPU overclocking, higher GPU frequencies have practical limitations:
- Higher frequency does not guarantee higher performance.
- A workload must be sufficiently GPU-bound for a higher GPU clock to provide a benefit.
- Higher operating frequencies can increase power consumption and heat.
- Thermal management remains active.
The integrated GPU benchmark can help users evaluate performance changes, although individual games and emulators may respond differently to the same settings.
Performance Settings includes RAM and ZRAM configuration options.
dArkOSen uses a default ZRAM capacity of 512 MB.
ZRAM creates a compressed block device in system RAM that can be used for compressed swap.
Instead of immediately writing inactive memory pages to slower storage, the system can compress those pages in RAM.
ZRAM does not increase the physical amount of RAM installed in the device. It trades some CPU processing time for additional usable memory capacity by compressing less-active memory pages.
This can be useful on devices with limited physical memory, particularly when multiple services or applications are active.
The appropriate configuration depends on the workload and the available system resources.
Performance Settings is the built-in dArkOSen interface for managing system performance.
It brings CPU Manager functionality directly into dArkOSen, eliminating the need to install or launch CPU Manager as a separate application.
Performance Settings includes controls for:
- CPU: Configure available CPU performance settings.
- GPU: Configure available GPU performance settings.
- RAM: Manage the available memory-related settings.
- ZRAM: Configure the system's compressed-memory settings.
- Benchmarking: Measure CPU, GPU, and RAM performance.
The interface is designed to make performance configuration accessible without manually editing kernel configuration, boot parameters, or system files.
Performance Settings retains CPU Manager's persistent mode.
Persistent mode allows supported CPU settings to be applied automatically across boots rather than requiring manual configuration each time the device starts.
Persistent CPU settings are designed to coexist with R36 Tuner Next. This allows users to establish a preferred configuration while retaining the ability to make additional runtime adjustments.
For everyday use, Performance Settings is the recommended starting point for configuring system performance.
dArkOSen includes CPU, GPU, and RAM benchmarking directly in Performance Settings.
The benchmarking functionality is based on the corresponding benchmarks from R36 Tuner Next, providing consistency between the two tools and allowing results to be compared using the same benchmarking methods.
Benchmarking can help users evaluate performance settings and determine whether a change produces a measurable improvement.
For example, increasing a clock frequency does not necessarily improve performance in every workload. Comparing benchmark results can help determine whether a particular configuration provides a practical benefit.
For meaningful comparisons:
- Run benchmarks under similar conditions.
- Compare results before and after changing performance settings.
- Avoid assuming that a higher clock frequency automatically produces a better result.
- Consider temperature and stability alongside benchmark performance.
Benchmark results indicate performance under the conditions of the test. They do not guarantee that every emulator or game will experience the same improvement.
R36 Tuner Next remains available as a separate, pre-installed tool located at:
/opt/system/System
It provides additional controls for users who want to fine-tune performance beyond the everyday configuration provided by Performance Settings.
R36 Tuner Next is particularly useful when experimenting with different performance settings for individual emulators or workloads.
For example, a frequency increase that provides little benefit in one emulator may improve performance in another. Fine-tuning allows users to investigate these differences without rebuilding or modifying the underlying dArkOSen installation.
The two tools serve complementary purposes:
| Tool | Primary purpose |
|---|---|
| Performance Settings | Everyday CPU, GPU, RAM, and ZRAM configuration, persistent settings, and benchmarking. |
| R36 Tuner Next | Advanced performance tuning and finer runtime adjustments. |
Performance Settings retains the persistent configuration functionality inherited from CPU Manager, while R36 Tuner Next remains available for additional tuning.
Users do not need to install a separate CPU Manager release.
Performance Settings reports the RK3326 processor's silicon grade based on its voltage-selection bin (volt_sel). This indicates the chip's leakage characteristics and voltage requirements, which can vary between individual processors.
| Grade | Silicon characteristics | Rating |
|---|---|---|
| L0 | Higher leakage; requires more voltage | Poor |
| L1 | Lower leakage than L0 | Average |
| L2 | Lower leakage than L1 | Standard |
| L3 | Lowest leakage; can operate at lower voltage | Best |
| N/A | Binning information unavailable | Not detected |
CPU Grade helps explain why processors may behave differently at higher frequencies, but it does not guarantee overclocking stability.
The maximum frequency is not a guarantee that every individual chip will behave identically.
RK3326 devices are manufactured with normal silicon variation. Two otherwise identical devices can have different stability characteristics at the same operating point.
dArkOSen retains thermal management and the normal CPU frequency control mechanisms rather than forcing the CPU to remain permanently at maximum frequency.
If a device becomes unstable at a higher frequency, reduce the relevant CPU or GPU setting and test again.
Symptoms of an unstable overclock can include:
- Application crashes
- Emulator crashes
- System lockups
- Unexpected reboots
- Corrupted or incomplete operations
- Unexpected behaviour under sustained load
Benchmarking can help evaluate performance changes, but a successful benchmark does not guarantee long-term stability under every workload.
Overclocking does not disable the RK3326's thermal management.
The kernel continues to monitor CPU temperature and dynamically restricts CPU frequency when the device becomes too hot.
The dArkOSen configuration uses the following thermal thresholds:
- 70°C: Thermal management begins reducing available performance.
- 85°C: More aggressive thermal throttling is applied.
- 115°C: Emergency thermal protection shuts the system down.
Temperature is monitored continuously by the kernel's thermal management system.
These limits are intended to prevent the CPU from continuing to operate at maximum frequency as its temperature rises.
Overclocking does not mean the CPU is forced to operate at 1512 MHz regardless of temperature.
For normal use, start with the default dArkOSen configuration.
The default configuration already provides additional performance without requiring manual tuning.
- Use Performance Settings for everyday CPU, GPU, RAM, and ZRAM configuration.
- Use its integrated benchmarks to measure CPU, GPU, and RAM performance.
- Use R36 Tuner Next when you want finer control over performance settings.
- Compare benchmark results rather than assuming that maximum frequency is automatically the best setting.
The goal is to find a stable configuration that provides a measurable benefit for the workloads you actually use.
- Introduction
- Installation
- Compatibility List
- dArkOSen Utilities
- dArkOSen Features
- EmulationStation
- Performance Settings
- Connectivity
- Emulators
- Hotkeys
- Kiosk and Kids Mode
- Migration
- Recovery
- Root Access
- Storage Settings
- SaveSync
- BatteryPlus
- Contributors
- Music Credits
- About dArkOSen
