Lecture 2 Flashcards

1
Q

What are the 4 stages in the Fetch-execute cycle?

A

Fetch
decode
execute
store

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

Describe the fetch execute cycle:

A
  1. Fetch (Read): The next instruction is fetched from the memory.
  2. Decode: The decoder interprets the instruction and gets decoded.
  3. Execute: The CPU passes the decoded information to perform the actions required by the ALU to perform mathematical or logic functions on them.
  4. Store: The results stored in the main memory, or sent to an output device.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does virtualization allow?

A

Virtualization technology enables a single PC or server to simultaneously run multiple operating systems or multiple sessions of a single OS

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

what is a hypervisor?

A

The solution that enables virtualization is a virtual machine monitor (VMM), or hypervisor

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

What are the 3 requirements for hypervisors?

A
  1. Safety: full control ofvirtualized resources.
  2. Fidelity: Behavior of a program on a virtual
    machine should be identical to same program
    running on bare hardware.
  3. Efficiency: The code in virtual machine should
    run without intervention by hypervisor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are 2 key reasons for using virtualization?

A

Rapid deployment-A new VM may be deployed in a
matter of minutes

Ease of management- Virtual machines facilitate deployment and testing of software

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

Define a virtual machine

A

A Virtual Machine is a software construct that mimics the characteristics of a physical machine

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

What are 2 principle functions performed by a hypervisor?

A

Execution management of VMs

Devices emulation and access control

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

What is a type 1 hypervisor?

A

Type 1 hypervisors always run on the bare metal

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

What is a type 2 hypervisor?

A

 Type 2 hypervisors use the services of an existing host Operating System

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

What are 3 characteristics of Clouds?

A
  1. On-demand self-service
  2. Broad network access
  3. Resource pooling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some major challenges in Bringing Virtualization to the x86 architecture

A
  1. The x86 architecture was not suitable for virtualization.

2. The x86 architecture was of daunting complexity

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

What are some benefits of ESX type-1 server architecture?

A
  1. CPU scheduler ensures that each virtual machine gets a fair share of the CPU
  2. Memory manager is optimized for scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 4 virtualization techniques?

A

CPU Virtualization
 Memory Virtualization
 Storage Virtualization
 Network Virtualization

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

What is paravirulization?

A

A Software-Assisted virtualization technique that
uses specialized APIs to link virtual machines with the
hypervisor to optimize their performance.
• The operating system in the virtual machine, Linux or
Microsoft Windows, has specialized para-virtualization
support as part of the kernel, as well as specific paravirtualization drivers.
• Allow the OS and hypervisor to work together more
efficiently without the overhead of the hypervisor
translations.

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

What are the 3 ways for VM Optimization?

A

Para-virtualization
 Hardware-assisted Virtualization
 Containerization

17
Q

What is hardware assisted- virtualization?

A

Processor manufacturers AMD and Intel added functionality to
their processors to enhance performance with hypervisors
• AMD-V and Intel’s VT-x designate the hardware assisted
virtualization extensions that the hypervisors can take advantage
of during processing
• Intel processors offer an extra instruction set called Virtual
Machine Extensions (VMX)

18
Q

What is containerization?

A

In this approach, software, known as a virtualization container, runs on top of the host OS kernel and provides an isolated execution environment for applications

Unlike hypervisor-based VMs, containers do not aim to emulate physical servers; instead, all containerized applications on a host share a common OS kernel