SlideShare a Scribd company logo
Docker and
the K computer
Bryzgalov Peter @ HPC Usability Research Team
RIKEN AICS
petr.bryzgalov@riken.jp
2015.08.19 Docker Meetup Tokyo #5
K computer
K computer
Nodes > 80 000
Cores > 700 000
Linpack Performance 10,510 TFlop/s
Docker merits for HPC
• Runtime — customise software stack, easy to
test new software, more efficient resource
management, administrators do not have to
worry about security patches for user-space
software, etc.
• Compile time — eliminate dependencies on
compilers and libraries versions, etc.
4
Docker merits for HPC
• Runtime — customise software stack, easy to
test new software, more efficient resource
management, administrators do not have to
worry about security patches for user-space
software, etc.
• Compile time — eliminate dependencies on
compilers and libraries versions, etc.
5
Docker at Compile time
• Install cross-compiler in container
6
Docker at Compile time
• Install cross-compiler in container
Why cross-compiler?
7
K architecture
• Login nodes and Compute nodes
• Compilation on Login nodes
• Execution on Compute nodes
8
K architecture
• Login nodes and Compute nodes
• Compilation on Login nodes
• Execution on Compute nodes
• Login nodes — x86_64
• Compute nodes — sparc64fx
9
Docker at Compile time
Done :
• Installed cross-compilers in container.
• Developed system for using it online.
10
Docker at Compile time
Workflow :
• User runs a script instead of “make”
command on his computer.
• Source code folder automatically mounted
into container with compilers.
• “make” command automatically executed in
container.
11
Docker at Compile time
1.Container with cross-compilers runs on server.
12
Docker at Compile time
2.Source code folder automatically mounted
into container.
13
Docker at Compile time
3.“make” command automatically executed in
container.
14
Docker at Compile time
Result :
• Binaries are built and saved on user
computer.
15
Docker at Compile time
Issues :
• Compiler license.
• Customise software stack (instal third-party
software in container).
16
Docker merits for HPC
• Runtime — customise software stack, easy to
test new software, more efficient resource
management, administrators do not have to
worry about security patches for user-space
software, etc.
• Compile time — eliminate dependencies on
compilers and libraries versions, etc.
17
Docker at Runtime
• Install Docker on Compute nodes
18
Docker at Runtime
• Install Docker on Compute nodes
• K compute nodes:
19
Docker at Runtime
• Install Docker on Compute nodes
• K compute nodes:
20
Docker at Runtime
• Install Docker on Compute nodes
• K compute nodes:
20
CPU sparc64fx
OS kernel 2.6.25
Docker at Runtime
• Install Docker on Compute nodes
• K compute nodes:
• Docker requires 3.8 (3.10 for latest version)
21
CPU sparc64fx
OS kernel 2.6.25
Update OS kernel
on Compute Nodes
• 2.6.25 -> 3.8
22
Update OS kernel
on Compute Nodes
• 2.6.25 -> 3.8
• OS kernel on K CN:

