28
Handheld Device Architectures: Are We Doing Enough? Manu Awasthi Ashoka University

Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HandheldDeviceArchitectures:AreWeDoingEnough?

ManuAwasthiAshokaUniversity

Page 2: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HandheldDevices

Page 3: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

AndroidVersions

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

Page 4: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

MemoryUsage

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

Page 5: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

AFewTrends

5

Page 6: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

MobileArchitectureResearch● Mobile computing research: 1% of research papers published eachfocus on mobile computing.

● Lack of tools

V.J.Reddi,H.Yoon,andA.Knies,“Twobilliondevicesandcounting,”IEEEMicro,vol.38,no.1,pp.6–21,January/February2018.

Page 7: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

Whatisneeded?

• ToolandSimulators

• Benchmarks

BBench(Michigan)

AsimBench(ICT,China)

Page 8: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

CurrentStatus

Page 9: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

AndroidEmulator

AndroidOpenSourceProject(AOSP)

AndroidVirtualDevice(AVD)

AndroidEmulatorDeviceBehavior

HowdoweleveragetheexistingecosystemtostudymemorybehaviorofAndroidapps?

Page 10: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

META:ToolDesign

MobiCom2018

Page 11: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

TracerModule- ModificationsinQEMU

ModifiedTranslationPath

Page 12: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

RawTraces

Page 13: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

META:ToolDesign :CacheModule

Page 14: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

CacheSimulationModule

L1andL2CachehitratesavailableafterrunningacalculatoronarangeofandroidversionsfromAndroid4(Kitkat)toAndroid7(Nougat).

Page 15: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

META:ToolDesign:MemoryModule

Page 16: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

NVMainIntegration

● NVMain :cycle-levelmainmemorysimulator

● CansimulateDRAM,emergingnon-volatilememoriesatthearchitecturallevel.○ Phasechangememory,STT-RAM

Page 17: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

PotentialUse-cases

● TraceGeneration○ Thetracescanalsobeusedtoanalyzeinstructiondistributionprofile.○ Creationofsyntheticinputstomodelsbasedonrealinstructionprofiles

● CacheHierarchyModeling○ Acustom, N-levelcachehierarchy

● DRAM,Non-volatile,HybridMemorySimulation○ NVMain canmodelmosttechnologies

Page 18: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

TrendsinHandheldDevices

18

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

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

Page 19: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HandheldsandSmartphones

19HexagonDSP:AnArchitectureOptimizedforMobileMultimediaandCommunications,IEEEMicro,Vol34,2014

Page 20: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

MainMemoryinHandhelds

2020

MC

Core1 Core2

Core3Core4

Fabric Fabric

GPU

Camera

Display

Audio

Sensors

Modem

DRAM DRAM

Page 21: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HandheldApplications

21

Iffrequentlyaccesseddatacanbeconcentratedtothefastestregionsofahybridmemoryhierarchy,memory

system’senergyconsumptioncanbereducedsignificantly,without anysignificantlossinperformanceanduser

experience.

Page 22: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HybridMemoryArchitecturesforHandhelds

TotalPhysicalAddressSpace0GB 4GB

SubAddressSpace SubAddressSpace SubAddressSpace

DRAMMemTech2NVM

Page 23: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HybridMainMemoryinHandhelds

2323

MC

Core1 Core2

Core3Core4

Fabric Fabric

GPU

Camera

Display

Audio

Sensors

Modem

DRAM NVM

MC

DATE2018

Page 24: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

HybridMainMemoryinHandhelds

24

MC

Core1 Core2

Core3Core4

Fabric Fabric

GPU

Camera

Display

Audio

Sensors

Modem

DRAM

NVM

MC MC MC

NVM

DRAM

DATE2018

Page 25: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

Results

25

Page 26: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

Results– 4Controllers

26

Page 27: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

KeyTakeways

• Researchintohandhelddevicesarchitecturesisimportant,moresointheeraofwearables• Memorysub-systemisbecomingincreasinglyimportant,eveninhandheld• Needtools,benchmarkstocarryresearchforward• META– onestepinthatdirection

• NVMswilleventuallybeintegratedintomemoryhierarchy• Mechanismstoprovideaccesstohighcapacity,lowlatencymemoriesmightrequireintelligentdatamanagement• H/W– S/Wco-designisbetterthanoneortheother.

27

Page 28: Handheld Device Architectures: Are We Doing Enough?cs.ashoka.edu.in/wocs2018/slides/wocs2018-manu.pdf · Varun Gohil, SnehaVed(IIT Gandhinagar) Nisarg Parikh (LD College of Engineering)

Acknowledgements

VarunGohil,Sneha Ved (IITGandhinagar)

NisargParikh(LDCollegeofEngineering)