Handheld Device Architectures: Are We Doing Enough? Manu Awasthi - - PowerPoint PPT Presentation

handheld device architectures are we doing enough
SMART_READER_LITE
LIVE PREVIEW

Handheld Device Architectures: Are We Doing Enough? Manu Awasthi - - PowerPoint PPT Presentation

Handheld Device Architectures: Are We Doing Enough? Manu Awasthi Ashoka University Handheld Devices Android Versions https://www.counterpointresearch.com/can-android-o- de-fragment-android/ Memory Usage


slide-1
SLIDE 1

Handheld Device Architectures: Are We Doing Enough?

Manu Awasthi Ashoka University

slide-2
SLIDE 2

Handheld Devices

slide-3
SLIDE 3

Android Versions

https://www.counterpointresearch.com/can-android-o- de-fragment-android/

slide-4
SLIDE 4

Memory Usage

https://eitik.com/17-android-browser-tested-for-memory-usage-in-2018/

slide-5
SLIDE 5

A Few Trends

5

slide-6
SLIDE 6

Mobile Architecture Research

  • Mobile computing research: 1% of research papers published each

focus on mobile computing.

  • Lack of tools
  • V. J. Reddi, H. Yoon, and A. Knies, “Two billion devices and counting,” IEEE Micro, vol. 38, no. 1, pp. 6–21, January/February 2018.
slide-7
SLIDE 7

What is needed?

  • Tool and Simulators
  • Benchmarks

BBench (Michigan) AsimBench (ICT, China)

slide-8
SLIDE 8

Current Status

slide-9
SLIDE 9

Android Emulator

Android Open Source Project (AOSP)

Android Virtual Device (AVD)

Android Emulator

Device Behavior

How do we leverage the existing ecosystem to study memory behavior of Android apps?

slide-10
SLIDE 10

META: Tool Design

MobiCom 2018

slide-11
SLIDE 11

Tracer Module - Modifications in QEMU

Modified Translation Path

slide-12
SLIDE 12

Raw Traces

slide-13
SLIDE 13

META: Tool Design : Cache Module

slide-14
SLIDE 14

Cache Simulation Module

L1 and L2 Cache hit rates available after running a calculator on a range of android versions from Android 4 (Kitkat) to Android 7 (Nougat).

slide-15
SLIDE 15

META: Tool Design: Memory Module

slide-16
SLIDE 16

NVMain Integration

  • NVMain : cycle-level main memory

simulator

  • Can simulate DRAM, emerging non-

volatile memories at the architectural level.

Phase change memory, STT-RAM

slide-17
SLIDE 17

Potential Use-cases

  • Trace Generation

The traces can also be used to analyze instruction distribution profile.

Creation of synthetic inputs to models based on real instruction profiles

  • Cache Hierarchy Modeling

A custom, N-level cache hierarchy

  • DRAM, Non-volatile, Hybrid Memory Simulation

NVMain can model most technologies

slide-18
SLIDE 18

Trends in Handheld Devices

18

https://thehackernews.com/2015/09/6gb-ram-smartphone.html

http://www.es.ele.tue.nl/~kgoossens/Chandrasekar14PHD.pdf https://www.pwc.com/gx/en/technology/mobile-innovation/assets/pwc-dram-memory.pdf

slide-19
SLIDE 19

Handhelds and Smartphones

19 Hexagon DSP: An Architecture Optimized for Mobile Multimedia and Communications, IEEE Micro, Vol 34, 2014

slide-20
SLIDE 20

Main Memory in Handhelds

20 20

MC Core 1 Core 2 Core 3 Core 4 Fabric Fabric GPU Camera Display

Audio

Sensors Modem

DRAM DRAM

slide-21
SLIDE 21

Handheld Applications

21

If frequently accessed data can be concentrated to the fastest regions of a hybrid memory hierarchy, memory system’s energy consumption can be reduced significantly, without any significant loss in performance and user experience.

slide-22
SLIDE 22

Hybrid Memory Architectures for Handhelds

Total Physical Address Space 0 GB 4 GB Sub Address Space Sub Address Space Sub Address Space

DRAM Mem Tech 2 NVM

slide-23
SLIDE 23

Hybrid Main Memory in Handhelds

23 23

MC Core 1 Core 2 Core 3 Core 4 Fabric Fabric GPU Camera Display

Audio

Sensors Modem

DRAM NVM

MC

DATE 2018

slide-24
SLIDE 24

Hybrid Main Memory in Handhelds

24

MC

Core 1 Core 2 Core 3 Core 4 Fabric Fabric GPU Camera Display

Audio

Sensors Modem

DR AM

N V M

MC MC MC

N V M

DR AM

DATE 2018

slide-25
SLIDE 25

Results

25

slide-26
SLIDE 26

Results – 4 Controllers

26

slide-27
SLIDE 27

Key Takeways

  • Research into handheld devices architectures is important, more so in

the era of wearables

  • Memory sub-system is becoming increasingly important, even in handheld
  • Need tools, benchmarks to carry research forward
  • META – one step in that direction
  • NVMs will eventually be integrated into memory hierarchy
  • Mechanisms to provide access to high capacity, low latency memories might

require intelligent data management

  • H/W – S/W co-design is better than one or the other.

27

slide-28
SLIDE 28

Acknowledgements

Varun Gohil, Sneha Ved (IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)