从虚拟机共享文件夹中的 svn 检出速度缓慢
我正在尝试将 SVN 中的文件夹检出到位于 VMware 虚拟机中的共享文件夹中,但与 svn 服务器的连接速度非常慢,并且经常超时而无法完成。正常检出我的 svn 文件夹大约需要一分钟,但现在似乎需要一个多小时。
有趣的是,它仅发生在共享文件夹结构深处的一层。例如,共享文件夹是 \\myserver\myapp,如果我尝试将名为“custom”的 SVN 文件夹的内容检出到 \\myserver\myapp\custom > ,结账需要一个多小时。但是,如果我将该自定义文件夹的内容从 SVN 签出到 \myserver\myapp\ 或 \\myserver\myapp\anotherfolder\custom ,签出下载速度会明显加快(不到一分钟) 。
因此,我想知道这种奇怪的行为是否与服务器或文件夹的 Active Directory 中的某些权限设置有关。
注释:
- 我使用的是 TortoiseSVN 1.6.15 和 Subversion 1.6.16。
- 虚拟机正在运行 MS Window Server 2003 R3 SP2
- 我的主机正在运行 XP 2002 SP2
此行为:
- 在 \\myserver 外部执行签出时发生。
- 在 \\ 内部不会发生 checkout 目录为 \\myserver\myapp 的 myserver
- 即使病毒扫描程序设置为排除 \\myserver\myapp\ 文件夹 和子文件夹,也会出现
- svn 即使 svn 存储库中的文件夹不是自定义的。我还测试了来自不同服务器的其他 svn 存储库。
- 即使使用 sliksvn 库也会发生。
编辑:
- 我尝试查看的文件夹大小为 120 MB,包含约 2000 个文件。
- 我查看的路径是十三级深svn目录。
- 对我的 svn 服务器的 ping 时间小于 1 毫秒,没有丢包。
- 乌龟传输速率 95% 的时间为 0 字节/秒。
I am trying to perform a checkout of a folder from SVN into a shared folder that is located in a VMware virtual machine, but the connection to the svn server is extremely slow, and it often times out without finishing. A normal checkout of my svn folder takes about a minute, but now it seems to take over an hour.
The interesting part of this is that it happens only at one level deep into the shared folder structure. For example, the shared folder is \\myserver\myapp, and if I try to checkout the contents of a SVN folder called "custom" into \\myserver\myapp\custom , the checkout will take over an hour. However, if I checkout the contents of that custom folder from SVN into \myserver\myapp\ or \\myserver\myapp\anotherfolder\custom , the checkout download speed behaves considerably faster (less than a minute).
So, I am wondering if this strange behaviour has something to do with some permission settings in the Active Directory of the server or folder.
Notes:
- I am using TortoiseSVN 1.6.15 and Subversion 1.6.16.
- The virtual machine is running MS Window Server 2003 R3 SP2
- My host machine is running XP 2002 SP2
This behaviour:
- occurs when performing the checkout from outside of \\myserver.
- does not occur inside \\myserver with svn checkout directory as \\myserver\myapp
- occurs even if the virus scanner is set to exclude the \\myserver\myapp\ folder and subfolders
- occurs even if the folder from the svn repository is not custom. I also tested with other svn repositories from different servers.
- occurs even using sliksvn libraries.
Edit:
- The size of the folder that I am trying to check out is 120 MB, and contains ~2000 files.
- The path that I am checking out is at a thirteen-level deep svn directory.
- A ping to my svn server is <1ms with no packets lost.
- The tortoise transfer rate is 95 percent of the time is 0 Bytes/s.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能与网卡上的卸载功能有关。我对物理机和虚拟机都关闭了此功能,以确保最快的传输速度。
我在这里有一篇关于它的博客文章。
http://tsells. wordpress.com/2009/11/08/slowness-with-windows-2008-r2-and-virtual-machines/
It maybe related to the Offloading features on your network cards. I turn this off for both physical and virtual machines to ensure the fastest transfer speeds.
I have a blog post on it here.
http://tsells.wordpress.com/2009/11/08/slowness-with-windows-2008-r2-and-virtual-machines/