OS

V

Dor Laor, Avi Kivity Cloudius Systems

Glauber Costa Nadav Har’EL, Nested KVM

KVM, Containers, Xen

OS

V Avi Kivity KVM originator

Pekka Enberg, kvm, jvm, slab

Dor Laor, Former kvm project mngr Or Cohen

Dmitry Fleytman Ronen Narkis

Guy Zana

hch

The story so far In the beginning there was hardware … and then they added an application … and then they added an operating system … and then they added a hypervisor … and then they added managed runtime Notice the pattern?

Typical Cloud Stack Your App Application Server JVM Operating System Hypervisor Hardware

Our software stack Congealed into existence.

A Historical Anomaly Your App Application Server JVM

provides protection and abstraction

Operating System provides protection and abstraction Hypervisor Hardware

provides protection and abstraction

Too Many Layers, Too Little Value Property/Component

VMM

OS

Hardware abstraction

a c i l

Resource virtualization Backward compatibility

p u

Security

D

Memory management I/O stack Configuration

n o

i t

Isolation

runtime

Virtualization Virtualization 1.0

Virtualization 2.0

Virtualization 2.0, Massive Scale

Scalability

Transformed the enterprise from physical2virtual

Compute node virtual server

Virtualization 2.0, Dev/Ops

Virtualization 2.0, agility!

Rolling upgrade within seconds and a fall back option

Virtualization 2.0 Architecture

vServer OS 1.0 ● No Hardware ● No Users ● No app(S)

● Yes Complexity

Mission statement

Be the best OS powering virtual machines in the cloud Your App

Your App

Your App OSv + Jazz JVM

OSv

Hypervisor OSv + Jazz JVM

Hypervisor

OSv + Jazz JVM

Hypervisor

Hypervisor

Hardware

Hypervisor

Hardware

Hardware

OSv

Hardware

Hardware

The new Cloud Stack - OSv Single Process

Kernel space only

Your App Application Server JVM Core Hypervisor Hardware

Linked to existing JVMs App sees no change

The new Cloud Stack - OSv Memory

Huge pages, Heap vs Sys

I/O

Zero copy, full aio, batching

Scheduling

Lock free, low latency

Tuning

Out of the box, auto

CPU

Low cost ctx, Direct signals,..

Van Jacobson == TCP/IP Common kernel network stack

Leads to servo-loop:

Van Jacobson == TCP/IP Net Channel design:

Van Jacobson == TCP/IP

Dynamic heap, sharing is good

Lend memory JVM Memory

System memory

Milestones

Formation, 12/2012

KVM, networking, 04/2013

Seed, 02/2013

OSS launch, Memcached First OEM outperform by 40%, revenue, 9/2013 Q1/2015

OSS launch, 09/2013

Outperform Other OSs, 07/2013

limited GA, Beginning 2014

Status ● Runs: ○ Java, C, JRuby, Scala, Groovy, Clojure, JavaScript

● Outperforms Linux: ○ SpecJVM, MemCacheD, Cassandra, TCP/IP

● ● ● ●

400% better w/ scheduler micro-benchmark < 1sec boot time ZFS filesystem Huge pages from the very beginning

Open Source ● These days, credibility == open source ● Looking for cooperation: ○ Kernel-level developers ○ Management stack ○ Dev/ops workflow

● BSD-style license

Architecture ports ● 64-bit x86 ○ ○ ○ ○

