Sasken Confidential © 2009 Sasken Communication Technologies Future of TTCN-3 Power Management and Testing Infrastructure 3 May 2012.

Slides:



Advertisements
Similar presentations
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
Advertisements

Performance Testing - Kanwalpreet Singh.
Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Introduction CSCI 444/544 Operating Systems Fall 2008.
Chapter 13 Embedded Systems
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
© 2005 Prentice Hall7-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Azad Madni Professor Director, SAE Program Viterbi School of Engineering Platform-based Engineering: Rapid, Risk-mitigated Development.
OPERATING SYSTEM OVERVIEW
Define Embedded Systems Small (?) Application Specific Computer Systems.
Chapter 13 Embedded Systems
CHAPTER 9: Input / Output
1 I/O Management in Representative Operating Systems.
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
HOME AUTOMATION THROUGH ANDROID MOBILE. What is Home Automation?  Home automation involves introducing a degree of computerized or automatic control.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
EstiNet Network Simulator & Emulator 2014/06/ 尉遲仲涵.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
Basic Input Output System
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
Low-Power Wireless Sensor Networks
CHAPTER 9: Input / Output
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Intro to Architecture – Page 1 of 22CSCI 4717 – Computer Architecture CSCI 4717/5717 Computer Architecture Topic: Introduction Reading: Chapter 1.
OPERATING SYSTEMS Goals of the course Definitions of operating systems Operating system goals What is not an operating system Computer architecture O/S.
High Performance Embedded Computing © 2007 Elsevier Lecture 3: Design Methodologies Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte Based.
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
1 Abstract & Main Goal המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory The focus of this project was the creation of an analyzing device.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
The Performance of μ-Kernel-Based Systems H. Haertig, M. Hohmuth, J. Liedtke, S. Schoenberg, J. Wolter Presenter: Sunita Marathe.
Chapter 4: Multithreaded Programming. 4.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts What is Thread “Thread is a part of a program.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Mobile Application Testing Mobile Application Testing.
System Architecture Directions for Networked Sensors.
Power Guru: Implementing Smart Power Management on the Android Platform Written by Raef Mchaymech.
© 2002, Cisco Systems, Inc. All rights reserved..
Page 1 2P13 Week 1. Page 2 Page 3 Page 4 Page 5.
TTCN-3 Testing and Test Control Notation Version 3.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Evaluation of Advanced Power Management for ClassCloud based on DRBL Rider Grid Technology Division National Center for High-Performance Computing Research.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
Software and Communication Driver, for Multimedia analyzing tools on the CEVA-X Platform. June 2007 Arik Caspi Eyal Gabay.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Power Management in Embedded Systems
Threads vs. Events SEDA – An Event Model 5204 – Operating Systems.
Mobile Operating System
Introduction to Operating System (OS)
Architecture & Organization 1
MOBILE DEVICE OPERATING SYSTEM
CMPE419 Mobile Application Development
Improving java performance using Dynamic Method Migration on FPGAs
Architecture & Organization 1
QNX Technology Overview
Journey: Introduction to Embedded Systems
The performance requirements for DSP applications continue to grow and the traditional solutions do not adequately address this new challenge Paradigm.
Windows Virtual PC / Hyper-V
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Sasken Confidential © 2009 Sasken Communication Technologies Future of TTCN-3 Power Management and Testing Infrastructure 3 May 2012

2 © 2009 Sasken Communication Technologies The paper is proposed as a value addition in the Future of TTCN-3, for support of the system power management testing aspects. The presentation describes new areas of challenges, issues, use cases and test solution of the power management in an embedded/mobile system. The power management testing aspects will provide better system evaluation and help in tuning the system for optimal power usage in various possible scenarios. Paper proposition

3 © 2009 Sasken Communication Technologies The objective of power management system is to turn off or switch the system to a low power state when inactive. The evolution of the embedded devices and cell phones is manifested both by growth in units shipped and a persistently snowballing feature set. Manufacturers add these features under the competitive pressures of curtailing cost and maximizing talk time and stand by power. TTCN-3 should support the power measurements and testing aspects and test automation at all levels of the system starting from the IC chip boards to the drivers, application framework and applications. The advantages of power management: 1.Reduce overall power consumption 2.Maximize battery life 3.Lower power consumption means lower heat dissipation which increases system stability 4.Less power consumption will save money and reduce impact on the environment Why Power Management?

