smb服务器速度测试_SMB 文件服务器的性能优化

本文介绍了SMB文件服务器的性能优化策略,如禁用不必要的服务,调整BIOS和操作系统电源模式,选择高效的存储和网络设备驱动。推荐使用Robocopy进行文件复制,并介绍了SMB 3.0协议家族的特性,如SMB Direct(RDMA)、SMB 多通道和SMB 横向扩展,以及相关的性能计数器。此外,还提到了一些可能影响性能的注册表设置,如Smb2CreditsMin、Smb2CreditsMax等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SMB 文件服务器的性能优化Performance tuning for SMB file servers

4/14/2017

本文内容

SMB 配置注意事项SMB configuration considerations

不要启用您的文件服务器和客户端不需要的任何服务或功能。Do not enable any services or features that your file server and clients do not require. 其中可能包括 SMB 签名、客户端缓存、文件系统小型筛选器、搜索服务、计划任务、NTFS 加密、NTFS 压缩、IPSEC、防火墙筛选器、Teredo 和 SMB 加密。These might include SMB signing, client-side caching, file system mini-filters, search service, scheduled tasks, NTFS encryption, NTFS compression, IPSEC, firewall filters, Teredo, and SMB encryption.

确保 BIOS 和操作系统电源管理模式按需要设置,这可能包括高性能模式或更改的 C 状态。Ensure that the BIOS and operating system power management modes are set as needed, which might include High Performance mode or altered C-State. 确保安装了最新、最灵活、最快的存储和网络设备驱动程序。Ensure that the latest, most resilient, and fastest storage and networking device drivers are installed.

复制文件是在文件服务器上执行的常见操作。Copying files is a common operation performed on a file server. Windows Server 具有多个可使用命令提示符运行的内置文件复制实用工具。Windows Server has several built-in file copy utilities that you can run by using a command prompt. 建议使用 Robocopy。Robocopy is recommended. 在 Windows Server 2008 R2 中引入, Robocopy 选项 Robocopy 可以在复制 多个小文件时使用多个线程显著提高远程文件传输速度。Introduced in Windows Server 2008 R2, the /mt option of Robocopy can significantly improve speed on remote file transfers by using multiple threads when copying multiple small files. 我们还建议使用 /log 选项,通过将日志重定向到 NUL 设备或文件来减少控制台输出。We also recommend using the /log option to reduce console output by redirecting logs to a NUL device or to a file. 使用 Xcopy 时,建议将 /q 和 /k 选项添加到现有参数中。When you use Xcopy, we recommend adding the /q and /k options to your existing parameters. 前者通过减少控制台输出降低了 CPU 开销,后者可减少网络流量。The former option reduces CPU overhead by reducing console output and the latter reduces network traffic.

SMB 性能优化SMB performance tuning

文件服务器性能和可用的 tunings 取决于在每个客户端和服务器之间协商的 SMB 协议,以及已部署的文件服务器功能。File server performance and available tunings depend on the SMB protocol that is negotiated between each client and the server, and on the deployed file server features. 当前可用的最高协议版本是 Windows Server 2016 和 Windows 10 中的 SMB 3.1.1。The highest protocol version currently available is SMB 3.1.1 in Windows Server 2016 and Windows 10. 可以通过在客户端上使用 Windows PowerShell SMBConnection和 SMBSession | 来检查网络上使用的 SMB 版本。 Get-SMBSession | FL服务器上的 FL。You can check which version of SMB is in use on your network by using Windows PowerShell Get-SMBConnection on clients and Get-SMBSession | FL on servers.

SMB 3.0 协议系列SMB 3.0 protocol family

SMB 3.0 在 Windows Server 2012 中引入,在 Windows Server 2012 R2 中进一步增强 (SMB 3.02) 和 Windows Server 2016 (SMB 3.1.1) 。SMB 3.0 was introduced in Windows

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值