Chrome OS: The Stateless Operating System

Post on 04-Dec-2014

255 views 6 download

description

Chrome OS is a consumer Stateless Operating System. It was designed for the era of the Internet.

Transcript of Chrome OS: The Stateless Operating System

Mark ( Chatchai )Wangwiwattana

Computer Science

Lyle School of EngineerSouthern Methodist University

Chrome OSThe Stateless Operating System

http://hothardware.com

Released 2007

The beginning of netbooks era

Asus EEEPC 700

Chrome devices blur the line between laptops and mobile devices

Acer C720 Chromebook

Stateless OS

1. If you throw a computer out the window, you should be able to recreate its software, configuration, and user data bit-for-bit identically on a new piece of hardware.

2. In any managed deployment from school workstation lab to enterprise server room, single computers should never be modified. Instead, all computers that need the modification should be modified in a single step.

The idea is proposed in 2004 by Red Hat.

http://citethisbook.net/Red_Hat_Introduction_to_Stateless_Linux.html

Chromium OS Overview

Simplicity Security

Speed

Chrome OS was Designed with These Three Principles

Simplicity

Chrome OS in 2009

Chrome OS in 2010

Chrome OS in 2014with Aura Windows Manager

● OpenGL/ES● XComposite extension● ICCCM( Inter-Client Communication

Conventions Manual)● EWHM( Extened Window Manager).

Speed

CPU & Memory Init

Hardware Init

Load & Start Bootloader

Load & Start Kernel

Splash Screen

Hardware Init

Splash Screen

Random Stuff

Login

Startup Application

Antivirus

Browser

Login

CPU & Memory Init

Hardware Init

Load & Start Bootloader

Load & Start Kernel

Splash Screen

Hardware Init

Splash Screen

Random Stuff

Login

Startup Application

Antivirus

Browser

Login

Traditional Desktop OS Chrome OS

Fast Boot

SpeedMemory Management

Swap

LinuxMain Memory Swap Partition

Swap

Chrome OSMain Memory Swap

Discard

Chrome OSMain Memory Swap

& Reload

Memory Management

10 MB

Softwall Hardwall

Discard

Chrome OSMain Memory Swap

& Reload

- Extend SSD Life- Fast

The Downside of This Technique

It’s hard to decide what tabs to be killed.

Ex. Music PlayerNote Taking App

Chrome OS

Tab Priority 1. Internal pages like new tab page, bookmarks, etc.

2. Tabs selected a long time ago3. Tabs selected recently4. Tabs playing audio5. Apps running in a window6. Pinned tabs7. The selected tab

Main Memory Swap

Compressed Memory Pull

ZSwap

ZSwap

Chrome OS

Security

● Verified Boot● Auto Update and System Partitions● Sandbox● Encrypted User Data● Read-only Root

SecurityVerified Boot

Malware

Traditional OSSystem Access

SecuritySandbox

Read Only

SecurityAuto Update & System Partitions

Root B

State PartitionStore User Data

*Root A

* Bootable Partition

Same SizeRead Only

Encrypted

Future of Chrome OS

Future of Chrome OS

Support Native Android App

http://www.omgchrome.com/android-apps-notifications-call-alerts-chromebook/

Future of Chrome OS

East Unlock

http://www.omgchrome.com/android-apps-notifications-call-alerts-chromebook/

Simplicity

Security

Speed

Summary of Chrome OSStateless LinuxNothing But Web

Discarding TabsFast Boot

Zswap

Auto-UpdateVerified Boot

SandboxEncrypted User’s DataRead-Only Root

Same Experience Everywhere

Chrome OS is a totally rethought computer that lets you stop worrying about your computer, so you can focus on the internet, which is what most of us use our computers for nowadays, anyways. -- Google

Questions