vanilla 2.6.25.8 + Fujitsu patch
• Apply Fujitsu patch to vanilla 3.8
23
Patch vanilla kernel
• Take a new vanilla kernel source code and
apply Fujitsu patch
24
Patch vanilla kernel
• Take a new vanilla kernel source code and
apply Fujitsu patch
• Patch fails starting from 2.6.26
25
Patch vanilla kernel
• How many files need to be fixed?
26
Patch vanilla kernel
27
Patch vanilla kernel
28
84f i l e s
Patch vanilla kernel
29
We need
help!
Maeda Toshiyuki Team leader
Bryzgalov Peter Researcher
Thank you!
HPC Usability Research Team
www.hpcu.aics.riken.jp
comp.photo777.org
petr.bryzgalov@riken.jp
This presentation has more slides but I don’t have time to show them.
Docker merits for HPC
• Runtime — customise software stack, easy to
test new software, more efficient resource
management, administrators do not have to
worry about security patches for user-space
software, etc.
• Compile time — eliminate dependencies on
compilers and libraries versions.
31
Docker at Compile time
K workflow
• Edit Source code
• Cross-compile on Login Nodes
• Execute on Compute Nodes
32
Docker at Compile time
K workflow
• Edit Source code
• Cross-compile on Login Nodes
• Execute on Compute Nodes
Dependencies
• Compilers, libraries, … — one environment for all, it changes
over time, application that compiles now may not compile in
the future (like ABYSS).
33
Docker at Compile time
K workflow
• Edit Source code
• Cross-compile on Login Nodes
• Execute on Compute Nodes
Dependencies
• Compilers, libraries, … — one environment for all, it changes
over time, application that compiles now may not compile in
the future (like ABYSS).
33
Cross-compile in Docker container
Compile in container
• Run container on User Computer
• Run container on Login Node
• Run container on Server
34
Compile in container
• Run container on User Computer
• Run container on Login Node
• Run container on Server
34
Compiler licence limitations
Compile in container
• Run container on User Computer
• Run container on Login Node
• Run container on Server
34
Compiler licence limitations
“K” administration policies
Compile in container
• Run container on User Computer
• Run container on Login Node
• Run container on Server
35
Run compiler on server
in Docker container
Requirements
• Multiple environments (containers)
• Multiple users
• One machine
• Limited resources — stop containers when they are not used
Tasks
• Copy source code into containers
• Copy binaries from containers
36
Docker-based IaaS
Overview
• One host multi tenant IaaS
• One user — one container
• Users login with SSH
• Mount local folders into containers with SSHFS
37
github.com/pyotr777/dockerIaaSTools
Docker-based IaaS
Overview
38
github.com/pyotr777/dockerIaaSTools
Docker-based IaaS
Application
Challenge
• K-scope — tool for Fortran program static analysis.
• Depends on Omni XMP compiler front-end, which produces
AST (XML files).
• Omni XMP depends on many packages and is hard to install.
39
omni-compiler.org/xcalablemp.html
www.aics.riken.jp/ungi/soft/kscope
github.com/pyotr777/dockerIaaSTools
Docker-based IaaS
Application
Our solution
• Script that mounts local source code folder in container and
executes “make” command inside the container.
• K-scope executes the script instead of make command.
40
github.com/pyotr777/dockerIaaSTools
Docker-based IaaS
Application
Our solution
41
Docker-based IaaS
Application
Our solution
• Script that mounts local source code folder in container and
executes “make” command inside the container.
• K-scope executes the script instead of make command.
• After script finishes Intermediate code files are in local source
folder — same effect as calling “make” command locally.
42
github.com/pyotr777/dockerIaaSTools

More Related Content

PDF
Linuxcon secureefficientcontainerimagemanagementharbor
PDF
DCSF19 CMD and Conquer: Containerizing the Monolith
PDF
Releasing a Distribution in the Age of DevOps.
PPTX
containerd the universal container runtime
PDF
DCSF 19 Data Center Networking with Containers
PDF
Containerize All the Multi-Platform Things! - DockerCon Seattle 2016
PDF
DCSF19 How Docker Simplifies Kubernetes for the Masses
PDF
Learn how to use Harbor
Linuxcon secureefficientcontainerimagemanagementharbor
DCSF19 CMD and Conquer: Containerizing the Monolith
Releasing a Distribution in the Age of DevOps.
containerd the universal container runtime
DCSF 19 Data Center Networking with Containers
Containerize All the Multi-Platform Things! - DockerCon Seattle 2016
DCSF19 How Docker Simplifies Kubernetes for the Masses
Learn how to use Harbor

What's hot (20)

