Messages in this thread | | | From | Morten Rasmussen <> | Subject | [7/11] use-case 1: Webbrowsing on Android | Date | Tue, 7 Jan 2014 16:19:43 +0000 |
| |
Common webbrowsing use-cases (no embedded videos, but dynamic contents is ok) typically exhibit three distinct modes of operation depending on what it is doing in relation to the user:
1) Mode: Page load and rendering.
Behaviour: The duration is highly depends on the website but is relatively short. Typically a few seconds. Page loading time impacts user experience directly. Minor performance drops may be acceptable if it comes with good overall energy savings.
Performance criteria: Complete as fast as possible.
2) Mode: Display website (user reading, no user interaction)
Behaviour: Low load. Only minor updates of dynamic contents.
Performance criteria: Minimize energy.
3) Mode: Page scrolling.
Behaviour: Relatively short in duration. Rendering of contents which was previously off screen.
Performance criteria: Ensure smooth UI interaction. Without UI experience feedback (lag, etc.), optimizing for best performance might the only way to get necessary performance.
Task behaviour
The task descriptions are based on traces from a modern ARM platform with a fairly recent version of Android. It may be different other platforms and software stacks. This serves just as an example.
There are three main tasks involved on the browser side, and one or more tasks related to the graphics driver. Each of them behaves differently in each of the three modes of operation.
Render task: Mainly active in mode 1, but also active in mode 3. Accounts for about a third of the total cpu time. May run for a more or less continuous burst of 1-2s in 1.
Texture task: Active in all modes, but mainly in modes 1 and 3. Active after the render task burst in mode 1. Somewhat periodic behaviour during modes 1 and 3 indicating dependencies on other tasks. Account for about a sixth of the cpu time.
Browser task: Active in all modes. Blocks often. Only running about half the time when it is active. Short occasional periods of activity in mode 2 along with the texture task. Accounts for about a third of the cpu time.
Graphics driver task: Mainly active in mode 1 and 3, very little activity in mode 2 and only when browser and texture tasks are active. Runs for a short amount of time but frequently when active. Accounts for about a sixth of the cpu time.
| |