




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、构建高性能IP负载均衡技术byjgli搜狐研究院 基础架构部1硬件体系架构linux内核虚拟服务器DPDK:intel数据平面解决方案Missouri:IP负载均衡解决方案2硬件体系架构Xeon E5-2600 Product Family82599ES Ethernet ControllerPCI Express Interface3PCI Express Interface4PCI Express Interface版本原始传输率单向单通道带宽双向x1通道带宽双向x2通道带宽双向x4通道带宽双向x8通道带宽双向x16通道带宽PCIE 1.02.5GT/s250MB/s500MB/s1GB/
2、s2GB/s4GB/s8GB/sPCIE 2.05.0GT/s500MB/s1GB/s2GB/s4GB/s8GB/s16GB/sPCIE 3.08.0GT/s1GB/s2GB/s4GB/s8GB/s16GB/s32GB/sPCIE 4.016.0GT/s2GB/s4GB/s8GB/s16GB/s32GB/s64GB/s5PCI Express Interface# dmidecode t slot6x86体系架构变迁7Xeon E5-2600 Product Family8Xeon E5-2600 Product FamilyDirect Media Interface 2 (DMI2) co
3、nnects the processor to the Platform Controller Hub (PCH). DMI2 is similar to a four-lane PCI Express* supporting a speed of 5 GT/s per lane. 4GB/sIntel Xeon Processor E5-2620QPI Speed 7.2 GT/s3.6 GHz 2 bits/Hz (双倍数据传送速率) 20 (QPI连接宽度) (64/80) (数据比特数/数据数据包比特数) 2 (各向发送和接收作业同步进行) 8 (每字节比特数)= 28.8 GB/s1
4、 lik: 28.8GB/s2 lik: 57.6GB/sIntel Xeon Processor E5-2620DDR3-800/1066/1333DDR3-800 Bandwidth= 4*0.8Gb/s*64b8 = 25.6GB/sDDR3-1066 Bandwidth = 4*1.066Gb/s*64b8 = 34.1GB/sDDR3-1333 Bandwidth= 4*1.333Gb/s*64b8 = 42.6GB/s1 chan:10.6GB/s4 chan:42.6GB/s The Physical layer consists of the actual wires carr
5、ying the signals, as well as circuitry and logic to support ancillary features required in the transmission and receipt of the 1s and 0s. The unit of transfer at the Physical layer is 20-bits, which is called a Phit (for Physical unit). The Link layer is responsible for reliable transmission and flo
6、w control. The Link layers unit of transfer is 80-bits, which is called a Flit (for Flow control unit). The Routing layer provides the framework for directing packets through the fabric. The Transport layer is an architecturally defined layer (not implemented in the initial products) providing advan
7、ced routing capability for reliable end-to-end transmission. The Protocol layer is the high-level set of rules for exchanging packets of data between devices. A packet is comprised of an integral number of FlitsPCIE e3 x8: 16GB/s 9Xeon E5-2600 Product Familygoogle: What every programmer should know
8、about memory1082599ES Ethernet Controller1182599ES Ethernet Controller1282599ES Ethernet Controller1382599ES Ethernet Controller1482599ES Ethernet Controller15linux内核虚拟服务器LVS :Linux Virtual Serverkernel tunninglinux kernel network data flow16 Linux Networking LayersNetwork ApplicationsBSD SocketsINE
9、T SocketsTCPUDPIPPPPSLIPEthernetARPUserKernelSocket InterfaceProtocol LayersNetwork Devices17linux kernel network data flow18linux kernel network data flowlinux kernel network data flow19LVS :Linux Virtual Server20LVS :Linux Virtual Server工作模式:NAT/FULLNAT/DR/TUNNEL传输协议:TCP/UDP调度算法:RR/WRR/LCS/WLCS/.2
10、1LVS :FULLNAT22LVS :FULLNATreal servere间可以跨vlan通讯,in/out流都经过lvs,降低运维成本集群方式部署,扩展容易synflood及其他TCP FLAGS DDOS攻击防御,抗攻击能力强23kernel tunning多队列网卡,中断绑定软中断均衡,RPS/RFSlvs代码:session hash table,session hash bucket lock 等其他24DPDK:intel数据平面解决方案whowhywhat25国内的应用百度:数据中心阿里:协议栈,linux虚拟服务器腾讯:流量清洗其他:26DPDK产生背景27DPDK如何解决
11、问题28其他编程优化技术Software prefetchBranch Predictioninline, complier option, $ gcc -O3 test.c -o normal$ gcc -O3 test.c -o branch$ objdump -d branch branch.asm$ objdump -d normal normal.asm 29我们为什么要研究DPDK30Missouri:IP负载均衡解决方案performance testroadmapframeworkabout31What is the MissouriAlibaba LVS v3DPDK mod
12、eFULLNAT,TCP/UDPpercpu data32Missouri:network flow33performance testIEEE 802.3x双工模式(Full Duplex)中提供流量控管的机制(Flow Control);如网络交换器产生拥塞时就会利用PAUSE frame 通知传送者暂缓送出封包,以减缓拥塞情况。34test environmentclient: Dell PowerEdge R720Xeon CPU E5-2650 v2 2.60GHz82599ES 10-Gigabit SFI/SFP+server: Dell PowerEdge R720 xdXeo
13、n CPU E5-2620 2.00GHz10-Gigabit X540-AT2Memory 16G4 cpus4 pktgen threads25500 IP35Missouri vs LVS36Missouri vs LVS37Missouri vs LVSserver: Dell PowerEdge R720 xdXeon CPU E5-2620 2.00GHz10-Gigabit X540-AT2client: Dell PowerEdge R720Xeon CPU E5-2650 v2 2.60GHz82599ES 10-Gigabit SFI/SFP+64字节20 倍38Missouri:roadmapARP/RARP/ICMP/
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 车辆赠与及维修配件供应合同范本
- 采购法务与合同管理法律咨询及服务合同
- 智能温室彩钢骨架建造及维护服务合同
- 人工智能展参展商合作协议书模板
- 虚拟现实辅助的慢性疼痛康复训练研究-洞察阐释
- 配电工程建设施工合同
- 老年健康与社会适应能力的关系研究-洞察阐释
- 六年级科技创新辅导计划
- 数学课外辅导计划与资源整合
- 中国工业用导电玻璃项目创业计划书
- 安徽省合肥八中2025届高三最后一卷历史试题及答案
- 计算机系统的故障与维护技巧试题及答案
- 领养猫合同协议书范本
- 【9语二模】2025年安徽合肥市第四十五中学中考二模语文试卷
- 2025年地理信息系统与应用考试试题及答案
- 2025国家开放大学电大【信息管理概论】形考12答案 及 一体化终结性测试答案
- 河南省烟草专卖局(公司)笔试试题2024
- 中国文化概论知识试题及答案
- 烟台购房协议书
- 2025年中考生物模拟测试卷及答案
- 中国经导管主动脉瓣置换术临床路径专家共识(2024版)解读
评论
0/150
提交评论