4 © 2009 Sasken Communication Technologies What is Power Management?–(1/2) To save power, obvious choice is to power off the device when not in use. The problem is when user keeps using the device very frequently, switching off and switching on each time consumes more power than keeping it powered on.  Avoid polling: Applications have to avoid unnecessary polling. Though polling many times will be simple solution, every time application polls, CPU wakes up from idle state, thus consuming more power.  Group timers: Polling may not be completely avoidable. If polling is required, applications that use timers can be grouped such that all applications polls almost at the same time to avoid multiple wake ups of CPU.

5 © 2009 Sasken Communication Technologies What is Power Management?–(2/2) Unused devices: If a device is no longer used by application, it has to be closed. If it is kept open even though it is not required, kernel will assume that device is in use. As a result, device will not go to power saving state. Of course, there will be inactivity timer which will make sure device goes to power saving state. Sufficient buffers: Allocate enough buffers to avoid frequent access to external memory.

6 © 2009 Sasken Communication Technologies Gaps in the TTCN Test System References in power testing: Using TTCN-3 to Design Performance Tests, presented by George Din, Cosmin Rentea at TTCN-3 User Conference 2006, June 2 nd 2006, Berlin. This system proposes the general performance testing and does not refer to power measurements in specific. Some papers are there in the distributed testing of the electric power measurements domain. None of the solutions searched on the internet showed up the power management and testing infrastructure on the TTCN-2 & 3 systems for the embedded handsets!! This is the gap the paper proposes to address, the value add of power management and testing infrastructure on the embedded handsets. Many proprietary power test systems exist. E.g.

7 © 2009 Sasken Communication Technologies Power Management Use Cases Linux system is managed by either Advanced Power Management (APM) or Advanced Configuration and Power Interface (ACPI).The core power driver was added to the Linux kernel in order to facilitate low level drivers to control the peripherals supported by the Power Manager. Multimedia : As codecs is CPU intensive it drains power. So a state machine to save & resume the decoding state in case of an interrupt/error is beneficial. Messaging and Browser: Applications should avoid parsing the data for XML, codecs etc. often as this is very CPU intensive and drains power. Device Management : The firmware/application updates are power intensive hence they should consider having the delta firmware memory updates and not complete firmware updates. Memory operations should be limited as they consume power. One possible way is to allocate a chunk of memory and then keep using and free the chunk at the application quit time only.

Sasken Confidential © 2009 Sasken Communication Technologies Future of TTCN-3 TTCN-3 Test Infrastructure 3 May 2012

9 © 2009 Sasken Communication Technologies TTCN3 Architectural Blocks Support from the TTCN-3 is as elucidated below:  The Platform Adapter (PA) should offer operations for handling absolute time and real time platform integrations.  The Component Handler (CH) should support time synchronization or test system architecture should be extended by a time synchronization interface.  The PA and CH should support multiple cores Symmetric multi- processing also for multiple core platforms testing.  For high performance real-time distributed testing all operations of the TTCN-3 test system should have deterministic time behavior. This can be realized by using real-time operation system and real- time programming (e.g. JRTS) for developing TTCN-3 test system.

10 © 2009 Sasken Communication Technologies TTCN-3 Architecture Note: Diagram from:

11 © 2009 Sasken Communication Technologies TTCN-3 System Details – (1/2) TTCN-3 is used to specify tests, the order of execution and a test system to execute the TTCN-3 tests. TRI and TCI standards define test system architecture. TTCN-3 tools are required to support internal interfaces. Allows reuse of test platform components with different tools but also for different System Under Tests (SUTs). The construction of a TTCN-3 test system requires A TTCN-3 test suite. A TTCN-3 tool, i.e., a TTCN-3 compiler (or interpreter) plus execution environment.

12 © 2009 Sasken Communication Technologies TTCN-3 System Details – (2/2) Optionally implementations for test execution control, logging and codecs.(Most commercial tools offer default implementations for these entities). A SUT Adapter implementing the means of communication required by SUT platform interfaces. A Platform Adapter implementing a timing model, e.g., power timing clock, and external platform functions (if there are any defined in the test suite).

Sasken Confidential © 2009 Sasken Communication Technologies Future of TTCN-3 Power Management TTCN-3 Test Infrastructure 3 May 2012

