Mac 使用:Micosoft Remote Desktop 远程优化

Micosoft Remote Desktop远程优化

在这里插入图片描述

服务器

远程会话环境设置

Win+R打开运行,输入gpedit.msc

找到计算机配置->管理模板->Windows组件->远程桌面服务->远程桌面会话主机->远程会话环境。下面这几个打开,有效提高rdp性能。

image-20240512131153260

rdp协议同时使用udp和tcp

找到计算机配置->管理模板->Windows组件->远程桌面服务->远程桌面会话主机->连接。rdp协议同时使用udp和tcp。有效增加网络稳定性和传输速率。

image-20240512131045428

设置帧率

在被连接端设置帧率,默认 3389 最高帧率 30 hz,通过修改注册表将最大帧率设置为 60 hz

通过快捷键WIN+R打开运行窗口,输入regedit,打开注册表编辑器,找到

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations

这个选项,右键新建,选择DWORD(32-bit),输入文件名:DWMFRAMEINTERVAL`

数值数据为 15,基数为十进制

15=60Hz

8=120Hz

数据越小刷新率越高

img

客户端

修改TCP延迟确认参数

sudo sysctl net.inet.tcp.delayed_ack=0

说明:

为了减小网卡的PPS(Packets Per Second),网卡要等到攒到了一定数量的数据包后才会进行处理发送。比如有的数据包比较小,要是逢数据包就处理,可能会增加网卡的压力。不过对于RDP这种对于延迟敏感,就没必要等攒到3个数据包再发送了。

关闭高分屏优化、降低色深

在RDP客户端中关闭这个选项就行了。MacBook的屏幕素质比较高,开启了这个选项后,等效分辨率就会等于MacBook的屏幕分辨率。

但是mac是多合一像素,实际需要渲染传输的分辨率会很高,甚至达到了4k,于是这样就会增加对于网络的压力,如果对于显示效果没那么在意,可以关掉。

同样,个人觉得16位和32位色深,没有什么差别。如果对色彩要求没那么高,也可以降低色深到16位。

16位色深最多可以显示2^16=65,536种颜色
32位色深最多可以显示2^32=4,294,967,296种颜色
在这里插入图片描述

测试

最后附上一个fps 测试连接,改完后重新远程桌面连接就立即可以看出区别了。

测试fps网站:https://testufo.com

其他:

如果你访问github网站比较慢,或者一些资源无法访问你可以看一下这里:网络加速器

关于我

  • 关注不迷路,点赞走一波~ 转载请标注~
  • 公众号
    在这里插入图片描述
Microsoft 为 Mac 提供了测试版远程客户端,您可转到 Microsoft Remote Desktop for Mac 进行下载。该测试版本客户端由微软官方维护,我们推荐您优先使用该版本客户端(微软已于 2017 年取消其官网提供的下载链接,转而通过其子公司 HockeyApp 的页面进行 Beta 版本的发布)。 地址:https://rink.hockeyapp.net/apps/5e0c144289a51fca2d3bfa39ce7f2b06/ Version 10.2.2 (1285) 更新于05 OCT 2018, 14:35 What's new in this update: Thanks for all the feedback! We have some exciting features and fixes in this release. A brand new Connection Center that supports drag and drop, manual arrangement of items, resizable columns in list view, column-based sorting, and easier group management. Settings import from the version 8 client has been improved (App Store client only). RDP files pointing to RemoteApp endpoints can now be imported into the Connection Center. The Connection Center now remembers the last active pivot (Desktops or Feeds) when closing the app. Retina display optimizations for Remote Desktop scenarios. Support for specifying the graphics interpolation level when not using Retina optimizations. 256-color support to enable connectivity to Windows 2000. Fixed clipping of the right and bottom edges of the screen when connecting to Windows 7/Windows Server 2008 R2 and earlier. Copying a local file into Outlook (running in a remote session) now adds the file as an attachment. Fixed an issue that was slowing down pasteboard-based file transfers if the files originated from a local network share. Addressed a bug that was causing to Excel (running in a remote session) to hang when saving data to a file on a redirected folder. Fixed an issue that was causing no free space to be reported for redirected folders. Added support for enforcing Remote Desktop Gateway device redirection policies. Remote Desktop Gateway feedback is now part of the connecting status UI. Fixed an issue that prevented session windows from closing when disconnecting. If NLA is not enforced by the server, you will now be routed to the login screen if your password has expired. The credential prompting UI and flows have been overhauled. Fixed performance issues that surfaced when lots of data was being transferred over the network. Smart card redirection fixes. Support for all possible values of the "EnableCredSspSupport" and "Authentication Level" RDP file settings if the ClientSettings.EnforceCredSSPSupport user default is set to 0. Support for the "Prompt for Credentials on Client" RDP file setting when NLA is not negotiated. Support for smart card-based login via smart card redirection at the Winlogon prompt when NLA is not negotiated. Fixed a bug that caused thumbnails to consume too much disk storage on macOS 10.14. Please keep the feedback coming. We listen to it all. If you encounter any errors, you can always contact us via Help > Report an Issue. If this does not work, you can mail us at rdios@microsoft.com. Get the app in the store Go to https://aka.ms/rdmac. If you would like to test drive new features and fixes continue using the app from this channel.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值