minaripenguin 8487da900e S666LN: init: Tune F2FS and dirty writeout policy for modern devices
In a previous commit bb0838b5114419b4f8ecff67c0b6fb728399c7b7, the gc_urgent_sleep_time for F2FS was aggressively set to 50ms to optimize GC.
This change, however, led to performance regressions on most devices, particularly of those running in 4.19+ kernels.
From our tests, the heightened CPU and I/O activity from this aggressive garbage collection setting is the likely cause.
To address this, we're revising the gc_urgent_sleep_time parameter to strike a balance between aggressive GC and device performance, taking
bb0838b5114419b4f8ecff67c0b6fb728399c7b7 goal into consideration.
Furthermore, the dirty writeout policy has been aligned with the latest configurations used in Pixel devices,
and cp_interval has been adjusted to surpass dirty_expire_centisecs for improved power efficiency during idle times.

[ChrisCatto]: Do not set dirty_background_ratio to 10 because that is the default value for us anyways.

Test: booted partner device, monitor performance
Change-Id: Ie4d0c870d734e915aaebcc53e64acdabac47b6dc
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: KimelaZX <mmikailrei@gmail.com>
2025-12-18 19:18:45 +07:00
2025-12-18 19:18:45 +07:00
2025-12-17 21:24:05 +07:00
2025-08-18 15:38:01 +02:00
2025-07-09 08:58:08 +02:00
2025-12-17 21:41:03 +07:00
2025-07-09 08:58:08 +02:00

Device tree for the itel RS4 (S666LN)

Device specifications

Basic Spec
SoC MediaTek Helio G99 Ultimate (6nm)
CPU Octa-core (2x2.2 GHz Cortex-A76 & 6x2.0 GHz Cortex-A55)
GPU Mali-G57 MC2
Memory 8GB / 12GB
Shipped Android version 13
Storage 128GB / 256GB
MicroSD MicroSDXC
Battery Non-removable Li-Po 5000 mAh
Dimensions 8.2 mm thickness
Display 720 x 1612 pixels, 20:9 ratio (~269 ppi density)
Rear Camera 1 50 MP, f/1.6, (wide), AF
Front Camera 8 MP

Device Picture

itel RS4

Description
No description provided
Readme 1.7 MiB
Languages
Makefile 74.1%
Python 16.9%
Java 3.7%
Shell 3.3%
C 2%