[フレーム]
PPT, PDF9,352 views

Code for the earth OCP APAC Tokyo 2013-05

The document discusses the development of an eco-friendly application framework called Eco PHP, aimed at improving runtime efficiency and reducing energy consumption in computing. It highlights the importance of measuring energy efficiency in various services, particularly in web applications, and advocates for a new programming culture focusing on electric-power efficiency. Additionally, it outlines related projects and future revisions to further enhance the eco programming landscape.

Download to read offline
Code for the Earth OCP APAC Engineering Workshop Tokyo Day2 (2013年5月28日) • Application Framework (eco PHP) • Measurement of Runtime Efficiency Cloud Business Alliance Tetsu Saburi, Hideyuki Fukuhara
Session Positioning Application Framework designing "eco PHP" and promote "code for earth" Measurement of Runtime Efficiency This Topic OCP Project
100 Google searches = 30Wh How much energy do you use when you type in a Google search or watch a YouTube video? Google said that 100 searches are equal to a 60-watt light bulb burning for 28 minutes. "Specifically, we currently use about 0.0003 kWh of energy to answer the average search query," Google said. "This translates into roughly 0.2g of carbon dioxide." 2011 PC Magazine 60W 28min x 100 = We ICT user should care about energy consumption of the service that we use.
APPLICATION FRAMEWORK new programming culture (eco PHP) for electric-power-efficiency
Eco Application Framework Eco Programming Eco Platform Software x efficiency = work served by program Energy consumption Measurement of Runtime Efficiency Hardware (Application Framework) (CPU, ..., Shipho) Programmer PHP engine
Eco Programming Only using eco platform is not enough eco platform + good program = efficient Eco car Only using eco car is not enough eco car + bad driving = wasting energy eco car + eco driving = efficient eco platform + bad program = not efficient Programming Convention Driving Manner Eco Platform Eco Platform Eco Platform
Eco Platform OS Library Language Server Cluster CPUs print "Hello World" programmer Framework Current framework and language is designed only for programmer Eco Platform is designed for the earth and programmer. = flexible, scalable, and efficient across the entire stack and easy to maintain PHP, Ruby, Python, Java, Javascript, C#, ..., Django, RoR, ..., OpenMPI, ... programmer language Application framework H/W (CPU) library e.g. - eco PHP platform - eco Ruby platform Application - Web Application - High Performance Computing (CFD, bio, ...)
Distributed Computing Platform for Cluster ...... App App App App App App App App AppApp App AppApp App IaaS/Hardware Distributed Platform OS VM distributed application platform server server Distributed Platform consists of - distributed execute engine: load management and execution fault tolerance - distributed storage: fault tolerance for persistent data - distributed memory: fault tolerance for runtime data (temporary data) - easy to maintain Flavor - Web: small and frequent application (affinity and cache consideration) - HPC: big and long life application (runtime robust, <-homomorphic coding) For cluster (many servers), high efficient and easy-to-use platform is needed.
Astimegoon -Complex -Heavy -Expensive Web Application Framework for Cluster HTTP + Cookie + CGI HTTP + Application Server + Session HTTP + Heavy Application Server + Heavy Object Session Load Balancer Heavy Load Balancer memchache Web App Framework History - simple server framework for cluster - minimum session, minimum server persistence - reconsideration of cookie and client (instead of session & load balancer model) - not only request/response model but also publish/subscribe model or ... Reconsideration of Web App Framework for efficiency e.g. HTTP + Cookie + CGI/wsgi/rack/... or PHP (no session or minimum session framework) Light Load Balance (low cost and loose relation of user & server, DNS RR, SDN, ...) + + + RDB+ RDB NoSQL+ +cache+ Rails, Django, ... NoSQL time
Eco PHP Platform •Eco PHP language= subset of PHP (optimized for Compiler and CPU like http://asmjs.org/ in JS world) •Eco programming convention and Eco Programmer •Eco library •Eco language engine •HipHop compiler •HipHop machine (VM, Processor, SoC) •Eco framework for cluster •Application framework with distributed computing technology •Disaggregated Rack
Eco Programming Culture new programming culture Eco programming is more electric-power-efficient programming. Eco language, eco platform, eco programming convention, and eco programmer makes the world better. eco PHP is cool! Like Eco Wordpress
Goal Create new programming culture • Build eco application framework (eco PHP and middleware) • Foster eco programmer (eco programming conventions) Key technology • Building eco platform to maximize runtime efficiency on OCP physical system • Measurement of runtime efficiency
MEASUREMENT OF RUNTIME EFFICIENCY for the most efficient computing infrastructures
Measuring efficiency Hacking Conventional Computing Infrastructure We started a project at Facebook almost two years ago with a pretty big goal: to build one of the most efficient computing infrastructures at the lowest possible cost. We decided to honor our hacker roots and challenge convention by custom designing and building our software, servers and data centers from the ground up – and then share these technologies as they evolve. Measure the runtime efficiency
Runtime energy efficiency calls of Function A Energy consumption of CPU (Wh) user operations of Application A Energy consumption of server (Wh) Work served Energy consumption e.g.
Example of efficiency Facebook users Power Plants Blog views & updates / sec Racks CPUs convert(), edit(), ... Library calls / sec
energy measurement scope work granularity CPU CPU + memory CPU + memory + IO ... Server ... Servers ... Code snippet Function  Application  work served energy consumption Choice of numerator and denominator Work granularity •Code snippet: e.g. for(){...}, ... •Function: e.g. regex, image processing, ... •Application: e.g. wordpress •Service: facebook Energy consumption measurement scope •CPU •CPU + memory ... •Server ... •+ Network + Client
Type of measurement application / server work load eco Wordpress 201x Load scenario A - user behavior A - 1000 user - 10 min energy measurement scope Server (OCP1.0 H/W) x 1 Example 1: Application/Server Application (wordpress) A Server Energy consumption Work(Load) Eco wordpress 2014 Eco wordpress 2015 Eco wordpress 2016 Year Test pattern (work load) is contributed by facebook/linaro results?
Example2: CFD Benchmark/A Disaggregated Rack Fluid Calculation (CFD Benchmark) A Disaggregated Rack for HPC
Relations with other OCP Project • HipHop Project (PHP Compiler, PHP VM) • Processor or SoC Project? (Intel, AMD, ARM, ...) • Disaggregated Rack • Japan chapter: "eco Ruby" sub project
2015 document 1 . Application Framework 1.1 Eco PHP 2015 1.1.1 language spec 1.1.2 programming convention 2. Measurement 2.1 wordpress/rack 2.2 2014 vs 2015 ... Documents in future 2014 document 1. Application Framework 1.1 Eco PHP 2014 1.1.1 language spec 1.1.2 programming convention 2. Measurement 2.1 wordpress/server 3. Future vision Application Framework And Measurement of Runtime Efficiency 2014 2016 document 1. Application Framework 1.1 Eco PHP 2016 1.1.1 language spec 1.1.2 programming convention 1.2. Eco Ruby 2016 ... 2. Measurement 2.1 wordpress/rack 2.2 eco library/CPU ... Energy Work(Load) Eco wordpress 2014 Eco wordpress 2015 Eco wordpress 2016

More Related Content

Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
PPTX
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Performance Benchmarking of Clouds Evaluating OpenStack
PDF
Performance Benchmarking of Clouds Evaluating OpenStack
Challenges of Kubernetes On-premise Deployment
PPTX
Challenges of Kubernetes On-premise Deployment
Automating auto-scaled load balancer based on linux and vm orchestrator
PDF
Automating auto-scaled load balancer based on linux and vm orchestrator
Rally--OpenStack Benchmarking at Scale
PDF
Rally--OpenStack Benchmarking at Scale
[OpenInfra Days Korea 2018] Day 2 - E6: "SONA: ONOS SDN Controller 기반 OpenSta...
PDF
[OpenInfra Days Korea 2018] Day 2 - E6: "SONA: ONOS SDN Controller 기반 OpenSta...
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
PDF
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
OpenStack Data Processing ("Sahara") project update - December 2014
PDF
OpenStack Data Processing ("Sahara") project update - December 2014
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Performance Benchmarking of Clouds Evaluating OpenStack
Performance Benchmarking of Clouds Evaluating OpenStack
Challenges of Kubernetes On-premise Deployment
Challenges of Kubernetes On-premise Deployment
Automating auto-scaled load balancer based on linux and vm orchestrator
Automating auto-scaled load balancer based on linux and vm orchestrator
Rally--OpenStack Benchmarking at Scale
Rally--OpenStack Benchmarking at Scale
[OpenInfra Days Korea 2018] Day 2 - E6: "SONA: ONOS SDN Controller 기반 OpenSta...
[OpenInfra Days Korea 2018] Day 2 - E6: "SONA: ONOS SDN Controller 기반 OpenSta...
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
OpenStack Data Processing ("Sahara") project update - December 2014
OpenStack Data Processing ("Sahara") project update - December 2014

What's hot

Cloud data center and openstack
PDF
Cloud data center and openstack
Seastar @ NYCC++UG
PDF
Seastar @ NYCC++UG
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
PPTX
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
Open stack china_201109_sjtu_jinyh
PDF
Open stack china_201109_sjtu_jinyh
Cloud Foundry on OpenStack - An Experience Report | anynines
PDF
Cloud Foundry on OpenStack - An Experience Report | anynines
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
PDF
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Running Neutron at Scale - Gal Sagie & Eran Gampel - OpenStack Day Israel 2016
PPTX
Running Neutron at Scale - Gal Sagie & Eran Gampel - OpenStack Day Israel 2016
One-click Hadoop Cluster Deployment on OpenPOWER Systems
PDF
One-click Hadoop Cluster Deployment on OpenPOWER Systems
GPU cloud with Job scheduler and Container
PDF
GPU cloud with Job scheduler and Container
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
PPTX
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
Glance Updates - Kilo Edition
PPTX
Glance Updates - Kilo Edition
[OpenStack Days Korea 2016] How open HW and SW drives telco infrastucture inn...
PDF
[OpenStack Days Korea 2016] How open HW and SW drives telco infrastucture inn...
Seastar at Linux Foundation Collaboration Summit
PPTX
Seastar at Linux Foundation Collaboration Summit
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
PDF
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
PDF
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
Supercomputing by API: Connecting Modern Web Apps to HPC
PDF
Supercomputing by API: Connecting Modern Web Apps to HPC
My Sql Performance In A Cloud
PDF
My Sql Performance In A Cloud
A fun cup of joe with open liberty
PPTX
A fun cup of joe with open liberty
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
PDF
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
OpenStack and private cloud
PPTX
OpenStack and private cloud
Cloud data center and openstack
Cloud data center and openstack
Seastar @ NYCC++UG
Seastar @ NYCC++UG
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
Open stack china_201109_sjtu_jinyh
Open stack china_201109_sjtu_jinyh
Cloud Foundry on OpenStack - An Experience Report | anynines
Cloud Foundry on OpenStack - An Experience Report | anynines
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Running Neutron at Scale - Gal Sagie & Eran Gampel - OpenStack Day Israel 2016
Running Neutron at Scale - Gal Sagie & Eran Gampel - OpenStack Day Israel 2016
One-click Hadoop Cluster Deployment on OpenPOWER Systems
One-click Hadoop Cluster Deployment on OpenPOWER Systems
GPU cloud with Job scheduler and Container
GPU cloud with Job scheduler and Container
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
Glance Updates - Kilo Edition
Glance Updates - Kilo Edition
[OpenStack Days Korea 2016] How open HW and SW drives telco infrastucture inn...
[OpenStack Days Korea 2016] How open HW and SW drives telco infrastucture inn...
Seastar at Linux Foundation Collaboration Summit
Seastar at Linux Foundation Collaboration Summit
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
Supercomputing by API: Connecting Modern Web Apps to HPC
Supercomputing by API: Connecting Modern Web Apps to HPC
My Sql Performance In A Cloud
My Sql Performance In A Cloud
A fun cup of joe with open liberty
A fun cup of joe with open liberty
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
OpenStack and private cloud
OpenStack and private cloud

Similar to Code for the earth OCP APAC Tokyo 2013-05

The impact of software on data-center energy use - and what can we do about it?
PDF
The impact of software on data-center energy use - and what can we do about it?
Optimizing High Performance Computing Applications for Energy
PPTX
Optimizing High Performance Computing Applications for Energy
Drupalcamp Finland – Measuring Front-end Energy Consumption
PDF
Drupalcamp Finland – Measuring Front-end Energy Consumption
Hpc lunch and learn
PDF
Hpc lunch and learn
Atmosphere 2014: Switching from monolithic approach to modular cloud computin...
PDF
Atmosphere 2014: Switching from monolithic approach to modular cloud computin...
Challenges and Issues of Next Cloud Computing Platforms
PPTX
Challenges and Issues of Next Cloud Computing Platforms
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
PPTX
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PDF
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
Architecting extremelylargescalewebapplications
DOCX
Architecting extremelylargescalewebapplications
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
PPSX
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Tools and best practices for sustainable software
PDF
Tools and best practices for sustainable software
Tools and best practices for sustainable software.pdf
PDF
Tools and best practices for sustainable software.pdf
Tools and best practices for sustainable software.pdf
PDF
Tools and best practices for sustainable software.pdf
Lessons learned from building Demand Side Platform
PDF
Lessons learned from building Demand Side Platform
Cost and Energy Reduction Evaluation for ARM Based Web Servers
PDF
Cost and Energy Reduction Evaluation for ARM Based Web Servers
Optimizing Servers for High-Throughput and Low-Latency at Dropbox
PDF
Optimizing Servers for High-Throughput and Low-Latency at Dropbox
Green Code Lab Challenge 2014 - Green IT Applied To Public Works
PPTX
Green Code Lab Challenge 2014 - Green IT Applied To Public Works
VIRTUALIZATION, AI & ZERO TOUCH FOR MORE EFFICIENT & SUSTAINABLE NETWORK
PDF
VIRTUALIZATION, AI & ZERO TOUCH FOR MORE EFFICIENT & SUSTAINABLE NETWORK
The Obsoletion of the OS
PDF
The Obsoletion of the OS
SC17 Panel: Energy Efficiency Gains From HPC Software
PDF
SC17 Panel: Energy Efficiency Gains From HPC Software
The impact of software on data-center energy use - and what can we do about it?
The impact of software on data-center energy use - and what can we do about it?
Optimizing High Performance Computing Applications for Energy
Optimizing High Performance Computing Applications for Energy
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Hpc lunch and learn
Hpc lunch and learn
Atmosphere 2014: Switching from monolithic approach to modular cloud computin...
Atmosphere 2014: Switching from monolithic approach to modular cloud computin...
Challenges and Issues of Next Cloud Computing Platforms
Challenges and Issues of Next Cloud Computing Platforms
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
Architecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplications
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Tools and best practices for sustainable software
Tools and best practices for sustainable software
Tools and best practices for sustainable software.pdf
Tools and best practices for sustainable software.pdf
Tools and best practices for sustainable software.pdf
Tools and best practices for sustainable software.pdf
Lessons learned from building Demand Side Platform
Lessons learned from building Demand Side Platform
Cost and Energy Reduction Evaluation for ARM Based Web Servers
Cost and Energy Reduction Evaluation for ARM Based Web Servers
Optimizing Servers for High-Throughput and Low-Latency at Dropbox
Optimizing Servers for High-Throughput and Low-Latency at Dropbox
Green Code Lab Challenge 2014 - Green IT Applied To Public Works
Green Code Lab Challenge 2014 - Green IT Applied To Public Works
VIRTUALIZATION, AI & ZERO TOUCH FOR MORE EFFICIENT & SUSTAINABLE NETWORK
VIRTUALIZATION, AI & ZERO TOUCH FOR MORE EFFICIENT & SUSTAINABLE NETWORK
The Obsoletion of the OS
The Obsoletion of the OS
SC17 Panel: Energy Efficiency Gains From HPC Software
SC17 Panel: Energy Efficiency Gains From HPC Software

Recently uploaded

Fairness and Bias in AI Ethics and Explainability
PDF
Fairness and Bias in AI Ethics and Explainability
Dragino商品カタログ 2025.7 LoRaWAN・NB-IoT・LTE-M(LTE Cat.M1)対応センサーリスト
PDF
Dragino商品カタログ 2025.7 LoRaWAN・NB-IoT・LTE-M(LTE Cat.M1)対応センサーリスト
"Daily workflows with Cursor IDE", Maksym Anisimov
PPTX
"Daily workflows with Cursor IDE", Maksym Anisimov
Session 4 - Specialized AI Associate Series: UiPath Document Understanding O...
PDF
Session 4 - Specialized AI Associate Series: UiPath Document Understanding O...
Application Monitoring and Observability: Elastic Stack Solution for Producti...
PDF
Application Monitoring and Observability: Elastic Stack Solution for Producti...
Agentic AI Solutions and Services | Aeologic
PPTX
Agentic AI Solutions and Services | Aeologic
KV Caching Strategies for Latency-Critical LLM Applications by John Thomson
PDF
KV Caching Strategies for Latency-Critical LLM Applications by John Thomson
Ask Me Anything About AI Assist: Practical Answers for Real Workflows
PDF
Ask Me Anything About AI Assist: Practical Answers for Real Workflows
A 4-Terminal Approach to Validating Charge Conservation in MOSFET Compact Models
PDF
A 4-Terminal Approach to Validating Charge Conservation in MOSFET Compact Models
Planetek Italia Corporate Profile brochure
PDF
Planetek Italia Corporate Profile brochure
Top Trends in Kubernetes Security: TalosCon 2025
PPTX
Top Trends in Kubernetes Security: TalosCon 2025
UnityNet Digital Sovereignty Checklist 2025年10月13日
PDF
UnityNet Digital Sovereignty Checklist 2025年10月13日
CBD Belgium 2025 - The adventures of a Microsoft 365 Platform Owner.pptx
PPTX
CBD Belgium 2025 - The adventures of a Microsoft 365 Platform Owner.pptx
Session 2 - Agentic Orchestration with UiPath Maestro
PDF
Session 2 - Agentic Orchestration with UiPath Maestro
Meta and Apple close to settling EU cases.pdf
PDF
Meta and Apple close to settling EU cases.pdf
Atlantix is an AI-first venture studio, building companies with AI at the core
PDF
Atlantix is an AI-first venture studio, building companies with AI at the core
2025 October Patch Tuesday
PDF
2025 October Patch Tuesday
NDP Act GAID Simplified: From Confusion to Compliance
PDF
NDP Act GAID Simplified: From Confusion to Compliance
WUG-DMV: Workfront Wizards: Tips & Tricks Exchange (Sept 2025)
PPTX
WUG-DMV: Workfront Wizards: Tips & Tricks Exchange (Sept 2025)
UiPath DevConnect 2025: Introduction to Agentic Automation
PDF
UiPath DevConnect 2025: Introduction to Agentic Automation
Fairness and Bias in AI Ethics and Explainability
Fairness and Bias in AI Ethics and Explainability
Dragino商品カタログ 2025.7 LoRaWAN・NB-IoT・LTE-M(LTE Cat.M1)対応センサーリスト
Dragino商品カタログ 2025.7 LoRaWAN・NB-IoT・LTE-M(LTE Cat.M1)対応センサーリスト
"Daily workflows with Cursor IDE", Maksym Anisimov
"Daily workflows with Cursor IDE", Maksym Anisimov
Session 4 - Specialized AI Associate Series: UiPath Document Understanding O...
Session 4 - Specialized AI Associate Series: UiPath Document Understanding O...
Application Monitoring and Observability: Elastic Stack Solution for Producti...
Application Monitoring and Observability: Elastic Stack Solution for Producti...
Agentic AI Solutions and Services | Aeologic
Agentic AI Solutions and Services | Aeologic
KV Caching Strategies for Latency-Critical LLM Applications by John Thomson
KV Caching Strategies for Latency-Critical LLM Applications by John Thomson
Ask Me Anything About AI Assist: Practical Answers for Real Workflows
Ask Me Anything About AI Assist: Practical Answers for Real Workflows
A 4-Terminal Approach to Validating Charge Conservation in MOSFET Compact Models
A 4-Terminal Approach to Validating Charge Conservation in MOSFET Compact Models
Planetek Italia Corporate Profile brochure
Planetek Italia Corporate Profile brochure
Top Trends in Kubernetes Security: TalosCon 2025
Top Trends in Kubernetes Security: TalosCon 2025
UnityNet Digital Sovereignty Checklist 2025年10月13日
UnityNet Digital Sovereignty Checklist 2025年10月13日
CBD Belgium 2025 - The adventures of a Microsoft 365 Platform Owner.pptx
CBD Belgium 2025 - The adventures of a Microsoft 365 Platform Owner.pptx
Session 2 - Agentic Orchestration with UiPath Maestro
Session 2 - Agentic Orchestration with UiPath Maestro
Meta and Apple close to settling EU cases.pdf
Meta and Apple close to settling EU cases.pdf
Atlantix is an AI-first venture studio, building companies with AI at the core
Atlantix is an AI-first venture studio, building companies with AI at the core
2025 October Patch Tuesday
2025 October Patch Tuesday
NDP Act GAID Simplified: From Confusion to Compliance
NDP Act GAID Simplified: From Confusion to Compliance
WUG-DMV: Workfront Wizards: Tips & Tricks Exchange (Sept 2025)
WUG-DMV: Workfront Wizards: Tips & Tricks Exchange (Sept 2025)
UiPath DevConnect 2025: Introduction to Agentic Automation
UiPath DevConnect 2025: Introduction to Agentic Automation

Code for the earth OCP APAC Tokyo 2013-05

  • 1.
    Code for the Earth OCP APAC Engineering Workshop Tokyo Day2 (2013年5月28日) • Application Framework (eco PHP) • Measurement of Runtime Efficiency Cloud Business Alliance Tetsu Saburi, Hideyuki Fukuhara
  • 2.
    Session Positioning Application Framework designing "eco PHP" and promote "code for earth" Measurement of Runtime Efficiency This Topic OCP Project
  • 3.
    100 Google searches = 30Wh How much energy do you use when you type in a Google search or watch a YouTube video? Google said that 100 searches are equal to a 60-watt light bulb burning for 28 minutes. "Specifically, we currently use about 0.0003 kWh of energy to answer the average search query," Google said. "This translates into roughly 0.2g of carbon dioxide." 2011 PC Magazine 60W 28min x 100 = We ICT user should care about energy consumption of the service that we use.
  • 4.
    APPLICATION FRAMEWORK new programming culture (eco PHP) for electric-power-efficiency
  • 5.
    Eco Application Framework Eco Programming Eco Platform Software x efficiency = work served by program Energy consumption Measurement of Runtime Efficiency Hardware (Application Framework) (CPU, ..., Shipho) Programmer PHP engine
  • 6.
    Eco Programming Only using eco platform is not enough eco platform + good program = efficient Eco car Only using eco car is not enough eco car + bad driving = wasting energy eco car + eco driving = efficient eco platform + bad program = not efficient Programming Convention Driving Manner Eco Platform Eco Platform Eco Platform
  • 7.
    Eco Platform OS Library Language Server Cluster CPUs print "Hello World" programmer Framework Current framework and language is designed only for programmer Eco Platform is designed for the earth and programmer. = flexible, scalable, and efficient across the entire stack and easy to maintain PHP, Ruby, Python, Java, Javascript, C#, ..., Django, RoR, ..., OpenMPI, ... programmer language Application framework H/W (CPU) library e.g. - eco PHP platform - eco Ruby platform Application - Web Application - High Performance Computing (CFD, bio, ...)
  • 8.
    Distributed Computing Platform for Cluster ...... App App App App App App App App AppApp App AppApp App IaaS/Hardware Distributed Platform OS VM distributed application platform server server Distributed Platform consists of - distributed execute engine: load management and execution fault tolerance - distributed storage: fault tolerance for persistent data - distributed memory: fault tolerance for runtime data (temporary data) - easy to maintain Flavor - Web: small and frequent application (affinity and cache consideration) - HPC: big and long life application (runtime robust, <-homomorphic coding) For cluster (many servers), high efficient and easy-to-use platform is needed.
  • 9.
    Astimegoon -Complex -Heavy -Expensive Web Application Framework for Cluster HTTP + Cookie + CGI HTTP + Application Server + Session HTTP + Heavy Application Server + Heavy Object Session Load Balancer Heavy Load Balancer memchache Web App Framework History - simple server framework for cluster - minimum session, minimum server persistence - reconsideration of cookie and client (instead of session & load balancer model) - not only request/response model but also publish/subscribe model or ... Reconsideration of Web App Framework for efficiency e.g. HTTP + Cookie + CGI/wsgi/rack/... or PHP (no session or minimum session framework) Light Load Balance (low cost and loose relation of user & server, DNS RR, SDN, ...) + + + RDB+ RDB NoSQL+ +cache+ Rails, Django, ... NoSQL time
  • 10.
    Eco PHP Platform •Eco PHP language= subset of PHP (optimized for Compiler and CPU like http://asmjs.org/ in JS world) •Eco programming convention and Eco Programmer •Eco library •Eco language engine •HipHop compiler •HipHop machine (VM, Processor, SoC) •Eco framework for cluster •Application framework with distributed computing technology •Disaggregated Rack
  • 11.
    Eco Programming Culture new programming culture Eco programming is more electric-power-efficient programming. Eco language, eco platform, eco programming convention, and eco programmer makes the world better. eco PHP is cool! Like Eco Wordpress
  • 12.
    Goal Create new programming culture • Build eco application framework (eco PHP and middleware) • Foster eco programmer (eco programming conventions) Key technology • Building eco platform to maximize runtime efficiency on OCP physical system • Measurement of runtime efficiency
  • 13.
    MEASUREMENT OF RUNTIME EFFICIENCY for the most efficient computing infrastructures
  • 14.
    Measuring efficiency Hacking Conventional Computing Infrastructure We started a project at Facebook almost two years ago with a pretty big goal: to build one of the most efficient computing infrastructures at the lowest possible cost. We decided to honor our hacker roots and challenge convention by custom designing and building our software, servers and data centers from the ground up – and then share these technologies as they evolve. Measure the runtime efficiency
  • 15.
    Runtime energy efficiency calls of Function A Energy consumption of CPU (Wh) user operations of Application A Energy consumption of server (Wh) Work served Energy consumption e.g.
  • 16.
    Example of efficiency Facebook users Power Plants Blog views & updates / sec Racks CPUs convert(), edit(), ... Library calls / sec
  • 17.
    energy measurement scope work granularity CPU CPU + memory CPU + memory + IO ... Server ... Servers ... Code snippet Function  Application  work served energy consumption Choice of numerator and denominator Work granularity •Code snippet: e.g. for(){...}, ... •Function: e.g. regex, image processing, ... •Application: e.g. wordpress •Service: facebook Energy consumption measurement scope •CPU •CPU + memory ... •Server ... •+ Network + Client
  • 18.
    Type of measurement application / server work load eco Wordpress 201x Load scenario A - user behavior A - 1000 user - 10 min energy measurement scope Server (OCP1.0 H/W) x 1 Example 1: Application/Server Application (wordpress) A Server Energy consumption Work(Load) Eco wordpress 2014 Eco wordpress 2015 Eco wordpress 2016 Year Test pattern (work load) is contributed by facebook/linaro results?
  • 19.
    Example2: CFD Benchmark/A Disaggregated Rack Fluid Calculation (CFD Benchmark) A Disaggregated Rack for HPC
  • 20.
    Relations with other OCP Project • HipHop Project (PHP Compiler, PHP VM) • Processor or SoC Project? (Intel, AMD, ARM, ...) • Disaggregated Rack • Japan chapter: "eco Ruby" sub project
  • 21.
    2015 document 1 . Application Framework 1.1 Eco PHP 2015 1.1.1 language spec 1.1.2 programming convention 2. Measurement 2.1 wordpress/rack 2.2 2014 vs 2015 ... Documents in future 2014 document 1. Application Framework 1.1 Eco PHP 2014 1.1.1 language spec 1.1.2 programming convention 2. Measurement 2.1 wordpress/server 3. Future vision Application Framework And Measurement of Runtime Efficiency 2014 2016 document 1. Application Framework 1.1 Eco PHP 2016 1.1.1 language spec 1.1.2 programming convention 1.2. Eco Ruby 2016 ... 2. Measurement 2.1 wordpress/rack 2.2 eco library/CPU ... Energy Work(Load) Eco wordpress 2014 Eco wordpress 2015 Eco wordpress 2016

AltStyle によって変換されたページ (->オリジナル) /