版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 老年公寓日常消防安全管理制度
- 2026四川省引大济岷水资源开发有限公司第一批次招聘27人备考题库附参考答案详解(b卷)
- 2026上海市皮肤病医院同济大学附属皮肤病医院儿童皮肤科招聘6人备考题库参考答案详解
- 2026四川成都都江堰首嘉医院2月招聘12人备考题库附参考答案详解(黄金题型)
- 2026广东广州花都区狮岭镇益群小学临聘教师招聘1人备考题库附答案详解(培优)
- 2026上半年云南开放大学招聘管理人员1人备考题库及答案详解(历年真题)
- 2026广东云浮新兴县南艺侨中春季学期临聘教师2人备考题库带答案详解(a卷)
- 2026中央财经大学第一批博士后研究人员招收备考题库及答案详解参考
- 2026岚图汽车产研领域招聘备考题库及答案详解(各地真题)
- 2026东风模具冲压技术有限公司成都冲焊分公司招聘6人备考题库带答案详解(达标题)
- 2026年及未来5年中国TFT液晶面板行业市场发展数据监测及投资方向研究报告
- 酒吧消防安全规范
- 龙湖物业消防安全培训课件
- 大唐集团机考行测题库
- 高压旋喷桩止水防渗施工方案
- 中建建筑电气系统调试指导手册
- 市集招商合同范本
- 魏县一中出圈的终极秘诀教学经验
- 安全生产麻痹思想侥幸心理
- 2026年浙江高考地理试题及答案
- 护理护理评估工具与应用
评论
0/150
提交评论