PDF
Kubernetes in Docker
PDF
Building Your Docker Swarm Tech Stack
PDF
DCEU 18: State of the Docker Engine
PDF
OSCON: System software goes weird
PDF
Kubernetes deep dive - - Huawei 2015-10
PDF
DockerCon EU 2015: The Latest in Docker Engine
PPTX
Docker Online Meetup: Announcing Docker CE + EE
PDF
DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...
PDF
Docker Platform Internals: Taking runtimes and image creation to the next lev...
PDF
Why I wish I'd Heard of Docker when I was 12 - Finnian Anderson
PDF
Docker?!?! But I'm a SysAdmin
PDF
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
PDF
Introduction to OCI Image Technologies Serving Container
PDF
DCSF 19 Kubernetes and Container Storage Interface Update
PDF
Persistent Data Storage for Docker Containers by Andre Moruga
PPTX
DockerCon EU 2015: What's New with Docker Trusted Registry
PDF
Dockercon 16 Wrap-up (Docker for Mac and Win, Docker 1.12, Swarm Mode, etc.)
PDF
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
PDF
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
PDF
Tales of Training: Scaling CodeLabs with Swarm Mode and Docker-Compose
Kubernetes in Docker
Building Your Docker Swarm Tech Stack
DCEU 18: State of the Docker Engine
OSCON: System software goes weird
Kubernetes deep dive - - Huawei 2015-10
DockerCon EU 2015: The Latest in Docker Engine
Docker Online Meetup: Announcing Docker CE + EE
DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...
Docker Platform Internals: Taking runtimes and image creation to the next lev...
Why I wish I'd Heard of Docker when I was 12 - Finnian Anderson
Docker?!?! But I'm a SysAdmin
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Introduction to OCI Image Technologies Serving Container
DCSF 19 Kubernetes and Container Storage Interface Update
Persistent Data Storage for Docker Containers by Andre Moruga
DockerCon EU 2015: What's New with Docker Trusted Registry
Dockercon 16 Wrap-up (Docker for Mac and Win, Docker 1.12, Swarm Mode, etc.)
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
Tales of Training: Scaling CodeLabs with Swarm Mode and Docker-Compose
Ad

Viewers also liked (20)

PDF
AcuSolve Optimizations for Scale - Hpc advisory council
PDF
HPC in AWS - Technical Workshop
PDF
Performance Optimization of HPC Applications: From Hardware to Source Code
PDF
HPC Application Profiling and Analysis
PDF
Symposium on HPC Applications – IIT Kanpur
PPTX
51 Use Cases and implications for HPC & Apache Big Data Stack
PPTX
HPC Application Profiling & Analysis
PDF
HPC Best Practices: Application Performance Optimization
PPTX
IDC Perspectives on Big Data Outside of HPC
PPTX
Autodesk maya presentation
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
PPTX
Big data analytics use case and software
PPTX
Docker Platform and Ecosystem
PDF
AWS Cloud for HPC and Big Data
PDF
Multi-faceted Classification of Big Data Use Cases and Proposed Architecture ...
PPTX
Oscon London 2016 - Docker from Development to Production
PPTX
Indian media industry
PDF
How Secure Is Your Container? ContainerCon Berlin 2016
PPTX
Docker 101 Checonf 2016
AcuSolve Optimizations for Scale - Hpc advisory council
HPC in AWS - Technical Workshop
Performance Optimization of HPC Applications: From Hardware to Source Code
HPC Application Profiling and Analysis
Symposium on HPC Applications – IIT Kanpur
51 Use Cases and implications for HPC & Apache Big Data Stack
HPC Application Profiling & Analysis
HPC Best Practices: Application Performance Optimization
IDC Perspectives on Big Data Outside of HPC
Autodesk maya presentation
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Big data analytics use case and software
Docker Platform and Ecosystem
AWS Cloud for HPC and Big Data
Multi-faceted Classification of Big Data Use Cases and Proposed Architecture ...
Oscon London 2016 - Docker from Development to Production
Indian media industry
How Secure Is Your Container? ContainerCon Berlin 2016
Docker 101 Checonf 2016
Ad

Similar to Docker and the K computer (20)

PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PDF
Docker Introduction + what is new in 0.9
PDF
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
PPTX
Docker and kubernetes
PDF
Introduction to Docker and deployment and Azure
PDF
Docker module 1
PDF
DevOPS training - Day 2/2
PPTX
Introductio to Docker and usage in HPC applications
PDF
HPC Cloud Burst Using Docker
PDF
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
PPTX
Docker In Brief
PDF
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
PDF
Scale Big With Docker — Moboom 2014
PDF
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
PDF
Docker 101 @KACST Saudi HPC 2016
PDF
Containers - Portable, repeatable user-oriented application delivery. Build, ...
PDF
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
PDF
Docker 1 0 1 0 1: a Docker introduction, actualized for the stable release of...
PDF
State of Containers and the Convergence of HPC and BigData
PPTX
Containers and Docker
Docker 0.11 at MaxCDN meetup in Los Angeles
Docker Introduction + what is new in 0.9
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker and kubernetes
Introduction to Docker and deployment and Azure
Docker module 1
DevOPS training - Day 2/2
Introductio to Docker and usage in HPC applications
HPC Cloud Burst Using Docker
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Docker In Brief
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Scale Big With Docker — Moboom 2014
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Docker 101 @KACST Saudi HPC 2016
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
Docker 1 0 1 0 1: a Docker introduction, actualized for the stable release of...
State of Containers and the Convergence of HPC and BigData
Containers and Docker

Recently uploaded (20)

PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Essential Infomation Tech presentation.pptx
PDF
System and Network Administration Chapter 2
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
AI in Product Development-omnex systems
Design an Analysis of Algorithms I-SECS-1021-03
wealthsignaloriginal-com-DS-text-... (1).pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Wondershare Filmora 15 Crack With Activation Key [2025
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Essential Infomation Tech presentation.pptx
System and Network Administration Chapter 2
Reimagine Home Health with the Power of Agentic AI​
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Odoo POS Development Services by CandidRoot Solutions
VVF-Customer-Presentation2025-Ver1.9.pptx

Docker and the K computer

  • 1. Docker and the K computer Bryzgalov Peter @ HPC Usability Research Team RIKEN AICS petr.bryzgalov@riken.jp 2015.08.19 Docker Meetup Tokyo #5
  • 3. K computer Nodes > 80 000 Cores > 700 000 Linpack Performance 10,510 TFlop/s
  • 4. Docker merits for HPC • Runtime — customise software stack, easy to test new software, more efficient resource management, administrators do not have to worry about security patches for user-space software, etc. • Compile time — eliminate dependencies on compilers and libraries versions, etc. 4
  • 5. Docker merits for HPC • Runtime — customise software stack, easy to test new software, more efficient resource management, administrators do not have to worry about security patches for user-space software, etc. • Compile time — eliminate dependencies on compilers and libraries versions, etc. 5
  • 6. Docker at Compile time • Install cross-compiler in container 6
  • 7. Docker at Compile time • Install cross-compiler in container Why cross-compiler? 7
  • 8. K architecture • Login nodes and Compute nodes • Compilation on Login nodes • Execution on Compute nodes 8
  • 9. K architecture • Login nodes and Compute nodes • Compilation on Login nodes • Execution on Compute nodes • Login nodes — x86_64 • Compute nodes — sparc64fx 9
  • 10. Docker at Compile time Done : • Installed cross-compilers in container. • Developed system for using it online. 10
  • 11. Docker at Compile time Workflow : • User runs a script instead of “make” command on his computer. • Source code folder automatically mounted into container with compilers. • “make” command automatically executed in container. 11
  • 12. Docker at Compile time 1.Container with cross-compilers runs on server. 12
  • 13. Docker at Compile time 2.Source code folder automatically mounted into container. 13
  • 14. Docker at Compile time 3.“make” command automatically executed in container. 14
  • 15. Docker at Compile time Result : • Binaries are built and saved on user computer. 15
  • 16. Docker at Compile time Issues : • Compiler license. • Customise software stack (instal third-party software in container). 16
  • 17. Docker merits for HPC • Runtime — customise software stack, easy to test new software, more efficient resource management, administrators do not have to worry about security patches for user-space software, etc. • Compile time — eliminate dependencies on compilers and libraries versions, etc. 17
  • 18. Docker at Runtime • Install Docker on Compute nodes 18
  • 19. Docker at Runtime • Install Docker on Compute nodes • K compute nodes: 19
  • 20. Docker at Runtime • Install Docker on Compute nodes • K compute nodes: 20
  • 21. Docker at Runtime • Install Docker on Compute nodes • K compute nodes: 20 CPU sparc64fx OS kernel 2.6.25
  • 22. Docker at Runtime • Install Docker on Compute nodes • K compute nodes: • Docker requires 3.8 (3.10 for latest version) 21 CPU sparc64fx OS kernel 2.6.25
  • 23. Update OS kernel on Compute Nodes • 2.6.25 -> 3.8 22
  • 24. Update OS kernel on Compute Nodes • 2.6.25 -> 3.8 • OS kernel on K CN:
 vanilla 2.6.25.8 + Fujitsu patch • Apply Fujitsu patch to vanilla 3.8 23
  • 25. Patch vanilla kernel • Take a new vanilla kernel source code and apply Fujitsu patch 24
  • 26. Patch vanilla kernel • Take a new vanilla kernel source code and apply Fujitsu patch • Patch fails starting from 2.6.26 25
  • 27. Patch vanilla kernel • How many files need to be fixed? 26
  • 31. Maeda Toshiyuki Team leader Bryzgalov Peter Researcher Thank you! HPC Usability Research Team www.hpcu.aics.riken.jp comp.photo777.org petr.bryzgalov@riken.jp This presentation has more slides but I don’t have time to show them.
  • 32. Docker merits for HPC • Runtime — customise software stack, easy to test new software, more efficient resource management, administrators do not have to worry about security patches for user-space software, etc. • Compile time — eliminate dependencies on compilers and libraries versions. 31
  • 33. Docker at Compile time K workflow • Edit Source code • Cross-compile on Login Nodes • Execute on Compute Nodes 32
  • 34. Docker at Compile time K workflow • Edit Source code • Cross-compile on Login Nodes • Execute on Compute Nodes Dependencies • Compilers, libraries, … — one environment for all, it changes over time, application that compiles now may not compile in the future (like ABYSS). 33
  • 35. Docker at Compile time K workflow • Edit Source code • Cross-compile on Login Nodes • Execute on Compute Nodes Dependencies • Compilers, libraries, … — one environment for all, it changes over time, application that compiles now may not compile in the future (like ABYSS). 33 Cross-compile in Docker container
  • 36. Compile in container • Run container on User Computer • Run container on Login Node • Run container on Server 34
  • 37. Compile in container • Run container on User Computer • Run container on Login Node • Run container on Server 34 Compiler licence limitations
  • 38. Compile in container • Run container on User Computer • Run container on Login Node • Run container on Server 34 Compiler licence limitations “K” administration policies
  • 39. Compile in container • Run container on User Computer • Run container on Login Node • Run container on Server 35
  • 40. Run compiler on server in Docker container Requirements • Multiple environments (containers) • Multiple users • One machine • Limited resources — stop containers when they are not used Tasks • Copy source code into containers • Copy binaries from containers 36
  • 41. Docker-based IaaS Overview • One host multi tenant IaaS • One user — one container • Users login with SSH • Mount local folders into containers with SSHFS 37 github.com/pyotr777/dockerIaaSTools
  • 43. Docker-based IaaS Application Challenge • K-scope — tool for Fortran program static analysis. • Depends on Omni XMP compiler front-end, which produces AST (XML files). • Omni XMP depends on many packages and is hard to install. 39 omni-compiler.org/xcalablemp.html www.aics.riken.jp/ungi/soft/kscope github.com/pyotr777/dockerIaaSTools
  • 44. Docker-based IaaS Application Our solution • Script that mounts local source code folder in container and executes “make” command inside the container. • K-scope executes the script instead of make command. 40 github.com/pyotr777/dockerIaaSTools
  • 46. Docker-based IaaS Application Our solution • Script that mounts local source code folder in container and executes “make” command inside the container. • K-scope executes the script instead of make command. • After script finishes Intermediate code files are in local source folder — same effect as calling “make” command locally. 42 github.com/pyotr777/dockerIaaSTools