Commit Graph

10 Commits

Author SHA1 Message Date
Wei Wang
1dcf62a310 init.hardware.rc: disable bus-dcvs during boot
This CL will save 100ms towards system_server_ready and 200ms towards
BootComplete,  and also reduces the fluctuation per experiment.

- Enable powersaving in charger mode
- Enable bus-dcvs in boot_complete but not during boot
- Start perfd after init.power.sh completes
- Enable powerhint after perfd is started

Before
starting_zygote               : 3.4446  0.24937
nonencrypted                  : 3.678   0.23805
SystemServer_start            : 4.8719  0.25874
SystemUi_start                : 6.3992  0.36695
system_server_ready           : 6.7353  0.34765
BootAnimStopRequest           : 7.5966  0.3806
BootAnimEnd                   : 9.5259  0.399
BootComplete                  : 9.6221  0.42225

After:
starting_zygote               : 3.4261  0.22712
nonencrypted                  : 3.665   0.22334
SystemServer_start            : 4.8406  0.23445
SystemUi_start                : 6.2765  0.23754
system_server_ready           : 6.6392  0.23679
BootAnimStopRequest           : 7.7449  0.25752
BootAnimEnd                   : 9.2631  0.43299
BootComplete                  : 9.409   0.44021

Bug: 63644084
Test: 10 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py
Change-Id: I975974dedea0cce23f74f15d842e7308e9797868
2017-07-21 22:23:54 -07:00
Patrick Tjin
f594698be6 Enable console suspend if UART is not enabled
Test: walleye with console enabled -> console_suspend = N
Change-Id: Iea28573dd953408b78787ea17841a80fbdbe9657
2017-07-17 21:28:41 +00:00
Sandeep Patil
4a2b3affda wahoo: Make vendor script use vendor shell and vendor toybox
This also enables us to remove the vendor_executes_system_violator
attribute from all the vendor scripts launched from init.

Bug: 37914554
Test: Build and boot and ensure all services exited with status 0.

Change-Id: If692b17b45f91ff128608c3f6e9524847c1af69f
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-06-19 11:18:51 -07:00
Ajay Dudani
ebd777fc88 Revert "Disable bus dcvs"
Re-enable bus-dcvs and will continue looking for finer tunables within
bus-dcvs parameters to improve jank.

This reverts commit c218f23308.

Change-Id: I5e8dae591c13930ad18da12452a3518e8c379d7c
Test: Compile, boot on target; bus-dcvs is enabled.
Bug: 62358592
2017-06-08 18:18:56 +00:00
Ajay Dudani
c218f23308 Disable bus dcvs
Revisit this, once we run through additional performance tests

Bug: 62039896
Test: Compile & boot
Change-Id: I1624285f9d1ee4d39c98553e648a4cd4327bd6f3
2017-06-03 02:37:47 +00:00
Chris Fries
747e7cad56 init.power.sh: enable memlat and add SELinux context
Settings taken from QC:

From 42e89348d007cec86bf13db0996f563599dc70f7 Mon Sep 17 00:00:00 2001
From: Amir Vajid <avajid@codeaurora.org>
Date: Tue, 16 Aug 2016 20:00:52 -0700
Subject: init.qcom.post_boot: enable memlat on msmcobalt

Enable memlat on msmcobalt with initial settings
to improve power and performance.

Bug: 38511241
Change-Id: I2c74d1d7e0bcb3bec55ba5af389bf1ead23d639f
2017-05-23 11:55:28 -05:00
Thierry Strudel
40b2ed1938 init.power: remove duplicate operations
This change disabled ability of msm_thermal driver to hot-plug CPUs

Change-Id: I37b1edb8ee9b5de02d55b595a4a710b513dd07e8
2017-04-26 02:00:43 +00:00
Adrian Salido
fdfd0407a4 power: import and enable binderized power hal
Bug: 36096835
Test: boot, verify hal is loaded and taking power hints
Change-Id: I75d7ef2f378f6d71de1776f78726be4812bf196f
2017-03-29 21:04:32 -07:00
Thierry Strudel
20cc626961 init.power.sh: enable CPU lower power states
Also cleanup some non applicable HMP procfs nodes

Test: /sys/module/lpm_levels/parameters/sleep_disabled is N
Change-Id: I3429eb4b78f154f1cd2757d5bfde94b256fba2cf
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-14 16:44:37 -07:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00