KVM - running like a bat out of hell Xen HVM - running (still slow :-( ) Xen PV - in progress VMware - planned in 2 months

● 64-bit ARM - planned ● Others - patches welcome

Integrating the JVM into the kernel Dynamic Heap Memory TCP in the JVM + App context

Your App Application Server JVM Core

Fast inter thread wakeup

Integrating the JVM into the kernel

Technical deep dive ● ● ● ●

C++ Idle time polling Performance and tracing Virtio-app

C++

Idle-time polling ● Going idle is much more expensive on virtual machines ● So are inter-processor interrupts - IPIs ● Combine the two: ○ Before going idle, announce it via shared memory ○ Delay going idle ○ In the meanwhile, poll for wakeup requests from other processors

● Result: wakeups are faster, both for the processor waking, and for the wakee

Performance and tracing

Virtio-app || Data plane ● For specialized applications, bypass the I/O stack completely ● Application consumes data from virtio rings User Kernel

OSv at the cutting edge front Traditional Application Socket Driver

Application ApplicationSocket Socket Driver

Host network Hypervisor

Hardware

OS-V Hypervisor

Hardware

OSv at the cutting edge front ●

Transactional Memory (lock elision) Better architecture match with higher transaction/sec and less contention



Perfect match with NVRam abundance In the near future we'll see NVRam reaches mainstream adoption. The importance of traditional filesystems will decrease, applications will manage their IO directly using NVRam

OS that doesn’t get in the way

NO Tuning NO State NO Patching 4 VMs per sys admin ratio http://www.computerworld.com.au/article/352635/there_best_practice_server_system_administrator_ratio_/

Management

Virtualization 2.0: Stateless servers

Let’s Build A COMMUNITY

Porting a JVM application to OSV 1. Done*

* well, unless the application fork()s

Porting a C application to OSV 1. 2. 3. 4.

Must be a single-process application May not fork() or exec() Need to rebuild as a shared object (.so) Other API limitations apply

Resources http://osv.io https://github.com/cloudius-systems/osv @CloudiusSystems [email protected]

v

OS @Cloudius

Cloudius Systems, OS Comparison Feature/Property

OSv

Traditional OS

Good for:

Machete: Cloud/Virtualization

Typical workload

Single app * VMs

Swiss knife: anything goes Multiple apps/users, utilities, anything

kernel vs app

Cooperation

distrust

API, compatibility

JVM, POSIX

Any, but versions/releases..

# Config files

0

1000

Tuning

Auto

Upgrade/state

Stateless, just boots

JVM support

Tailored GC/STW solution

Yet another app

Lines of code

Few

Gazillion

License

BSD

GPL / proprietary

Manual, requires certifications Complex, needs snapshots, hope..

Dor Laor, Avi Kivity Cloudius Systems

In the beginning there was hardware … and then they added an application … and then they added an operating system … and then they added a hypervisor.

NAN Sizes 2 Downloads 227 Views

Recommend Documents

Dor Guez CV.pdf
The Mobile Archive, Leeds Metropolitan University, Leeds, UK. Videobrasil, 18th ... Mix Cities, Nahum Gutman Museum, Tel Aviv. 40 Days, OG9 ... Arrivi e partenze, Mole Vanvitelliana, Ancona, Italy ... Displaying Dor Guez CV.pdf. Page 1 of 4.

[email protected] - GitHub
http://github.com/twitter/algebird http://github.com/avibryant/simmer http://blog.aggregateknowledge.com. @avibryant [email protected].

Tron legacy avi
Jekylland Hyde S01E07 1080p. Eva notty america.820365465.Windows 2013 pdf.Pete doherty grace wasteland.Gta 5 rg.Thecolour of noise.Romatherevenge.

DOR Performance Evaluation-04.19.2015.pdf
Operational Measures. Customer Service. Process ... DOR Performance Evaluation-04.19.2015.pdf. DOR Performance Evaluation-04.19.2015.pdf. Open. Extract.

Rachele richey avi
Jessicajones s01e04 1080p hevc.X-o manowar 042.Thestrain. ctrlhd.Smarter way ... All pdf pia.Download Rachelerichey avi- Digital playground 2015 juliaann.

Rocco siffredi avi
moment. I forever shallcarry outa bi-polar survey to showmy particular opinions on differentaspects ofthe SuttonHarbourarea. ... Amazing spider man.pdf. ... Results All oftheseexperiments we're done with 20ml ofH2O2 solution. rocco siffredi.

Avi-Tech Electronics - Amazon AWS
Jan 30, 2018 - strategic, joint venture and/or business partners. No representation or warranty (express or implied) is given as to the accuracy or completeness of such information and accordingly investors should make their own informed decisions be

FAQs - DOR approved.pdf
CAN THE TAX CREDIT CREATE A COLORADO INCOME TAX REFUND? No, the Colorado income tax credit may not exceed the tax liability for the year.

Avi-Tech Electronics - Amazon AWS
Jan 30, 2018 - Financial Exhibits. Financial model updated on : 2018-01-29. ..... This report may contain forward-looking statements which are often but not ...

Dvd to avi convertor
grandmaster flash.Transporter trilogy 1080.As four the questionnaire, we ... Keisha Grey – Hard at Work.Dvd to aviconvertor.Wirelesscommunication pdf.Office.

avi hangover 2.pdf
Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more ...

20130101-dor-posters-holocaust-spanish.pdf
otorgaba a Hitler el poder para gobernar a través de. decretos de emergencia. Berlín, Alemania, marzo de 1933. National Archives and Records Administration, ...

DOR Department Description FY14-15 Performance Plan.pdf ...
Full-Service Driver License Offices: Akron, Alamosa, Aurora, Boulder, Burlington, Canon City, Cheyenne Wells, Colorado Springs,. Cortez, Craig, Delta, Denver (2 locations), Durango, Fort Collins, Fort Morgan, Frisco, Glenwood Springs, Golden, Grand J

Mpeg 4 to avi
Daily showreza.72013023663. Mechanics south park.Power quest discography. ... Value proposition design pdf.Bill o reilly 2014 03.Wakeupnfuck hally. thomas.

KSUTP/P/DOR/ICB-04 - Asian Development Bank
Email: [email protected]. Date: 26 May 2016. Loan No. ... Office Code No: 27-337-64. Revenue Head: 1-4-2-2-7 ... for declaring the bid non- responsive.

Descargar thor 2 latino mega avi
puedo descargar whatsapp para nokialumia 800.descargar youtube ... crack y serialcompleto.descargar gratiscrack desolid converter pdf v7.descargar juego.

free avi movie maker software full version.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. free avi movie ...

4Easysoft Mac Mod to AVI Converter
Our company offers information and updates ... Excel Add Data & Text To All Cells Software - Download Patch Keygen LINK: . 1. Saber que codec tiene tu ... 4Easysoft Mac Mod to AVI Converter Download Free Computer Software Programs.

GABARITO AVI - 1 CHAMADA - 2017.2 - 1 BIM.pdf
Page 1 of 5. GABARITO AVALIAÇÃO INTEGRADA DE CONTEÚDOS ESPECÍFICOS. AGRONEGÓCIO, GESTÃO PÚBLICA, LOGÍSTICA, RECURSOS HUMANOS, PEDAGOGIA. QUESTÃO. TURMA. 01 02 03 04 05 06 07 08 09 10. AG2A E B A B E B C C D B. AG4A E B B E C E E B C D. AG6A

Dostoyevski, Fiódor - Memorias del Subsuelo.pdf
Sí, señores, el hombre del siglo XIX tiene el deber de. estar esencialmente despojado de carácter; está moralmente obligado a ello. El hombre de carácter, el.