久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

SMB Direct如何加快文件服務器訪問速度

170次閱讀
沒有評論

共計 2202 個字符,預計需要花費 6 分鐘才能閱讀完成。

這篇文章將為大家詳細講解有關 SMB Direct 如何加快文件服務器訪問速度,丸趣 TV 小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

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 如何加快文件服務器訪問速度”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-08-25發表,共計2202字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 苏尼特左旗| 白水县| 洱源县| 苏州市| 哈巴河县| 湄潭县| 斗六市| 曲松县| 金乡县| 蚌埠市| 唐山市| 简阳市| 光泽县| 和硕县| 常熟市| 浦县| 长武县| 阿巴嘎旗| 瑞昌市| 长宁县| 云龙县| 当雄县| 凤翔县| 龙里县| 昌宁县| 南川市| 普安县| 武鸣县| 察隅县| 枝江市| 西华县| 桦南县| 深州市| 陕西省| 长沙县| 丰台区| 龙陵县| 高尔夫| 临颍县| 扶风县| 鹤岗市|