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 experienceAlex Tumanoff
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experienceIgor Anishchenko
 
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
 
Irfan maulana nodejs web development
Irfan maulana   nodejs web developmentIrfan maulana   nodejs web development
Irfan maulana nodejs web developmentPHP Indonesia
 
PHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentPHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentIrfan Maulana
 
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
 
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
 
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
 
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
 
Irfan maulana nodejs web development
Irfan maulana   nodejs web developmentIrfan maulana   nodejs web development
Irfan maulana nodejs web development
 
PHP Indonesia - Nodejs Web Development
PHP Indonesia - Nodejs Web DevelopmentPHP Indonesia - Nodejs Web Development
PHP Indonesia - 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
 
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
 
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)
 
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

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Recently uploaded (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

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.