a preliminary study of the impact of software engineering
play

A Preliminary Study of the Impact of Software Engineering on - PowerPoint PPT Presentation

A Preliminary Study of the Impact of Software Engineering on GreenIT A URLIEN B OURDON A DEL N OUREDDINE R OMAIN R OUVOY L IONEL S EINTURIER prenom.nom@inria.fr PROJECT TEAM ADAM Inria Lille Nord Europe Universit Lille 1 LIFL


  1. A Preliminary Study of the Impact of Software Engineering on GreenIT A URÉLIEN B OURDON A DEL N OUREDDINE R OMAIN R OUVOY L IONEL S EINTURIER prenom.nom@inria.fr PROJECT TEAM ADAM Inria Lille – Nord Europe Université Lille 1 – LIFL – CNRS

  2. Information Technologies 13 % French electricity consumption Context French ministries. IT & Sustainable Development report 2 A Preliminary Study of the Impact of Software Engineering on GreenIT

  3. Information Technologies 13 ? % French electricity consumption Context French ministries. IT & Sustainable Development report 3 A Preliminary Study of the Impact of Software Engineering on GreenIT

  4. Information Technologies 13 ? % French electricity consumption Context French ministries. IT & Sustainable Development report Research Opportunities 4 A Preliminary Study of the Impact of Software Engineering on GreenIT

  5. Information Technologies 13 ? % French electricity consumption Context French ministries. IT & Sustainable Development report Research Opportunities 5 A Preliminary Study of the Impact of Software Engineering on GreenIT

  6. Information Technologies 13 ? % French electricity consumption Context French ministries. IT & Sustainable Development report Research Opportunities 6 A Preliminary Study of the Impact of Software Engineering on GreenIT

  7. Energy Monitoring Framework A Preliminary Study of the Impact of Software Engineering on GreenIT

  8. Can we monitor the Accuracy consumption of an application? 8 A Preliminary Study of the Impact of Software Engineering on GreenIT

  9. 0.5% error margin Can we monitor the Accuracy consumption of an application? 9 A Preliminary Study of the Impact of Software Engineering on GreenIT

  10. What is the Overhead monitoring overhead? 10 A Preliminary Study of the Impact of Software Engineering on GreenIT

  11. 0.2W overhead What is the Overhead monitoring overhead? 11 A Preliminary Study of the Impact of Software Engineering on GreenIT

  12. Breakdown How does it differ from a powermeter? 12 A Preliminary Study of the Impact of Software Engineering on GreenIT

  13. Disk stress Breakdown How does it differ Disk from a powermeter? CPU 13 A Preliminary Study of the Impact of Software Engineering on GreenIT

  14. • Accurate process-level estimation • Support for CPU, Disk, Ethernet, RAM • No hardware investment required Summary • Limited overhead • Large-scale deployment • Microscope «à la carte» • On-demand configuration & adaptation • Published in ICSE/Greens’12 & ASE’12 • Transfert in progress • Freely available as OSS [1] • GreenCodeLab + ADEME [1] http://adam.lille.inria.fr/pmwiki.php/Topics/Green A Preliminary Study of the Impact of Software Engineering on GreenIT

  15. Empirical Case Studies A Preliminary Study of the Impact of Software Engineering on GreenIT

  16. What is the cost Greens 2012 of programming languages? A. Noureddine, A. Bourdon, R. Rouvoy, and L. Seinturier. A Preliminary Study of the Impact of Software Engineering on GreenIT . In 1 st International Workshop on Green and Sustainable Software (GREENS'12/ICSE'12) 16 A Preliminary Study of the Impact of Software Engineering on GreenIT

  17. Tower of Hanoi (recursive, logarithm scale) Language Footprint Perl Python Ocaml opt Ocaml Prolog Pascal Java C++, O3 C++, O2 C++ C, O3 C, O2 C 1 10 100 1000 10000 100000 17 A Preliminary Study of the Impact of Software Engineering on GreenIT

  18. Tower of Hanoi (recursive, logarithm scale) Language Footprint Perl Python Ocaml opt Ocaml Prolog Pascal Java C++, O3 C++, O2 C++ C, O3 C, O2 C 1 10 100 1000 10000 100000 18 A Preliminary Study of the Impact of Software Engineering on GreenIT

  19. Tower of Hanoi (recursive, logarithm scale) Language Footprint Perl Python Ocaml opt Ocaml Prolog Pascal Java C++, O3 C++, O2 C++ C, O3 C, O2 C 1 10 100 1000 10000 100000 19 A Preliminary Study of the Impact of Software Engineering on GreenIT

  20. Where is spent ASE 2012 the energy inside my app? A. Noureddine, A. Bourdon, R. Rouvoy, and L. Seinturier. Runtime Monitoring of Software Energy Hotspots . In 27 th International Conference on Automated Software Engineering (ASE'12) 20 A Preliminary Study of the Impact of Software Engineering on GreenIT

  21. Case study • Complex application: > 88,000 SLOC • Apache JMeter to stress Jetty’s examples • One minute, 20 threads, loop count of 500 • 146 monitored classes & 726 methods 21 A Preliminary Study of the Impact of Software Engineering on GreenIT

  22. Class-level consumption Others io/BufferCache 22% 2% server/HttpConn ection io/AbstractBuffer 2% 39% io/View 3% util/Utf8Appenda ble io/ByteArrayBuff 4% er 24% server/Request 4% A Preliminary Study of the Impact of Software Engineering on GreenIT

  23. 7 classes out of 146 Class-level consumption ~80% energy Others io/BufferCache 22% 2% server/HttpConn ection io/AbstractBuffer 2% 39% io/View 3% util/Utf8Appenda ble io/ByteArrayBuff 4% er 24% server/Request 4% A Preliminary Study of the Impact of Software Engineering on GreenIT

  24. Top10 consuming methods CPU Energy % Number of Invocations 60000 16% 14% 50000 12% 40000 10% 30000 8% 6% 20000 4% 10000 2% 0 0% 24 A Preliminary Study of the Impact of Software Engineering on GreenIT

  25. Top10 consuming methods CPU Energy % Number of Invocations 60000 16% 14% 50000 12% 40000 10% 30000 8% 6% 20000 4% 10000 2% 0 0% Top10 > 50% (of 726, 1.3%) 25 A Preliminary Study of the Impact of Software Engineering on GreenIT

  26. 6 Method consumption 5 4 3 2 1 0 26 A Preliminary Study of the Impact of Software Engineering on GreenIT

  27. Measure Granularity OS or Software Software Energy Non-Intrusive meter Related Work ✔ ✔ ✖ Power meters Hardware ✔ ✖ PowerScope Process OS ✔ ✔ pTop Process OS for network ✔ ✖ Energy Code Software Checker ✖ ✔ ✔ OS utilities Process ✖ ✔ Software Code Depends on profilers profiler E-Surgeon ✔ Code ✔ ✔ 27 A Preliminary Study of the Impact of Software Engineering on GreenIT

  28. QUESTIONS A Preliminary Study of the Impact of Software Engineering on GreenIT

  29. L ife C ycle A ssessment ( LCA ) for a common PC 45 Eco- Indicator’99 points 30 15 0 -15 -30 Manufacturing Distribution Use End of Life Human Health Ecosystem Quality Resources Duan & al. Life cycle assessment study of a Chinese desktop personal computer 29 A Preliminary Study of the Impact of Software Engineering on GreenIT

  30. All Console CPU Memory Network Graphic File Console Listeners Event Bus API Publish Subscribe CPU CPU Memory Memory Network Network Sensors Formulae 30 A Preliminary Study of the Impact of Software Engineering on GreenIT

  31. Scalability 31 A Preliminary Study of the Impact of Software Engineering on GreenIT

  32. Scalability Monitoring 1 application  Monitoring 170 applications 32 A Preliminary Study of the Impact of Software Engineering on GreenIT

  33. PowerTop No reusable libraries State of the Art Not easy to support platform JouleMeter interoperability pTop Development is over Manual calibration EnergyChecker Requires external device 33 A Preliminary Study of the Impact of Software Engineering on GreenIT

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend