Create a way to simulate mobile workload that scheduler developers can test against
Scheduler developers need an easy way to simulate various workloads they need to tune for. Currently there is no mobile workload that they have access too. The goal is to create such a representative workload for common mobile usecases. Several of them are expected to be common to desktop usecases e.g. web browsing, background email download, instant messaging server keepalives, etc. Other use cases might include an audio/video encoding and even a 3D game.
One requirement is that the workload be simulated through a C program, shell script, etc. An Android UI should not be required, for example.
For the better tuning of the scheduler internals, a precise scheduler-specific test and benchmark tool would be also desirable. Such a tool might include the test cases and benchmarks for the process/thread creation/
Details about scheduler discussions are at: https:/
Blueprint information
- Status:
- Complete
- Approver:
- Amit Kucheria
- Priority:
- Medium
- Drafter:
- Dmitry Antipov
- Direction:
- Approved
- Assignee:
- Dmitry Antipov
- Definition:
- Superseded
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2012.06
- Started by
- Amit Kucheria
- Completed by
- Amit Kucheria
Related branches
Related bugs
Sprints
Whiteboard
[dzin Aug 9, 2012] Superseded by https:/
Meta:
Headline: TBD
Acceptance: TBD
Roadmap id: PMWG2011-
An adequate simulation of browsing workload may be a challenging task. Even a simple browsing simulation implies parallel HTTP downloads, parsing, image rendering, JavaScript execution, and so. More advanced simulation might include audio/video playback, HTTPS, interaction with social networks... Ideally, there should be a special "headless" (no GUI or smallest possible GUI), but full-featured, and script-driven browser which allows full automation of emulated user interface. There is at least one project tries to meet these requirements, see http://
This blueprint will try to describe some possible approaches to meet the requirements from the above, and the most perspective one is to utilize WebKit (http://
Now there is an automated (requires no user interaction) Wikipedia browsing test application, hosted at http://
Multimedia workload simulation (audio/video decoding) is a simpler task because this process initially implies a little or even no user interaction at all. There is a good opportunity to use ffmpeg command-line tool from http://
For the scheduler-specific test and benchmark tool, different approaches from SysBench (http://
Work Items
Work items for 2012.03:
[dmitry.antipov] Use a basic web browsing usecase to simulate using C/shell program: DONE
Work items for 2012.04:
[dmitry.antipov] Figure out a way to record/playback process data - context switches, interrupts: DONE
[dmitry.antipov] Investigate perf record to capture data related to running process: DONE