Seawall:解决数据中心网络共享挑战

需积分: 9 5 下载量 76 浏览量 更新于2024-07-25 1 收藏 1.06MB PPT 举报
"这篇论文探讨了数据中心网络的共享问题,并提出了Seawall这一网络控制架构,旨在解决云数据中心网络资源的优化配置和性能干扰问题。Seawall通过使用拥塞控制循环来适应网络配置,提供灵活且无需中央协调的服务接口,以支持大规模的虚拟机和任务部署。" 在当今的数字化时代,数据中心扮演着至关重要的角色,它们提供大量的计算和存储资源。特别是云数据中心,因其高度多路复用和资源共享的特性,成为众多企业和服务的首选平台。然而,这种共享环境也带来了网络资源配置的挑战,比如基础设施服务的性能干扰、恶意用户的威胁以及特定业务如MapReduce的高效运行需求。 论文指出,现有的网络配置策略往往不能满足动态变化的需求,例如,当面对基础设施作为云服务时,正常的通信流量和恶意用户的活动可能相互影响,导致性能下降。此外,对于需要支持特定业务的服务器集群,如何有效分配资源并根据需求动态调整,是一个复杂的问题,而网络拥塞会进一步降低效率。 为了解决这些问题,Seawall应运而生。Seawall的设计目标是提供一个健壮的网络控制架构,它不需要对现有网络拓扑和硬件进行修改,同时能有效地利用网络资源并扩大交互规模。其核心在于利用拥塞控制循环,适应网络配置,实现更高效的资源分配,并基于策略地控制配置方案。值得注意的是,Seawall的实施是在虚拟化管理程序级别进行的,因此它独立于用户代码,避免了可伸缩性和硬件重配置的困扰。 Seawall引入了一个简单而灵活的服务模型,每个虚拟主机(VM)都有一个与其关联的权重,分配给VM的带宽与权重成比例。这样,高级策略如性能隔离和差异化配置模型得以实现。例如,小型VM可能只分配到较少的网络权重,以确保关键服务或大内存VM获得更多的带宽。 Seawall的模型强调了链路级别的拥塞控制,但认识到仅依赖链路控制是不够的。因此,Seawall采用了结合链路和路径的拥塞控制策略,以更好地管理和减少网络拥塞。通过每50毫秒的拥塞反馈,Seawall的速率控制器可以实时调整网络速率,从而提高整体网络性能。 Seawall为云数据中心提供了一种创新的网络解决方案,它解决了网络资源的动态分配、性能干扰以及服务接口的灵活性问题,为大规模的虚拟机和任务部署提供了更好的网络环境。

The following is the data that you can add to your input file (as an example). Notice that the first line is going to be a line representing your own hobbies. In my case, it is the Vitaly,table tennis,chess,hacking line. Your goal is to create a class called Student. Every Student will contain a name (String) and an ArrayList<String> storing hobbies. Then, you will add all those students from the file into an ArrayList<Student>, with each Student having a separate name and ArrayList of hobbies. Here is an example file containing students (the first line will always represent yourself). NOTE: eventually, we will have a different file containing all our real names and hobbies so that we could find out with how many people each of us share the same hobby. Vitaly,table tennis,chess,hacking Sean,cooking,guitar,rainbow six Nolan,gym,piano,reading,video games Jack,cooking,swimming,music Ray,piano,video games,volleyball Emily,crochet,drawing,gardening,tuba,violin Hudson,anime,video games,trumpet Matt,piano,Reading,video games,traveling Alex,swimming,video games,saxophone Roman,piano,dancing,art Teddy,chess,lifting,swimming Sarah,baking,reading,singing,theatre Maya,violin,knitting,reading,billiards Amy,art,gaming,guitar,table tennis Daniel,video games,tennis,soccer,biking,trumpet Derek,cooking,flute,gaming,swimming,table tennis Daisey,video games,guitar,cleaning,drawing,animated shows,reading,shopping Lily,flute,ocarina,video games,baking Stella,roller skating,sudoku,watching baseball,harp Sophie,viola,ukulele,piano,video games Step 2. Sort the student list in the ascending order of student names and print them all on the screen After reading the file and storing the data in an ArrayList<Student>, your program should sort the ArrayList<Student> in alphabetical order based on their names and then print the students' data (please see an example below). As you can see, here is the list of all students printed in alphabetical order based on their names and hobbies. You are not going to have yourself printed in this list (as you can see, this list does not have Vitaly). Alex: [swimming, video games, saxophone] Amy: [art, gaming, guitar] Daisey: [video games, guitar, cleaning, drawing, animated shows, reading, shopping] Daniel: [video games, tennis, soccer, biking, trumpet] Derek: [cooking, flute, gaming, swimming] Emily: [crochet, drawing, gardening, tuba, violin] Hudson: [anime, video games, trumpet] Jack: [cooking, swimming, music] Lily: [flute, ocarina, video games, baking] Matt: [piano, Reading, video games, traveling] Maya: [violin, knitting, reading, billiards] Nolan: [gym, piano, reading, video games] Ray: [piano, video games, volleyball] Roman: [piano, dancing, art] Sarah: [baking, reading, singing, theatre] Sean: [cooking, guitar, rainbow six] Sophie: [viola, ukulele, piano, video games] Stella: [roller skating, sudoku, watching baseball, harp] Teddy: [chess, lifting, swimming] Step 3. Find all students who share the same hobby with you and print them all on the screen Finally, your program should print the information related to the students who share the same hobby as you. In my case, it would be the following based on the above-mentioned file. There are 0 students sharing the same hobby called "hacking" with me. There are 1 students (Teddy) sharing the same hobby called "chess" with me. There are 2 students (Amy, Derek) sharing the same hobby called "table tennis" with me.

2023-06-10 上传