freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

云存儲(chǔ)技術(shù)研究發(fā)展畢業(yè)設(shè)計(jì)-資料下載頁(yè)

2025-06-19 00:59本頁(yè)面
  

【正文】 求,結(jié)果返回?cái)?shù)據(jù)中心代理數(shù)據(jù)類(lèi)型。用戶(hù)可以對(duì)其進(jìn)行擴(kuò)展,實(shí)現(xiàn)自己的任務(wù)調(diào)度算法。 DatacenterBroker broker = createBroker()。 int brokerid =()。 CloudSim提供了很好的云計(jì)算調(diào)度算法仿真平臺(tái),用戶(hù)可以根據(jù)自身的要求調(diào)用適當(dāng)?shù)腁PI,例如,bindCloudletToVM(int cloudletld, int vmId),可以將云任務(wù)指定給虛擬機(jī)運(yùn)行?;蛘邔?duì)DatacenterBroker這個(gè)類(lèi)進(jìn)行擴(kuò)展,以進(jìn)行符合自己要求的試驗(yàn),實(shí)現(xiàn)自己的調(diào)度策略。代碼清單3:DatacenterBroker broker = createBroker()。 int brokerId = ()。private static DatacenterBroker createBroker(){ DatacenterBroker broker = null。 try { broker = new DatacenterBroker(Broker)。 } catch (Exception e) { ()。 //打印異常發(fā)生處的堆棧軌跡 return null。 } return broker。 }(4)創(chuàng)建虛擬機(jī)vmlist = new VirtualMachine List()。對(duì)虛擬機(jī)的參數(shù)進(jìn)行設(shè)置,主要包括ID、鏡像大?。∕B)、分配內(nèi)存大小(MB)、帶寬、CPU數(shù)量、優(yōu)先級(jí)、虛擬機(jī)名、調(diào)度策略。VirtulMachine vm*=new VirtualMachine(new VMCharacteristics(vmid,brokerId,size, memory,bw,Vcpus,pnonty,vmm,new TimeSharedVMScheduler0))。//將虛擬機(jī)加入虛擬機(jī)列表(vm*)。//向相應(yīng)代理提交虛擬機(jī)列表(vmlist)。這是虛擬機(jī)實(shí)例的建模。在這一步可以設(shè)置需要?jiǎng)?chuàng)建的虛擬機(jī)的數(shù)量以及虛擬機(jī)的內(nèi)存、處理器、外存和虛擬機(jī)的內(nèi)部調(diào)度策略。代碼清單4:vmlist = new ArrayListVm()。 //虛擬機(jī)參數(shù) int vmid = 0。 //ID int mips = long size = 10000。 //鏡像大小(MB) int ram = 512。 //內(nèi)存(MB) long bw = 1000。 int pesNumber = 1。 //CPU數(shù)量 String vmm = Xen。 //虛擬機(jī)名 //創(chuàng)建2個(gè)虛擬機(jī) Vm vm1 = new Vm(vmid, brokerId, mips, pesNumber, ram, bw, size, vmm, new CloudletSchedulerTimeShared())。 vmid++。 Vm vm2 = new Vm(vmid, brokerId, mips, pesNumber, ram, bw, size, vmm, new CloudletSchedulerTimeShared())。 //加入虛擬機(jī)列表 (vm1)。 (vm2)。 //虛擬機(jī)列表提交給代理 (vmlist)。(5)創(chuàng)建云任務(wù)//創(chuàng)建云任務(wù)列表cloudletList=new CloudletList()。//創(chuàng)建時(shí)指定任務(wù)的用戶(hù)ID,BrokerIDCloudlet cloudlet*=newCloudlet(id,length,file_size,output_size)。Cloudlet*.setUserID (brokerId)。//將任務(wù)加入任務(wù)列表(cloudlet1)。//向代理Broker提交任務(wù)列表(cloudletList)。在這一步可以設(shè)置需要?jiǎng)?chuàng)建的云任務(wù)數(shù)量以及任務(wù)長(zhǎng)度等信息。代碼清單5:cloudletList = new ArrayListCloudlet()。 //云任務(wù)參數(shù) int id = 0。 long length = 40000。 long fileSize = 300。 long outputSize = 300。 UtilizationModel utilizationModel = new UtilizationModelFull()。 Cloudlet cloudlet1 = new Cloudlet(id, length, pesNumber, fileSize, outputSize, utilizationModel, utilizationModel, utilizationModel)。 (brokerId)。 id++。 Cloudlet cloudlet2 = new Cloudlet(id, length, pesNumber, fileSize, outputSize, utilizationModel, utilizationModel, utilizationModel)。 (brokerId)。 //云任務(wù)加入列表 (cloudlet1)。 (cloudlet2)。 //提交云任務(wù)列表給代理 (cloudletList)。 //綁定云任務(wù)到虛擬機(jī). ((),())。 ((),())。(6)啟動(dòng)仿真 ()。代碼清單6:()。(7)在仿真結(jié)束后統(tǒng)計(jì)結(jié)果CloudletList newList = ()。()。printCloudletList(newList)。()。運(yùn)行完成的CloudSim實(shí)例程序即可實(shí)現(xiàn)云計(jì)算程序的模擬。代碼清單7:ListCloudlet newList = ()。 ()。 printCloudletList(newList)。 //打印賬單 ()。 ()。 (CloudSimhuye finished!)。 } catch (Exception e) { //異常處理機(jī)制 ()。 (Unwanted errors happen)。 } }(8)輸出結(jié)果代碼清單8:private static void printCloudletList(ListCloudlet list) { int size = ()。 Cloudlet cloudlet。 String indent = 。 ()。 (========== OUTPUT ==========)。 (Cloudlet ID+indent+STATUS+indent+Data center ID+indent +VM ID+indent+Time+indent+Start Time+indent+Finish Time)。 DecimalFormat dft = new DecimalFormat(.)。// 格式化十進(jìn)制數(shù)字 for (int i = 0。 i size。 i++) { cloudlet = (i)。 (indent + () + indent + indent)。 if (() == ){ (SUCCESS)。 ( indent + indent + () + indent+indent +indent+()+indent+indent+(()) + indent + indent + (())+indent + indent + (()))。 } } }} 6 總結(jié)及展望 本文工作總結(jié)云存儲(chǔ)是一種架構(gòu)復(fù)雜的系統(tǒng),與傳統(tǒng)的存儲(chǔ)系統(tǒng)相比,其建立在云計(jì)算系統(tǒng)的基礎(chǔ)設(shè)施之上,而這樣的基礎(chǔ)實(shí)施是基于廉價(jià)的、或虛擬化了的不可信物理硬件,同時(shí)其必須支持超大節(jié)點(diǎn)規(guī)模和海量數(shù)據(jù)存儲(chǔ),并具有高并發(fā)、低延遲的服務(wù)能力。為了滿(mǎn)足面向云存儲(chǔ)的這些高可用、高可靠、高性能的需求,我們研究了其實(shí)現(xiàn)的關(guān)鍵技術(shù)??傮w來(lái)說(shuō),本文的貢獻(xiàn)主要在以下三個(gè)方面:(1) 調(diào)研了云存儲(chǔ)的發(fā)展背景及現(xiàn)狀,云存儲(chǔ)的定義及其特點(diǎn),給出了其架構(gòu)模型,研究了云存儲(chǔ)與傳統(tǒng)存儲(chǔ)技術(shù)、云存儲(chǔ)與云計(jì)算的的關(guān)系。(2) 調(diào)研了云存儲(chǔ)的關(guān)鍵技術(shù),對(duì)比了多家云存儲(chǔ)廠商的架構(gòu)技術(shù)(GFS、GPFS、HDFS、Dynamo)和標(biāo)準(zhǔn)接口,以及其架構(gòu)的特點(diǎn)等相關(guān)背景知識(shí)。(3) 調(diào)研了云計(jì)算仿真工具CloudSim,及其程序的編寫(xiě)步驟,、對(duì)云計(jì)算系統(tǒng)進(jìn)行了仿真,分析了CloudSim平臺(tái)源碼,更加形象的了解云計(jì)算系統(tǒng)的工作方式。從最初調(diào)研云環(huán)境下的存儲(chǔ)技術(shù)到論文方案的提出,我閱讀了眾多文獻(xiàn),與老師討論多次,完成了仿真工具的安裝,代碼編寫(xiě),實(shí)驗(yàn)總結(jié)等一系列工作,收獲頗豐。本文的現(xiàn)階段的工作為云存儲(chǔ)的可用性及可靠性增強(qiáng)提供了一個(gè)較好的系統(tǒng)的解決方案。然而,本文的工作還存在一些不足需要更進(jìn)一步完善。(1) 盡管本文的一系列解決方案之間是互為補(bǔ)充的,但我們目前只在小規(guī)模的環(huán)境進(jìn)行了實(shí)驗(yàn)與測(cè)試,尚未在真實(shí)的大規(guī)模的云計(jì)算平臺(tái)上進(jìn)行測(cè)試。因此,我們將在下一步工作中探索本文的關(guān)鍵技術(shù)在真實(shí)云計(jì)算平臺(tái)中的應(yīng)用。(2) 研究存儲(chǔ)的安全性和用戶(hù)的隱私性問(wèn)題所涉及的關(guān)鍵技術(shù),如PXI應(yīng)用,基于虛擬化的隔離技術(shù)等。(3) 本文研究了云存儲(chǔ)中的關(guān)鍵技術(shù),但沒(méi)有結(jié)合實(shí)際,了解這些關(guān)鍵技術(shù)在不同廠商的云存儲(chǔ)產(chǎn)品中的應(yīng)用。所以,我要在下一步的工作中,調(diào)研實(shí)際的云存儲(chǔ)產(chǎn)品中的關(guān)鍵技術(shù)的運(yùn)用,使我更形象的理解這些關(guān)鍵技術(shù)??傊拼鎯?chǔ)的研究和應(yīng)用還有一片廣闊的前景,今后需要研究地問(wèn)題還很多,我們應(yīng)該不斷地學(xué)習(xí),利用自己所學(xué)的知識(shí),為該領(lǐng)域的相關(guān)研究做出自己應(yīng)有地貢獻(xiàn)。 參考文獻(xiàn)[1]Hayes B. Cloud Computing[J]. Communications of the ACM, 2008, 51(7): 911.[2]LING, DASMALCHIG, ZHU J. Cloud Computing and IT as a Service Opportunities and Challenges [C]//Proceedings of the IEEE 6th International Conference on Web Services (ICWS’ 08), Sep 2326. 2008. Beijing, China. Los Alamitos, CA, USA: IEEE Computer Society, .[3]NAMJOSHI I GUPTE A . Service Oriented Architecture for Cloud Based Travel Reservation Software as a Service [C] //Proceedings of the 2009 IEEE International Conference on Cloud Computing(CLOUD’ 09). Sep 2125, 2009, Bangalore, India Los Alamitos, CA, USA: IEEE Computer Society, 2009. 147150.[4]LAPLANTE PA, ZHANG J, VOAS J. What’S in a Name? Distinguishing Between SaaS and SOA[J|. T Professional, 2008, 10(3): 4650.[5]CAMPBELLKELLY M HistoricaI Reflections on the Rise, Fall, and Resurrection of Software as a Service[J]. Communications of the . 52(5): 2830.[6]王慶波, 金漳, 何樂(lè), 等. 虛擬化與云計(jì)算[M]. 北京: 電子工業(yè)出版社. 2009.[7]Michael Miller. Cloud Computing: web based applications that change the way you word and collaborate online. USA。 QUE, 2009. 2322.[8]Benjamin Blau. Cloud ComputingA Classification, Business Models, and Research Directions. Businessamp。Information Systems Engineering, Businessamp。Information Systems Engineering. 2009, 10, l(5). 391399.[9]Wenying Zeng, Yuelong on cloud storage architecture and key technologies. ICIS , 10, 3(4). 10441048.[10]Gregory Chockler, Rachid Guerraoui, Idit Keidar, etc. Reliable Distributed Storage. Computer. 2009, 4, 42(4). 6067.[11]Milad Pastaki Rad, Ali Sajedi Badashian, Gelare Meydanipou
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1