14 © 2009 Sasken Communication Technologies Power Management Test Architecture in TTCN-3 System Under Test SUT Adapters (Platform Calls) SUT Adapters (Platform Calls) Platform Adaptors(OS call) TTCN-3 Test System TTCN-3 Executable Test Control Logging Codecs Test System Executor Graphics Session Manager User Interface Hardware & drivers OS layer Protocols & Libraries Application Framework Applications Mobile Handset Hardware, drivers, battery, CPU tests OS calls tests Protocols & network tests Monkey tests, benchmark tests Multimedia, Browser, DM applications tests Power Management Tests

15 © 2009 Sasken Communication Technologies Power Management Tests Functionality – (1/2) The power management test automation suite helps run the power management functionality tests and report results for:  CPU frequency  CPU idle  CPU state  CPU Active durations  CPU Sleep  Peripheral power usage There could be graphs like:  Power versus time  CPU frequency versus time  CPU frequency versus power  Memory versus power etc.

16 © 2009 Sasken Communication Technologies Power Management Tests Functionality – (2/2) E.g. Power TOP could give the CPU states of the processes. That could further be analyzed and based on the results system CPU, drivers and software could be fine tuned for optimized power. CPU consolidation test cases should be executed for multiple numbers of CPUs. If system is hyper threaded but number of CPU is 1 then some of the test cases will be executed. For better coverage of test cases there should be support for selecting a system which is at least quad core and then hyper threaded so that multiple CPU's testing could be covered. This would require the Symmetric multi-processing techniques to be supported. And also real time support. Timer migration and Symmetric multi-processing functionality verification test cases should be executed only on suitable architecture like quad core or multiple CPUs.

17 © 2009 Sasken Communication Technologies Power Management Test System Flow Test Control Logging Codecs Test System Executor Graphics Session Manager User Interface Platform Adaptors(OS ) Hardware, drivers, battery, CPU tests OS calls tests Protocols & network tests Monkey tests, benchmark tests Multimedia, Browser, DM applications tests Power Management Tests Battery Levels CPU details Memory details Time measures Solution to measure platform data TRI Interfaces TCI Interfaces SUT Adapters (Platform Calls) SUT Adapters (Platform Calls) Power vs. Time Graph

18 © 2009 Sasken Communication Technologies Support in TTCN-3 for Physical Layer of Testing The physical layer of the batteries, CPU, clock etc.: access, continuous signals and physical environment. Platform adapter and TRI interfaces will help to access the physical layer registers, events and triggers from hardware and set, monitor them in the test control and logging modules. The implementation would cover particular platform adaptors for various mobile platforms and mobile OSes. The implementation of PA/SA is specialized for each cellular devices for platform related and system related aspects like drivers, OS calls and peripherals. The PA and CH should support multiple cores Symmetric multi- processing also for multiple core platforms testing. The TTCN-3 executable will contain the power management tests module.

19 © 2009 Sasken Communication Technologies Support in TTCN-3 for the Testing of Power Management Test control & execution would allow tester to configure different parameters, timing related and iteration related parameters. The TCI interfaces will integrate this with the TTCN-3 executable. Logging would log all the power parameters tested for a session. Test system executor, will contain the session management. It would also manage multiple sessions during testing. This would help the tester to have multiple application sessions run and evaluate the power parameters across the system. The session manager will receive all the inputs from logging and test control during a session. Graphics support can be used to plot the power graphs. This can be incorporated in TTCN-3 executable. TTCN-3 test System executor would have a user interface to take in user inputs/display power test results as tables/graphs.

20 © 2009 Sasken Communication Technologies Benefits and Advantages The organizations benefits are as anticipated below:  Cellphones, smart phones and other embedded device manufacturers demand increasingly complex power management chipsets and software systems while driving lower cost. The TTCN-3 must enable manufacturers to satisfy these needs.  At system level a TTCN-3 software environment allows rapid debug and release to production.  An architecture that supports high parallel efficiency and power allows manufacturers to take advantage of multiple CPU systems.  TTCN-3 enables solid repeatability and reproducibility, supports fast threshold determination and be able to make accurate differential measurements.

21 © 2009 Sasken Communication Technologies Conclusion With TTCN-3 test tools, test engineering organizations are well- positioned to deliver on-time, cost effective solutions into production. The addition of the test infrastructure of the power management aspects in the TTCN-3 would empower the accomplishment of testing characteristics. The test outcomes would further aid to fine tune the system and hardware parameters and application parameters as essential.

Sasken Confidential © 2009 Sasken Communication Technologies Thank You Visit us at