资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

SMBDirect如何加快文件服务器访问速度-创新互联

这篇文章将为大家详细讲解有关SMB Direct如何加快文件服务器访问速度,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

成都创新互联专注于沈河企业网站建设,响应式网站设计,商城建设。沈河网站建设公司,为沈河等地区提供建站服务。全流程按需网站策划,专业设计,全程项目跟踪,成都创新互联专业和态度为您提供的服务

SMB Direct Requirements:
DMA NICs
Windows feature
QOS policy
Traffic class

RDMA (Remote Direct Memory Access) is based on Direct Memory Access

Remote DMA, or RDMA, is a technology that allows two different computers with RDMA network adapters to write data from the memory of one machine to the memory of another without involving the processor or even the processor cache of either computer.
The data goes from RAM to NIC to NIC to RAM. In the beginning of this course I said that if you wanted to transfer larger files faster you needed to buy a faster NIC, this is a faster NIC.

RDMA有三个实现版本,iWARP, RDMA over Converged Ethernet (RoCE)和Infiniband (IB)。由于融合网络架构的流行,iWARP和RoCE使用场景更加广泛。
代表iWARP的是Chelsio的T520-CR
代表RoCE的是Mellanox的ConnectX-3
两者都支持RDMA,且都是两个万兆接口。

运行powershell
安装 Data-Center-Bridging
Install-WindowsFeature Data-Center-Bridging

为 SMB Direct 设置网络 QoS 策略(445 is the port number for Microsoft file sharing, or SMB. the priority that I'm going to assign it is a 3.)
New-NetQosPolicy "SMB" -NetDirectPortMatchCondition 445 -PriorityValue8021Action 3

建立新的NetQosPolicy
Enable-NetQosFlowControl -Priority 3

针对其他流量禁用流控制
Disable-NetQosFlowControl -Priority 0,1,2,4,5,6,7

Now we can apply this policy to the correct adapter(将网络 QoS 策略应用于目标适配器。)
Enable-NetAdapterQos -InterfaceAlias "Slot 2*"

If you need to know your interface alias you can use the Get-NetIPInterface to list all of your network interfaces and it will show the interface alias for each one.
Get-NetIPInterface

创建流量类别并为 SMB Direct 指定 30% 的高带宽。 设置类名称将为“SMB” 。And specify ETS as the Algorithm that will apply that.
New-NetQosTrafficClass "SMB" -Priority 3 -BandwidthPercentage 30 -Algorithm ETS

If your network adapter supports RDMA then all you need to do is make sure it's enabled on that NIC.
获取网络适配器列表来识别目标适配器(以查询哪些是RDMA 适配器)
Get-NetIPInterface
SMB Direct如何加快文件服务器访问速度

And specifically I'm looking for the vEthernet with the name of the virtual switch that my VM connects to. And I'm going to enable RDMA for the vEthernet, or the virtual network adapter that connects my server to the virtual switch named Adapter 1
Enable-NetAdapterRDMA "vethernet (Adapter 1)"

Now if you find that after creating and enabling these policies that things stop working the way they should or situations get worse removing these policies uses command very similar to the ones used to create the objects.
Remove-NetQosTrafficClass "SMB"
Remove-NetQosPolicy "SMB"

关于“SMB Direct如何加快文件服务器访问速度”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享标题:SMBDirect如何加快文件服务器访问速度-创新互联
标题路径:http://cdkjz.cn/article/dhidid.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220