By putting them on the bigger cores, they can be processed quicker,
resulting in improved responsiveness.
Change-Id: I13e710c94ff80cb5a044547989bda9a56d94b9e7
Signed-off-by: romgharti <romgharti@gmail.com>
* It's not using for 5.4/5.10/5.15 QCOM kernel family
Change-Id: I4d165a95f597df47f4d2ec07199b5dac0a347b61
Signed-off-by: NikitaSavc <micraftur@gmail.com>
* This fixes the following logspam:
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1040
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1041
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 10A5
Change-Id: I03746ea83251d8b731afb8d307526d15320c3cf9
Signed-off-by: artemscine <artempemine@gmail.com>
- Add swappiness to 60
Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
* Because Android won't do it on a dirty flash so certain elements will be broken if something is changed in UI.
Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com>
Change-Id: I611d082319c1d90b2a133e207516d5a2e9a33512
Signed-off-by: angelomds42 <angelomds42@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
- In my testing, this caused less jank and killed lags on
system background processes like ScreenRecorder without causing
higher power consumption.
[angelomds42: Reduce background tasks to 2-3]
Change-Id: I0068a2c1f26da8ec77f2854100a8c95b70c94be3
Signed-off-by: angelomds42 <angelomds42@gmail.com>
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
When opening and closing activities in Settings, a measurably
significant amount of CPU time is spent processing and logging stats
events in statsd:
0.02% /apex/com.android.os.statsd/lib64/libstatspull.so @plt
0.01% /apex/com.android.os.statsd/bin/statsd @plt
0.01% /apex/com.android.os.statsd/bin/statsd SocketListener::runListener()
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseBuffer(unsigned char*, unsigned long)
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseAnnotations(unsigned char, int)
Over longer device uptimes with real-world usage, statsd uses a
substantial amount of total CPU time. We have no use for the stats
recorded by statsd, so disable the service entirely to save CPU in
potential hotpaths.
Test: simpleperf record -a; verify that statsd no longer appears in
sample hits
- Introduce a new shell script to set IRQ affinity, since different
kernels can have different IRQ numbers.
Change-Id: I61d2350e6b40f096714148c568489579bc4d2371
Co-Authored-By: Alex Naidis <alex.naidis@paranoidandroid.co>
Co-Authored-By: Jake Weinstein <jake@aospa.co>
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.
After unbalancing, move these IRQs to separate cores
to improve latency.
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.
* Banking apps read the file /proc/net/unix to
check system modifications, (in our case, custom rom)
Let's avoid this by chmod it 440.
Test: Install a banking app as of Brazilian Nubank or PicPay, login.
Observed no side effects on any other proccess or apps
Change-Id: I12a356b7fe827ee005848108e2075534c7ec91bc
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.
Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
* Allows perf to work properly on boot to restore selected power profile
This fixes log spam -
QTI PowerHAL: Failed to acquire lock.
Change-Id: Idff7d1f51d8480b811a1a35c00670ca0bbd70be5
* From sapphire MIUI V14.0.6.0.TNGMIXM
* Also add missing init.qcom.post_boot.sh into packages build
Change-Id: I4414bf2dbcbdd01e02b6cf6681b5f004936233d8
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.
Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595