简体   繁体   English

IncrediBuild显着增加了链接时间

[英]IncrediBuild increases linking time significantly

I have a project and made a clean build 3 times with VS and IncrediBuild 我有一个项目,用VS和IncrediBuild做了3次干净的构建

Setup of IncrediBuild: 2 machines are compiling at once, both have around of the same performance IncrediBuild的设置:2台机器同时进行编译,两者都具有相同的性能

  1. VS compiler VS编译器

    • Compile Time: ~10min 编译时间:~10分钟
    • Linking: ~3-4min 链接:~3-4分钟
  2. IncrediBuild IncrediBuild

    • Compile Time: ~4-5min (=> as expected, approx. half time) 编译时间:~4-5分钟(=>按预期,大约一半时间)
    • Linking: ~10min (=> unexpected, should be approx. the same time) 链接:~10分钟(=>意外,应该是大约同一时间)

This is reproduceable over a few builds (I made 3 clean builds). 这可以通过几个版本重现(我做了3个干净的版本)。 I know, IncrediBuild can't parallelise the linking of one project, but why is linking slower with IncrediBuild compared to VS linking? 我知道,IncrediBuild无法并行化一个项目的链接,但为什么与VS链接相比,IncrediBuild的链接速度更慢?

My tests show me, that I don't have any benefit using IncrediBuild and I was thinking of using a few machines to build my project to increase build speed, but if linking is that slow (and so much slower), even using 10 machines would not be a benefit for me and would not be worth the money because linking time is destroying any benefit I get from improved compile time. 我的测试告诉我,使用IncrediBuild我没有任何好处,我想使用一些机器来构建我的项目来提高构建速度,但是如果链接那么慢(而且速度慢得多),甚至使用10台机器这对我来说不是一个好处,也不值得花钱,因为连接时间正在破坏我从改进的编译时间中获得的任何好处。

I'm working in a big company and buying CPU power is cheap and no problem, but IncrediBuild costs money as well and currently it would not be worth it. 我在一家大公司工作,购买CPU电源既便宜也没问题,但IncrediBuild也要花钱,目前它不值得。 Any ideas what I could try or what I could be doing wrong? 任何想法我可以尝试或我可能做错了什么? I've just installed IncrediBuild and use it with default settings. 我刚安装了IncrediBuild并使用默认设置。

Setup 建立

  • Visual Studio 2017 Visual Studio 2017
  • Windows 10 machine (agent) and Windows 7 machine (coordinator) Windows 10机器(代理)和Windows 7机器(协调器)
  • 1GBit business network 1GBit业务网络
  • IncrediBuild 9.0.1 IncrediBuild 9.0.1

You shouldn't expect this difference in link time when using IncrediBuild. 使用IncrediBuild时,您不应期望链接时间的这种差异。 I would recommend trying the following: 1. Make sure you are using the Visual Studio 2017 /Debug:FASTLINK option. 我建议您尝试以下操作:1。确保您使用的是Visual Studio 2017 / Debug:FASTLINK选项。 2. If the above didn't help, see if restricting the number of PDB files IncrediBuild uses can help. 2.如果上述方法没有帮助,请查看限制IncrediBuild使用的PDB文件数量是否有帮助。 Right click the IncrediBuild tray icon-> Agent Settings -> Visual Studio Builds -> Advanced, and set the "Limit concurrent PDB file instances" to 12 or below. 右键单击IncrediBuild托盘图标 - >代理设置 - > Visual Studio构建 - >高级,并将“限制并发PDB文件实例”设置为12或更低。 3. Try to temporarily disable any anti-virus software you have installed on your machine. 3.尝试暂时禁用计算机上安装的所有防病毒软件。

If these tips don't help, we'd highly appreciate if you could contact us at support@incredibuild.com so we can understand what's wrong in your environment and post a solution for the community. 如果这些提示没有帮助,我们非常感谢您可以通过support@incredibuild.com与我们联系,以便我们了解您的环境中的错误并为社区发布解决方案。

Disclaimer, the write works at IncrediBuild. 免责声明,写作在IncrediBuild。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM