Reverse Engine Arm Configure Cpufreq And Input Output

25 Mar 2023 - Linux Mobile

Because when the user buys the devices, in addition to installing the factory firmware, they can also install another system, because the hardware is the user’s own, and has full access to it.

When I use a device running Android, iOS, GNU/Linux, Windows, I feel like there is a separate setting for each device. Installing another operating system, I would have to figure out all the settings, tweak on the old system and write more code to support it like running on the new system.

For example, a device that is using stock Android, when installing LineageOS or GNU/Linux, must write additional support code. Then I had to search through the manufacturer’s firmware to find out the cpu clock, throttling delay, heat limit, etc. Manufacturer’s Android has a lot to write extra code for LineageOS or GNU/Linux, it is important that you have the patience understanding and feeling it.

Reverse Engine ARM configuration
Reverse Engine ARM configuration

From some working on different devices, I’ve come up with an almost generic configuration for SoCs including Nvidia’s Tegra, Qualcomm’s SnapDragon, Samsung’s Exynos:

  • The legendary of using swap and zram is real

  • CPU clock is only about 50% - 66% of max frequency

  • zram capacity should be 10% - 25% of RAM capacity

  • Swap capacity should be x1 - x2 of zram capacity

  • Later devices with a clock speed of over 2Ghz should also be set at 800Mhz - 1Ghz foreach 4 - 8 cores because the temperature limit is about 45-50 degrees Celsius. When it equipped with a cooling fan, the new configuration will be stable.

  • Optimizing kernel vm parameters and governor frequency

 

Recent Posts:

When Android and ARM were in early time, there was... more

The reason I write this article because some people asked... more

Initially, when I stepped foot in GNU/Linux, I realized that... more

If you have armhf or arm64 GNU/Linux available, it’s quite... more

First of all, GNU/Linux running mainline kernel has 2 main... more

Because Android is a fork of GNU/Linux, that means only... more

When I created my personal blog from basic jekyll barebone,... more

U Boot On Tegra Soc

12 Feb 2023 - tegra

As mentioned in the previous post, Nexus 7 2012 grouper/tilapia... more

Fosdem 2023

05 Feb 2023 - linuxmobile

This event could view online at this link. They... more

I finished barebone static blog from Jekyll documents and... more

This is hard part about Tegra 3 T30L, which I... more

This post, I share my experiences from I/O and CPU... more

I wrote some lk2nd experiences at previous post. Xiaomi Redmi... more

How the system booting!? Let’s start, since Google created compatible... more

This is the first SoC on ARM. Nvidia made ULP... more

When I wanna push source code to git, I saw... more

When I was online, I saw some github.io website. I’ve... more

 
More articles