Comments (5)
CONFIG_NR_CPUS=8
(= 8 cores)
CONFIG_NR_CPUS=4
(= 4 cores)
from android_kernel_elephone_p8000.
Nice!
from android_kernel_elephone_p8000.
[B]Hotplug settings:[/B]
found here: /kernel/elephone/p8000/drivers/misc/mediatek/mach/mt6735/include/mach/mt_hotplug_strategy_internal.h
[CODE]
#define HPS_TASK_PRIORITY (MAX_RT_PRIO - 3)
#define HPS_TIMER_INTERVAL_MS (100)
#define MAX_CPU_UP_TIMES (10)
#define MAX_CPU_DOWN_TIMES (100)
#define MAX_TLP_TIMES (10)
//cpu capability of big / little = 1.7, aka 170, 170 - 100 = 70
#define CPU_DMIPS_BIG_LITTLE_DIFF (70)
/*
- CONFIG - runtime
- Execute time interval : 100 ms
*/
#define DEF_CPU_UP_THRESHOLD (95)
#define DEF_CPU_UP_TIMES (2)
#define DEF_CPU_DOWN_THRESHOLD (85)
#define DEF_CPU_DOWN_TIMES (8)
#define DEF_TLP_TIMES (1)
#define EN_CPU_INPUT_BOOST (1)
#define DEF_CPU_INPUT_BOOST_CPU_NUM (2)
#define EN_CPU_RUSH_BOOST (1)
#define DEF_CPU_RUSH_BOOST_THRESHOLD (98)
#define DEF_CPU_RUSH_BOOST_TIMES (1)
#define EN_HPS_LOG (1)
#define EN_ISR_LOG (0)
/*
- EARLY SYSPEND CONFIG - runtime
- Execute time interval : 400 ms
*/
#define DEF_ES_CPU_UP_THRESHOLD (95)
#define DEF_ES_CPU_UP_TIMES (1)
#define DEF_ES_CPU_DOWN_THRESHOLD (85)
#define DEF_ES_CPU_DOWN_TIMES (2)
[/CODE]
Found this: /kernel/elephone/p8000/drivers/misc/mediatek/mach/mt6735/mt_hotplug_strategy_main.c
[CODE]
//In order to fast screen on, power on extra little CPU to serve system resume.
little_cpu_num_resume = 4;
[/CODE]
from android_kernel_elephone_p8000.
This works well but need some improvement in cpu governor
little_cpu_num_resume = 1
#define EN_CPU_INPUT_BOOST (0)
#define EN_CPU_RUSH_BOOST (0)
from android_kernel_elephone_p8000.
Closed because it limits hotplugging to a reasonable amount
from android_kernel_elephone_p8000.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_kernel_elephone_p8000.