Lecture 11 Virtual Machines and Computers Flashcards

1
Q

Define hypervisor

A

the virtualization software component that creates and monitors the virtual hardware environment, which allows multiple VMs to share physical hardware resources. On a host computer, it acts somewhat like an OS kernel, but instead of scheduling processes for access to the CPU and other devices, it schedules VMs. It’s sometimes called the “virtual machine monitor (VMM).” There are two types of hypervisors:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Single Tenant definition:

A

Traditionally all software (and OS) are installed on one physical hardware.

These software run native on this single hardware and is called single tenant.

This is the way most PCs run.

Technology growth has led to advancement in computing – Core i9, 64GB+
RAM, 8 TB+ HDD/SSD.

These would be underutilized by the single tenant system.

Lots of idle time for CPU and other resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Multi tenant

A

Multi tenancy allows multiple systems run on a single hardware.

It ensures efficient utilization of the resources and reduces idle time.

It can be achieved using Virtualization and/or Containerization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Multi Tenancy - Virtualization

A

Software instance of a physical system is called a virtual machine (vm)

Virtualization allows many instances of a system (vm) to run on a physical
hardware.

Hypervisor manages the vms.

Examples: VirtualBox, VMWare Player, Hyper-V, Xen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Virtualization

A

Creating a software replica of a hardware.

Creating a computer that runs on another computer.

A virtual machine or VM is an instance of a physical machine (PM) represented in software.

In Cloud Computing, users are usually allocated VMs.

It allows sharing of a PM between multiple users.

It allows the Cloud provider utilize hardware efficiently, save energy and reduce cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multi Tenancy - Containerization

(not a

A

Containers are a form of “mini vms” in that they are not full-blown systems but a specialized system for a specific application.

By using containers, the developer can be certain that the application would run properly and as expected 100% of the time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Multi Tenancy - Containerization examples

A

Examples:
* Docker
* Linux Containers (LXC)
* Kubernetes*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Characteristics of containers, seperate from VMs

A

OS level virtualization.
* Containers share the OS kernel,
binaries and libraries.
* Containers are light (MBs in size).
* Faster to spin up
* Using containers, apps can be
broken into multiple units/
services hence, not monolithic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Characteristics of VMs, seperate from containers

A

Separate computers running on same physical machine.
* Each VM has its own OS and
applications.
* VMs are large (GBs in size)
* Hypervisor manages VMs.
* VMs are monolithic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Docker

A
  • A software platform for packaging applications into containers.
  • Provides commands for building / testing / deploying apps.
  • Creation of containers from Docker Images.
  • The servers that host containers must have Docker Daemon installed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Kubernetes

A

Container orchestration software
* Handles container:
* Provisioning
* Scaling
* Networking
* Cluster
* Load distribution
* Is open-source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define: Internet of Things

A

Everyday objects embedded with sensors and actuators
and connected a network (wired and wireless).

These objects can then be accessed through the Internet
and are called connected or smart objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

3 main things to remember about IoT

A

Sensors, actuators, means to connect to the internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

IoT Enabling Technologies: Near Field Communication (NFC):

A

Allows two device communicate with a 3-5cm range

tap to pay
apple pay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

IoT Enabling Technologies: IPv6

A

for unique object addressing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

IoT Enabling Technologies: Bluetooth Low Energy

A

similar to the classic BT but with lower energy
consumption i.e. BT v4 and v5.

17
Q

IoT Enabling Technologies: * QR and barcode

A

???

18
Q

IoT Enabling Technologies: LPWAN:

A

Low Power Wide Area Network

19
Q

IoT Enabling Technologies: ZigBee

A

PAN protocol that provides low power, low data rate but high throughput

20
Q

IoT Enabling Technologies: Power-Line Communication (PLC):

A

Similar to PoE, wiring that conveys both power and data.

21
Q

Sensors

A

The sensors are used to monitor/measure the ambience
such as air and water quality, gather weather information, track the movements of wild animals, help farmers monitor crops, monitor people in office buildings, and assess traffic on highways, etc.

22
Q

actuators

A
  • The actuators allow these objects interact with the physical environment. Example a turning the steering of a smart car or toggling a light switch.
23
Q

means to connect to the internet

A

IoT enabling technologies (IPv6, Bluetooth Low Energy, Near Field Communication (NFC), QR and barcode, LPWAN, ZigBee, Power-Line Communication (PLC)

24
Q

video:

A

sequence of images displayed
at constant rate
* e.g., 30 images/sec

25
Q

digital image:

A

array of pixels
* each pixel represented by bits

26
Q

coding:

A

use redundancy within and
between images to decrease # bits
used to encode image
* spatial (within image)
* temporal (from one image to next)

27
Q

spatial coding example:

A

instead of sending N values of same colour(all purple), send only two values:
colour value (purple) and number
of repeated values (N)

28
Q

temporal coding example:

A

instead of sending
complete frame at i+1,
send only differences from
frame i

29
Q

CBR:

A

(constant bit rate): video
encoding rate fixed

30
Q

VBR:

A

(variable bit rate): video
encoding rate changes as amount of
spatial, temporal coding changes

31
Q

DASH:

A

Dynamic, Adaptive Streaming over HTTP

32
Q

server (DASH):

A
  • divides video file into multiple chunks
  • each chunk stored, encoded at different rates
  • manifest file: provides URLs for different chunks
33
Q

client (DASH):

A
  • periodically measures server-to-client bandwidth
  • consulting manifest, requests one chunk at a time
  • chooses maximum coding rate sustainable given
    current bandwidth
  • can choose different coding rates at different points
    in time (depending on available bandwidth at time)