Upload
yahya-nursalim
View
99
Download
0
Embed Size (px)
Citation preview
VirtualMachinesandCloud ClusterDanThanhTon UniversityofColoradoDenver 2010SIParCSInternship Mentor:IrfanElahi
Overview InstalledtwooperaDngsystemsonone computer Installedtwovirtualmachinesoneach operaDngsystem WroteandusedbenchmarkrouDnestotest theperformanceofCPU,memory,harddrive Builtacloudclusterfrombaremetalonthe Thundersupercomputerandinstalledvirtual machinesonit
VirtualMachine Avirtualmachine(VM) isasoOware implementaDonofa machinethatexecutesa programlikeaphysical machine.
OracleVMVirtualBox Itinstallsmanydierent operaDngsystemsonan exisDngoperaDngsystem suchas: WindowsandLinuxon Mac WindowsServer2008on Linuxserver LinuxonWindowsPC
WhyisvirtualizaDonuseful? OperaDngsystemsupport TesDnganddisasterrecovery InfrastructureconsolidaDon EasiersoOwareinstallaDon
Benchmarks BenchmarkrouDnesareusedtomeasurea certainaspectofperformanceoCPUperformance oMemoryperformance oHarddriveperformance oNetworkperformance
CPUBenchmark TestCPUperformance ThesametestwasusedtobenchmarkCPU performanceonbothsystems
CPUPerformanceUbuntu/Linuxhypervisor80 80 70 60 50 40 30 20 10 0 70 60 50 40 30 20 10 0
WindowsServer2008hypervisor
Performance(Seconds)
Sizeofdata(Mb) UbuntuVM WindowsServer2008VM
Performance(Seconds)
Sizeofdata(Mb) UbuntuVM WindowsServer2008VM
HardDriveBenchmark Testharddriveperformance Thesametestwasusedtobenchmarkhard driveperformanceonbothsystems
HardDrivePerformanceUbuntu/Linuxhypervisor140
WindowsServer2008hypervisor140
Performance(Seconds)
100 80 60 40 20 0
Performance(Seconds) Sizeofle(Mb) UbuntuVM WindowsServer2008VM
120
120 100 80 60 40 20 0
Sizeofle(Mb) UbuntuVM WindowsServer2008VM
MemoryBenchmark Testmemoryperformance Thesametestwasusedtobenchmark memoryperformanceonbothsystems
Performance(Seconds)10 20 30 40 50 60 0 1.53 1.83 2.14 2.44 2.75 3.05 3.36 3.66 3.97 4.27 4.58 4.88 5.19 5.49 5.8 6.1 6.41
Ubuntu/LinuxOShypervisor
Size(Mb) UbuntuVM WindowsServer2008VM Performance(Seconds)10 0 1.53 1.83 2.14 2.44 2.75 3.05 3.36 3.66 3.97 4.27 4.58 4.88 5.19 5.49 5.8 6.1 6.41 20 30 40 50 60
MemoryPerformance
WindowsServer2008hypervisor
Size(Mb) UbuntuVM WindowsServer2008VM
PystoneBenchmark TestCPUandmemoryperformance ThesametestwasusedtobenchmarkCPU andmemoryperformanceonbothsystems
pystones/second
10000
20000
30000
40000
50000
60000
70000
80000
90000
0 50000 100000 300000 500000 700000 900000 1100000 1300000 1500000 1700000 1900000 2100000 2300000 2500000 2700000 2900000 3100000 3300000 pystones/second Numberofloops 10000 20000 30000 40000 50000 60000 70000 0 50000 100000 300000 500000 700000 900000 1100000 1300000 1500000 1700000 1900000 2100000 2300000 2500000 2700000 2900000 3100000 3300000 UbuntuVM WindowsServer2008VM Numberofloops UbuntuVM WindowsServer2008VM
Ubuntu/Linuxhypervisor80000 90000
PystoneBenchmarkWindowsServer2008hypervisor
RichardBenchmark TestCPUandmemoryperformance ThesametestwasusedtobenchmarkCPU andmemoryperformanceonbothsystems
RichardsBenchmarkUbuntu/Linuxhypervisor120 120 100 100
WindowsServer2008hypervisor
80 Time(sec) 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 Time(ms)
80
60
60
40
40
20
20
NumberofiteraIons UbuntuVM WindowsServer2008VM
10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 NumberofIteraIon UbuntuVM WindowsServer2008VM
0
0
ReviewAnalysis Ubuntuperformedbe`erthanWindows UnderharddrivetheamountofDmetoread signicantlyless ImprovedresultsinCPU&Memorytests ComputaDonofPystone/secondsgreaterthan Windows RichardsbenchmarkcomputedinlessDmeper iteraDons
RelevantUseCase Givenanopportunityto buildacloudcluster Providedwithhardware toassemblecluster
CloudCompuDng Deliverhostedservicesoverthe Internet AcloudservicehasthreedisDnct characterisDcsthatdierenDateit fromtradiDonalhosDng Soldondemand elasDc fullymanagedbytheprovider
Thereare2kindsofcloudcompuDng: Public Private
CreaDngThunderHPCCloud Deploymasternode Deployclusternodes Deployvirtualmachines
MasterNodeo UseSystemRescuebootdisktobootthemasternode o Congurethenetwork o Downloadandextracttheinstallscriptthenruntheinstall scripttoinstallthenode o Generatersaanddsakeys o Reboot o Connecttomasternodeviassh o RestoretheinstallaDonRepo
ClusterNodeso TheclusterissplitupintotwoDers o Updateallthesefngs o InstalltherstDer o RebootallthenodesintherstDer o CheckthatallthenodesareupbyconnecDngtoallthenodes o InstallthesecondDer o RebootallthenodesinthesecondDer o Checkthatallthenodesareup
DeployVirtualMachineso DownloadalistofVMs o PushVMstoassignedservers o ConnecttoeachnodeandcheckifVMswereinstalled correctly sshtoeachnode
Sources OracleVMVirtualBoxOracleCorpora+on h`p://www.virtualbox.org/manual/UserManual.html SpecializedHPCClustersintheCloudJasonStowe h`p://www.syscon.com/node/1447223 CloudCompuDng h`p://en.wikipedia.org/wiki/Cloud_compuDng h`p://searchcloudcompuDng.techtarget.com PegasusXenClusterNathanRiniNCAR VirtualizaDonNathanRiniNCAR
QuesDons?