Test 1 Flashcards
What are the Pros and Cons of Full Virtualization?
Full Virtualization
Pros:
No source code modification required
Easy to implement
Feasible for all CPU architectures
Cons:
Latency from OS/HW emulation
Hard to provide real-time guarantees
What are the pros and cons of paravirtualization?
Paravirtualization
Pros:
Better performance compared to full virtualization
25-75% less RAM usage
2-20% less disk I/O
10% less network I/O
7% less CPU usage for privileged instructions
Cons:
Requires OS modification
Poor portability
Not compatible with off-the-shelf or legacy OS versions
What is a rack?
A large amount of servers mounted and connected together
What is a cluster?
A collection of server racks
How are things stored in data centers?
Through a combination of SSDs and HDDs
What is the main use case of SSD?
Accessing data
What is the main use case of HDD?
Storing data for long term use
What is Directed Attached Storage?
Storage directly connected to the server
What are Network Storages?
Storage connected to a cluster level switch
What are some attributes of Directed Attached Storage?
Backup (at least three) is managed by a distributed file system, low cost but low reliability
What are some attributes of Network Storage?
Contains redundancy and replication mechanisms
What is the goal of data center software?
To maximize the locality of communication and data relative to the rack
Where are data centers located?
Close to internet backbone optical fibers
Areas with cheap and reliable electricity
Areas with low property tax rates
Areas with high stability in the country
What is CAPEX?
Capitial Expenditure which includes the building, power, cooling infrastructure, and initial IT equipment
What is OPEX?
Operational Expenditure which includes, buying replacement equipment, electricity, and salaries
What takes up the most of a Data Centers power?
CPUs, DRAM, Disks, and Networking
Why does power consumption in Data Centers matter?
It costs alot of money
What percentage of global energy is used by data centers?
1%
How to quantify Energy Efficiency?
PUE Power Usage Effectiveness
1+Non IT Equipment Power/ IT Equipment Power
Which is better a higher PUE or lower PUE
Lower PUE 1 is ideal
What is held in the HW layer of Google Data Centers?
Servers, Storage, Networks, Accelerators, Physical Infrastructures
What is held in the Virtualization layer of Google Data Centers?
Bios, MGMT Controller, Drivers, Kernel
What is held in the Resource MGMT layer of Google Data Centers?
BORG Master, BORGLET, Chunkserver
What is held in the Cluster Infrastructure layer of Google Data Centers?
Mapreduce, Spanner, Colossus, Remote Procedure, Auto Scaling
What is held in the app framework layer of Google Data Centers?
Serving Infra, Data Analysis, User Experience, Front End Infra
What is held in the Monitoring Infrastructure?
Service Level Dashboards
Performance Debugging tools
Platform level health monitoring
What is in the App Framework?
Application Frameworks
Application Level Software
What are the two classes of Data Center Workloads?
Service Workloads
In-house Workloads
What are Service workloads?
Work loads meant to deal with user concerns directly
What are In House Workloads?
Workloads meant to deal with concerns related to in house production
Why are there two classes of workloads in Data Centers?
To over provision in the case of a traffic spike
What are the three different types of DC workloads?
1st party workloads
1st party workloads offered to 3rd party customers
3rd party workloads
What is VM migration?
Moving a VM from one host to another
What are the five benefits of Virtualization?
Run multiple/different OSes on a single machine
Consolidate underutilized servers to reduce CAPEX and OPEX
Simplified management
Improved availability
Enforced Security
What are some VM migration use cases?
Load balancing
Maintenance
Fault tolerance and Failover
What is Load balancing?
Moving a VM to a less busy host
What is Maintenance in the context of VM migration Use Cases?
Moving a VM from one host to another before the first hosts shut down
What is the most common cause of Data center failure?
Upgrades, but more generally maintenance
What is Fault Tolerance and Failover in the context of VM migration use cases?
Recovery VM from host failure, restart VMs on different hosts
What are the two types of VM migrations?
Cold Migrations and Hot Migrations
What is Cold Migration?
When you shut down the first VM on host 1 and then restart on host 2
What are the phases of Live Migration?
Phase One Take a VM snapshot and then save VM state
Phase Two Start a new VM with snap shot and duplicate VM state
Phase Three Copy final state of source VM, turn off source VM, Update the last copy of VM state
Phase Four Add to service network
Does live migration have service downtime?
Yes (1 to 2 seconds)
What is total migration time?
Duration between time when migration is initiated and time when the migrated VM is resumed
What is down time?
The time that the VM is out of service due to migration
What is the most difficult technical challenge in VM migration?
How to synchronize memory contents
What are the two Live Migration Techniques?
Pre-copy
Post-Copy
What are the benefits of Post-Copy?
Shorter migration time
Migration time is close to stop and copy
What are the downsides to Post-Copy?
Overhead after migration
What are the benefits of Pre-copy?
Minimal downtime
What are the downsides to Pre-copy?
Migration time and if the host dies during migration dont know what to do
What are the four types of virualization?
Full Virtualization
Paravirtualization
Os-Level Virtualization
Application Level Virtualization