SlideShare a Scribd company logo
1 of 23
Download to read offline
Mocloudos
Feather-weight Cloud OS developed within

14 man-days
Who am I ?
• Embedded Software Engineer
• OSS developer
• Working at Monami-ya LLC.
• Founder/CEO/CTO/CFO/and some more.
Some My Works
• Realtime OS
• TOPPERS/FI4 (dev lead)
• TOPPERS/HRP (dev member)
• OSS
• GDB (committer / write after approval)
• mruby (listed in AUTHOR file)
• Android-x86 (develop member)
(C) JAXA
(C) TOPPERS Project
Wish
• Feather-weight cloud OS.
• Runs on virtualization framework.
• Works with VM based Light-weight
Language like Ruby.
Wish
• Construct my Cloud OS within 14 man-days
My First Choice
• mruby - http://www.mruby.org/
• Xen + Stubdom - http://www.xen.org/
What s mruby
• New Ruby runtime. http://github.com/mruby/mruby/
• Created by Matz. GitHub based CI development.
• Embedded systems oriented.
• Small memory footprint.
• High portability. (Device independent. ISO C99 style.)
• Multiple VM state support (like Lua).
• mrbgem - component model.
mrbgem
• Simple component system for mruby.
• Adds/modifies your feature to mruby core.
• By writing C lang source or Ruby script.
• Linked statically to core runtime.
• Easy to validate whole runtime statically.
Stubdom
• Stub for Xen instances in DomU.
• IPv4 network support (with LWIP stack)
• Block devices support.
• Newlib based POSIX emulation (partly)
• Device-File abstraction like VFS.
Stubdom
• This is just a stub.
• The implementation is half baked.
• More system calls returns just -1 (error)
• No filesystems
My Additional Choice
• FatFs : Free-beer FAT Filesystem
• http://elm-chan.org/fsw/ff/00index_e.html
• Very permissive license.
• So many example uses including commercial
products.
My Hacks
• Writing several glue code as mrbgems.
• Xen s block device - FatFs - Stubdom
• Hacking mrbgems to fit poor Stubdom API set.
• Porting mirb (mruby interactive REPL) and
implementing multi-threaded telnet server.
• Implementing { ISO ¦ POSIX } functions for
Stubdom.
stack structure
Xen
Dom0 DomU (Stubdom)
FatFs Blk-Dev
mruby core
mirb(CLI shell)
DomU (Stubdo
FatFsmrbgems Vedis
= ruby style API = C API (provided by POSIX, ISO-C, and mruby)
More feature
• Small footprint Key-Value-Store
• vedis - http://vedis.symisc.net/
• Henry Spencer's Regular Expression
• And user can add more feature using
mrbgems.
Wish (again)
• Feather-weight cloud OS.
• Runs on virtualization framework.
• Works with VM based Light-weight
Language like Ruby..
What s Mocloudos
• Feather-weight cloud OS.
• Floppy disk size kernel.
• Runs on virtualization framework.
• Runs on Xen para-virtualization layer.
• Works with VM based Light-weight Language.
• mruby REPL based command line shell.
What s Mocloudos
• multi mruby VM support.
• Each mruby VM state is bound to 1 xen
thread.
• Extensivity by mrbgems.
• KVS (NoSQL) support, and more in the
future
I could my Cloud OS
within 14 man-days.
• Feb 1 : Project started.
• Feb 2 : telnet service with mruby
• Feb 28 : Vedis KVS integration
• Mar 3 : FAT FS integration started (but it break FAT)
• Mar 11 : DHCP and Socket class for mruby finished
• Mar 12 : FAT FS integration finished
• Moving to alpha version. \Today!/
Similar Product and
Differences
• Qubes OS
• Based on Xen
• My OS doesn t have strict security. Feather-weight is all.
• mruby on OSv
• Uses mruby
• My OS doesn t have Linux level compat. They are all
removed.
Future Plan
• Source code release.
• Porting to another environment.
• Real devices / Full virtualization (like Bhyve)
• Finding applications that it requires.
Conclusion
• The feather-weight OS for { cloud ¦
virtualization } was born.
• It was developed within 14 man-days.
• Many people also can create similar one
easily.
Conclusion
• Bhyve will be an attractive host for such
OSes.
Mocloudos - Feather-weight Cloud OS developed within
14 man-days

More Related Content

What's hot

Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.ioBuild your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.ioDonald Derek Haddad
 
Hyper-V y Contenedores, una nueva forma de virtualización
Hyper-V y Contenedores, una nueva forma de virtualizaciónHyper-V y Contenedores, una nueva forma de virtualización
Hyper-V y Contenedores, una nueva forma de virtualizaciónJuan Ignacio Oller Aznar
 
An Introduction to WebAssembly
An Introduction to WebAssemblyAn Introduction to WebAssembly
An Introduction to WebAssemblyDaniel Budden
 
Node.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full StackNode.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full StackAdron Hall
 
remodel your persistence layer
remodel your persistence layerremodel your persistence layer
remodel your persistence layerTim Lossen
 
Juju, LXC, OpenStack: Fun with Private Clouds
Juju, LXC, OpenStack: Fun with Private CloudsJuju, LXC, OpenStack: Fun with Private Clouds
Juju, LXC, OpenStack: Fun with Private CloudsSameer Verma
 
Exploring API-only Features of First Class Disks
Exploring API-only Features of First Class DisksExploring API-only Features of First Class Disks
Exploring API-only Features of First Class Diskscarcenea
 
Xamarin & MvvmCross in depth
Xamarin & MvvmCross in depthXamarin & MvvmCross in depth
Xamarin & MvvmCross in depthNicolas Milcoff
 
T4T Training day - NodeJS
T4T Training day - NodeJST4T Training day - NodeJS
T4T Training day - NodeJSTim Sommer
 
Apache Mesos Distributed Computing Talk
Apache Mesos Distributed Computing Talk Apache Mesos Distributed Computing Talk
Apache Mesos Distributed Computing Talk brandongulla
 
Frontend Track NodeJS
Frontend Track NodeJSFrontend Track NodeJS
Frontend Track NodeJSMarcelo Serpa
 
The Same-Origin Saga
The Same-Origin SagaThe Same-Origin Saga
The Same-Origin SagaBrendan Eich
 
Intro to Node.js (v1)
Intro to Node.js (v1)Intro to Node.js (v1)
Intro to Node.js (v1)Chris Cowan
 
Openstack CPI cloudfoundry
Openstack CPI cloudfoundryOpenstack CPI cloudfoundry
Openstack CPI cloudfoundryYitao Jiang
 

What's hot (20)

Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.ioBuild your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
 
Node
NodeNode
Node
 
Hyper-V y Contenedores, una nueva forma de virtualización
Hyper-V y Contenedores, una nueva forma de virtualizaciónHyper-V y Contenedores, una nueva forma de virtualización
Hyper-V y Contenedores, una nueva forma de virtualización
 
An Introduction to WebAssembly
An Introduction to WebAssemblyAn Introduction to WebAssembly
An Introduction to WebAssembly
 
Node.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full StackNode.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full Stack
 
cpp-2013 #4 Memory management
cpp-2013 #4 Memory managementcpp-2013 #4 Memory management
cpp-2013 #4 Memory management
 
remodel your persistence layer
remodel your persistence layerremodel your persistence layer
remodel your persistence layer
 
Juju, LXC, OpenStack: Fun with Private Clouds
Juju, LXC, OpenStack: Fun with Private CloudsJuju, LXC, OpenStack: Fun with Private Clouds
Juju, LXC, OpenStack: Fun with Private Clouds
 
Exploring API-only Features of First Class Disks
Exploring API-only Features of First Class DisksExploring API-only Features of First Class Disks
Exploring API-only Features of First Class Disks
 
Xamarin & MvvmCross in depth
Xamarin & MvvmCross in depthXamarin & MvvmCross in depth
Xamarin & MvvmCross in depth
 
T4T Training day - NodeJS
T4T Training day - NodeJST4T Training day - NodeJS
T4T Training day - NodeJS
 
Apache Mesos Distributed Computing Talk
Apache Mesos Distributed Computing Talk Apache Mesos Distributed Computing Talk
Apache Mesos Distributed Computing Talk
 
風若 foonyah v0.0.2
風若 foonyah v0.0.2風若 foonyah v0.0.2
風若 foonyah v0.0.2
 
Make room! Make room!
Make room! Make room!Make room! Make room!
Make room! Make room!
 
Firehose
FirehoseFirehose
Firehose
 
Nodejs web,db,hosting
Nodejs web,db,hostingNodejs web,db,hosting
Nodejs web,db,hosting
 
Frontend Track NodeJS
Frontend Track NodeJSFrontend Track NodeJS
Frontend Track NodeJS
 
The Same-Origin Saga
The Same-Origin SagaThe Same-Origin Saga
The Same-Origin Saga
 
Intro to Node.js (v1)
Intro to Node.js (v1)Intro to Node.js (v1)
Intro to Node.js (v1)
 
Openstack CPI cloudfoundry
Openstack CPI cloudfoundryOpenstack CPI cloudfoundry
Openstack CPI cloudfoundry
 

Viewers also liked

2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness
2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness
2002 - Efficacia della Pubblicità On Line - Banner & Brand AwarenessPaola Furlanetto
 
Tips on how to get more followers on keek
Tips on how to get more followers on keekTips on how to get more followers on keek
Tips on how to get more followers on keekrock635
 
Daily Newsletter: 15th February, 2011
Daily Newsletter: 15th February, 2011Daily Newsletter: 15th February, 2011
Daily Newsletter: 15th February, 2011Fullerton Securities
 
Visual Resume, Emmanuel Lemoine
Visual Resume, Emmanuel LemoineVisual Resume, Emmanuel Lemoine
Visual Resume, Emmanuel LemoineEmmanuel Lemoine
 
Social media strategy and ROI in 4 steps
Social media strategy and ROI in 4 stepsSocial media strategy and ROI in 4 steps
Social media strategy and ROI in 4 stepsSander Van Lingen
 
A fast implementation of matrix-matrix product in double-double precision on ...
A fast implementation of matrix-matrix product in double-double precision on ...A fast implementation of matrix-matrix product in double-double precision on ...
A fast implementation of matrix-matrix product in double-double precision on ...Maho Nakata
 
medioambiente consumo
medioambiente consumomedioambiente consumo
medioambiente consumoChelo Mena
 
نوجوانان
نوجواناننوجوانان
نوجوانانmojir
 
Who wants to be a millionaire facts about pollution
Who wants to be a millionaire facts about pollutionWho wants to be a millionaire facts about pollution
Who wants to be a millionaire facts about pollutionmargaserranoflo
 
Power point Christmas Traditions
Power point Christmas TraditionsPower point Christmas Traditions
Power point Christmas Traditionsmcast243
 
An Introduction to NYC Tech
An Introduction to NYC TechAn Introduction to NYC Tech
An Introduction to NYC TechSumeet Shah
 
Competing For Analytics
Competing For AnalyticsCompeting For Analytics
Competing For Analyticsmdideepak
 
Social Media in Senior Care
Social Media in Senior CareSocial Media in Senior Care
Social Media in Senior CareLee Aase
 
Resultado vestibular
Resultado vestibularResultado vestibular
Resultado vestibularIsaquel Silva
 

Viewers also liked (17)

2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness
2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness
2002 - Efficacia della Pubblicità On Line - Banner & Brand Awareness
 
Tips on how to get more followers on keek
Tips on how to get more followers on keekTips on how to get more followers on keek
Tips on how to get more followers on keek
 
Daily Newsletter: 15th February, 2011
Daily Newsletter: 15th February, 2011Daily Newsletter: 15th February, 2011
Daily Newsletter: 15th February, 2011
 
Visual Resume, Emmanuel Lemoine
Visual Resume, Emmanuel LemoineVisual Resume, Emmanuel Lemoine
Visual Resume, Emmanuel Lemoine
 
Article Samurai Q&A [WEBINAR]
Article Samurai Q&A [WEBINAR]Article Samurai Q&A [WEBINAR]
Article Samurai Q&A [WEBINAR]
 
Social media strategy and ROI in 4 steps
Social media strategy and ROI in 4 stepsSocial media strategy and ROI in 4 steps
Social media strategy and ROI in 4 steps
 
A fast implementation of matrix-matrix product in double-double precision on ...
A fast implementation of matrix-matrix product in double-double precision on ...A fast implementation of matrix-matrix product in double-double precision on ...
A fast implementation of matrix-matrix product in double-double precision on ...
 
medioambiente consumo
medioambiente consumomedioambiente consumo
medioambiente consumo
 
نوجوانان
نوجواناننوجوانان
نوجوانان
 
Who wants to be a millionaire facts about pollution
Who wants to be a millionaire facts about pollutionWho wants to be a millionaire facts about pollution
Who wants to be a millionaire facts about pollution
 
Power point Christmas Traditions
Power point Christmas TraditionsPower point Christmas Traditions
Power point Christmas Traditions
 
An Introduction to NYC Tech
An Introduction to NYC TechAn Introduction to NYC Tech
An Introduction to NYC Tech
 
Salzburg
SalzburgSalzburg
Salzburg
 
Competing For Analytics
Competing For AnalyticsCompeting For Analytics
Competing For Analytics
 
Social Media in Senior Care
Social Media in Senior CareSocial Media in Senior Care
Social Media in Senior Care
 
Datan vankina
Datan vankinaDatan vankina
Datan vankina
 
Resultado vestibular
Resultado vestibularResultado vestibular
Resultado vestibular
 

Similar to Mocloudos - Feather-weight Cloud OS developed within
14 man-days

20120317 CloudFoundry #pyfes
20120317 CloudFoundry #pyfes20120317 CloudFoundry #pyfes
20120317 CloudFoundry #pyfesYohei Sasaki
 
MongoDB on CloudFoundry
MongoDB on CloudFoundryMongoDB on CloudFoundry
MongoDB on CloudFoundryYohei Sasaki
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experienceIgor Anishchenko
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experienceAlex Tumanoff
 
Cassandra and Docker Lessons Learned
Cassandra and Docker Lessons LearnedCassandra and Docker Lessons Learned
Cassandra and Docker Lessons LearnedDataStax Academy
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App DevelopFin Chen
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014André Rømcke
 
PHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentPHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentIrfan Maulana
 
Irfan maulana nodejs web development
Irfan maulana   nodejs web developmentIrfan maulana   nodejs web development
Irfan maulana nodejs web developmentPHP Indonesia
 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerChris Taylor
 
Cloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返りCloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返りnota-ja
 
Cassandra and docker
Cassandra and dockerCassandra and docker
Cassandra and dockerBen Bromhead
 
PUG Challenge 2016 - The nativescript pug app challenge
PUG Challenge 2016 -  The nativescript pug app challengePUG Challenge 2016 -  The nativescript pug app challenge
PUG Challenge 2016 - The nativescript pug app challengeBronco Oostermeyer
 
faastRuby - Building a FaaS platform with Redis (RedisConf19)
faastRuby - Building a FaaS platform with Redis (RedisConf19)faastRuby - Building a FaaS platform with Redis (RedisConf19)
faastRuby - Building a FaaS platform with Redis (RedisConf19)Paulo Arruda
 
Building A FaaA Platform With Redis: Paulo Arruda
Building A FaaA Platform With Redis: Paulo ArrudaBuilding A FaaA Platform With Redis: Paulo Arruda
Building A FaaA Platform With Redis: Paulo ArrudaRedis Labs
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBWebinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBMongoDB
 
An introduction to Node.js
An introduction to Node.jsAn introduction to Node.js
An introduction to Node.jsKasey McCurdy
 

Similar to Mocloudos - Feather-weight Cloud OS developed within
14 man-days (20)

20120317 CloudFoundry #pyfes
20120317 CloudFoundry #pyfes20120317 CloudFoundry #pyfes
20120317 CloudFoundry #pyfes
 
MongoDB on CloudFoundry
MongoDB on CloudFoundryMongoDB on CloudFoundry
MongoDB on CloudFoundry
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experience
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experience
 
Mini-Training: Node.js
Mini-Training: Node.jsMini-Training: Node.js
Mini-Training: Node.js
 
The Three Musketeers
The Three MusketeersThe Three Musketeers
The Three Musketeers
 
Cassandra and Docker Lessons Learned
Cassandra and Docker Lessons LearnedCassandra and Docker Lessons Learned
Cassandra and Docker Lessons Learned
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App Develop
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014
 
PHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentPHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web Development
 
Irfan maulana nodejs web development
Irfan maulana   nodejs web developmentIrfan maulana   nodejs web development
Irfan maulana nodejs web development
 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and Docker
 
Cloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返りCloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返り
 
Cassandra and docker
Cassandra and dockerCassandra and docker
Cassandra and docker
 
PUG Challenge 2016 - The nativescript pug app challenge
PUG Challenge 2016 -  The nativescript pug app challengePUG Challenge 2016 -  The nativescript pug app challenge
PUG Challenge 2016 - The nativescript pug app challenge
 
faastRuby - Building a FaaS platform with Redis (RedisConf19)
faastRuby - Building a FaaS platform with Redis (RedisConf19)faastRuby - Building a FaaS platform with Redis (RedisConf19)
faastRuby - Building a FaaS platform with Redis (RedisConf19)
 
Building A FaaA Platform With Redis: Paulo Arruda
Building A FaaA Platform With Redis: Paulo ArrudaBuilding A FaaA Platform With Redis: Paulo Arruda
Building A FaaA Platform With Redis: Paulo Arruda
 
Node ts1
Node ts1Node ts1
Node ts1
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBWebinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
 
An introduction to Node.js
An introduction to Node.jsAn introduction to Node.js
An introduction to Node.js
 

More from Masaki Muranaka

Cq tse-fm3セミナー資料
Cq tse-fm3セミナー資料Cq tse-fm3セミナー資料
Cq tse-fm3セミナー資料Masaki Muranaka
 
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!Masaki Muranaka
 
#611GCMでのプレゼン
#611GCMでのプレゼン#611GCMでのプレゼン
#611GCMでのプレゼンMasaki Muranaka
 
統合開発環境TOPPERS Builderのカスタマイズ法
統合開発環境TOPPERS Builderのカスタマイズ法統合開発環境TOPPERS Builderのカスタマイズ法
統合開発環境TOPPERS Builderのカスタマイズ法Masaki Muranaka
 
2009年すみだ工業振興マスタープラン シンポジウム
2009年すみだ工業振興マスタープラン シンポジウム2009年すみだ工業振興マスタープラン シンポジウム
2009年すみだ工業振興マスタープラン シンポジウムMasaki Muranaka
 

More from Masaki Muranaka (7)

Mrubyの始め方
Mrubyの始め方Mrubyの始め方
Mrubyの始め方
 
Cq tse-fm3セミナー資料
Cq tse-fm3セミナー資料Cq tse-fm3セミナー資料
Cq tse-fm3セミナー資料
 
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!
オープン・ソースで構築するARMマイコン開発環境 ―― GCC,Eclipse,OpenOCDで統合開発環境,JTAGデバッグもできる!
 
#611GCMでのプレゼン
#611GCMでのプレゼン#611GCMでのプレゼン
#611GCMでのプレゼン
 
統合開発環境TOPPERS Builderのカスタマイズ法
統合開発環境TOPPERS Builderのカスタマイズ法統合開発環境TOPPERS Builderのカスタマイズ法
統合開発環境TOPPERS Builderのカスタマイズ法
 
ZigBee 20110529
ZigBee 20110529ZigBee 20110529
ZigBee 20110529
 
2009年すみだ工業振興マスタープラン シンポジウム
2009年すみだ工業振興マスタープラン シンポジウム2009年すみだ工業振興マスタープラン シンポジウム
2009年すみだ工業振興マスタープラン シンポジウム
 

Recently uploaded

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Mocloudos - Feather-weight Cloud OS developed within
14 man-days

  • 1. Mocloudos Feather-weight Cloud OS developed within
 14 man-days
  • 2. Who am I ? • Embedded Software Engineer • OSS developer • Working at Monami-ya LLC. • Founder/CEO/CTO/CFO/and some more.
  • 3. Some My Works • Realtime OS • TOPPERS/FI4 (dev lead) • TOPPERS/HRP (dev member) • OSS • GDB (committer / write after approval) • mruby (listed in AUTHOR file) • Android-x86 (develop member) (C) JAXA (C) TOPPERS Project
  • 4. Wish • Feather-weight cloud OS. • Runs on virtualization framework. • Works with VM based Light-weight Language like Ruby.
  • 5. Wish • Construct my Cloud OS within 14 man-days
  • 6. My First Choice • mruby - http://www.mruby.org/ • Xen + Stubdom - http://www.xen.org/
  • 7. What s mruby • New Ruby runtime. http://github.com/mruby/mruby/ • Created by Matz. GitHub based CI development. • Embedded systems oriented. • Small memory footprint. • High portability. (Device independent. ISO C99 style.) • Multiple VM state support (like Lua). • mrbgem - component model.
  • 8. mrbgem • Simple component system for mruby. • Adds/modifies your feature to mruby core. • By writing C lang source or Ruby script. • Linked statically to core runtime. • Easy to validate whole runtime statically.
  • 9. Stubdom • Stub for Xen instances in DomU. • IPv4 network support (with LWIP stack) • Block devices support. • Newlib based POSIX emulation (partly) • Device-File abstraction like VFS.
  • 10. Stubdom • This is just a stub. • The implementation is half baked. • More system calls returns just -1 (error) • No filesystems
  • 11. My Additional Choice • FatFs : Free-beer FAT Filesystem • http://elm-chan.org/fsw/ff/00index_e.html • Very permissive license. • So many example uses including commercial products.
  • 12. My Hacks • Writing several glue code as mrbgems. • Xen s block device - FatFs - Stubdom • Hacking mrbgems to fit poor Stubdom API set. • Porting mirb (mruby interactive REPL) and implementing multi-threaded telnet server. • Implementing { ISO ¦ POSIX } functions for Stubdom.
  • 13. stack structure Xen Dom0 DomU (Stubdom) FatFs Blk-Dev mruby core mirb(CLI shell) DomU (Stubdo FatFsmrbgems Vedis = ruby style API = C API (provided by POSIX, ISO-C, and mruby)
  • 14. More feature • Small footprint Key-Value-Store • vedis - http://vedis.symisc.net/ • Henry Spencer's Regular Expression • And user can add more feature using mrbgems.
  • 15. Wish (again) • Feather-weight cloud OS. • Runs on virtualization framework. • Works with VM based Light-weight Language like Ruby..
  • 16. What s Mocloudos • Feather-weight cloud OS. • Floppy disk size kernel. • Runs on virtualization framework. • Runs on Xen para-virtualization layer. • Works with VM based Light-weight Language. • mruby REPL based command line shell.
  • 17. What s Mocloudos • multi mruby VM support. • Each mruby VM state is bound to 1 xen thread. • Extensivity by mrbgems. • KVS (NoSQL) support, and more in the future
  • 18. I could my Cloud OS within 14 man-days. • Feb 1 : Project started. • Feb 2 : telnet service with mruby • Feb 28 : Vedis KVS integration • Mar 3 : FAT FS integration started (but it break FAT) • Mar 11 : DHCP and Socket class for mruby finished • Mar 12 : FAT FS integration finished • Moving to alpha version. \Today!/
  • 19. Similar Product and Differences • Qubes OS • Based on Xen • My OS doesn t have strict security. Feather-weight is all. • mruby on OSv • Uses mruby • My OS doesn t have Linux level compat. They are all removed.
  • 20. Future Plan • Source code release. • Porting to another environment. • Real devices / Full virtualization (like Bhyve) • Finding applications that it requires.
  • 21. Conclusion • The feather-weight OS for { cloud ¦ virtualization } was born. • It was developed within 14 man-days. • Many people also can create similar one easily.
  • 22. Conclusion • Bhyve will be an attractive host for such OSes.