a new kind of task quota inspired by : energy.
Imagine if you could restrict a browser tab to consume no more than 1J of energy
Conversation
Replying to
How would you measure that? The current state of that is abysmal. e.g. when your fan spins up, who's responsible?
1
1
Replying to
literally put an integrating current sensor in your device & reset it every time you task-switch
2
1
Replying to
But what if I heat up the cpu to just below fan activation and trick the next process into cooling for me?
2
1
1
Replying to
if you mean "how do I exclude current used by autonomous cooling system", then you route it around the sensor :)
1
1
Replying to
Delayed kernel tasks/delayed anything? So many power using hardware components I could establish a causal relationship with.
2
Replying to
another (somewhat contrived) example: I display a dialog, causing the user to reach for the touchpad, waking it in the process.
Replying to
touchpad wouldn't be counted towards task usage. the only two hard cases here are non-timeshared resources & asymm. multicore
2
Replying to
"asymm multicore" maybe solve with exclusive timesliced execution? Assuming you have the non-timeshared resources pinned down.
1
Show replies

