远程 X 会话速度很慢 [centos5]
好吧,我已经搜遍了谷歌,但没有找到这个问题的答案。 不完全与编程相关,除非我试图在会话中使用 ide...
我的服务器位于同一远程位置; 一台运行的是较旧的 fedora 4 (P4 3.0Ghz),另一台运行的是 Centos5 (Quad Xeon 1.6) 的较新服务器。
我可以同时在两者上运行远程 X 会话,Fedora 服务器 X 窗口非常漂亮且快捷,但 Centos 服务器缓慢且滞后。 我通过 ssh -X -C 连接到两者。 我尝试过不压缩,但它仍然很慢/滞后。
两台 centos 服务器完全不受应用程序的影响,其中一台是热备用服务器,因此它实际上没有运行任何东西。
我已经在 centos 机器上尝试过这些内核:
2.6.18-92.1.22.el5xen
2.6.18-92.1.22.el5
2.6.18-8.1.8.el5
所有这些服务器都位于同一子网上,并共享相同的路由路径/交换机等。
帮助!...
ps(我知道我应该只使用命令行访问,但我正在尝试使这对于某人偶尔“支持我”来说更容易)
Okay, I've scoured google and I haven't found an answer for this. Not exactly programming related unless I was trying to use an ide over the session...
I have servers at the same remote location; one is older running fedora 4 (P4 3.0Ghz) and a couple of newer server running Centos5 (Quad Xeon 1.6).
I can run a remote X session on both at the same time and the Fedora server X window is nice and snappy but the Centos servers are slow and laggy. I connect to both vis ssh -X -C. I've tried without compression but it is still slow/laggy.
The two centos servers are not taxed at all by applications, one is a hot standby so it's not running anything really.
I've tried these kernels on the centos boxes:
2.6.18-92.1.22.el5xen
2.6.18-92.1.22.el5
2.6.18-8.1.8.el5
All these servers are on the same subnet and share the same routing path/switch etc.
Help!...
ps (I know I should only be using command line access but I am trying to make this easier for someone to "back me up" on occasion)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最有可能的是,您正在淹没您的网络连接而不是处理器。 现代工具包(QT/GTK)在网络行为方面比旧工具包要差得多。 我过去曾使用VNC和NX来解决该问题,并且NX获得了最佳的低网络使用性能。 如果资金是问题的话,FreeNX 项目非常有用。 我对 NX 遇到的唯一问题是我从未获得过合理的声音、GLX 或 XRender 性能。 但是,对于大多数人来说这并不是真正的问题。
Most likely, you are flooding your network connection rather than the processor. The modern toolkits (QT/GTK) are much worse about network behavior than the older stuff. I've used VNC and NX to solve the problem in the past, and have had the best low-network use performance from NX. The FreeNX project is very useable if money is an issue. The only issue I've had with NX is I've never had reasonable sound, GLX, or XRender performance. But, that isn't really an issue for most people.
X11 转发确实会使网络饱和,因此最可能的原因是这些机器之间的连接差异。
我建议您使用一些针对网络使用更优化的协议,例如 NX 或 RDP。
X11 forwarding can really saturate network, so the most probable cause is the difference in connections between these machines.
I'd recommend you use some protocol more optimized for network use, as NX or RDP.
我同意你的观点,Centos 5.x 和 RHEL 5.x 通过 ssh 和 X11 转发在慢速链路上启动的应用程序存在严重的性能问题。
我已经向 Centos 和 Redhat 提交了关于此问题的错误。
某些应用程序(wireshark、system-config-lvm 等)在 v5 服务器上远程启动时完全无法使用。
I agree with you, Centos 5.x and RHEL 5.x have severe performance problem with applications launched over a slow link through ssh and X11 forwarding.
I've filed a bug both with Centos and Redhat about this problem.
Some applications (wireshark, system-config-lvm, ...) are totally unusable when launched remotely on v5 servers.