Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VS unresponsive when building with Incredibuild
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

162 Posts

Posted - Jun 17 2010 :  07:45:24 AM  Show Profile  Reply with Quote
Hi,

I have been noticing this for ages but I never took the time to find out the culprit. We all build with Incredibuild here, a tool that distributes Visual Studio compiles across the local network in order to speed things up drastically. However, during building, Visual Studio seems very unresponsive. You can't really browse through code, it only responds to commands once every 2 seconds or so. During long builds this is very inconvenient. I'm on a quad core and I have limited Incredibuild to only use 3 cores, which should leave one of them available for Visual Studio, but this doesn't make any difference compared to building with all 4 cores. Also, it happens during linking. Since we're not using "incredilink", a tool that distributes the link as well, the linking only takes place on a single thread.

Today I started to ask around whether my collegues experienced the same thing. Strangely enough, those without Visual Assist reported no problems. So I tried disabling VAX (during a build), and to my surprise VS immediately became very responsive. Enabling VAX again resulted in the same unresponsiveness as before.

Perhaps it's IO related? When viewing Data IO bytes of devenv in Windows' performance monitor I do see IO operations when scrolling through the files.

I'm on a Core 2 Quad @ 3GHz, with my code on a different physical harddrive than my Windows installation

Edited by - .oisyn on Jun 17 2010 07:46:57 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 17 2010 :  2:24:49 PM  Show Profile  Reply with Quote
This is odd. VA should work with Incredibuild well. Incredibuild is quite common. I had used it before and I didn't see anything like this.

Something wrong is happening here, but I don't know what.
First of all I would be interested if it happened when you compile without Incredibuild, especially while linking.

Also, there are some priority settings in the Incredibuild options dialog. I don't know if it would help to decrease one or another but it may worth to take a look at them.
Which VA, VS, Incredibuild and Windows version are you using?
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Jul 07 2010 :  06:07:51 AM  Show Profile  Reply with Quote
Sorry for the late update, I was pretty busy the last couple of weeks.

The funny thing is, when I compile using incredibuild outside of the IDE (we have a build system for that, I'm not sure how incredibuild is invoked), I will get no such stalls. Only when compiling through the incredibuild plugin the IDE becomes unresponsive in combination with Visual Assist.


VA_X.dll file version 10.6.1810.0 built 2010.01.22
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.3790.3959
Windows Server 2003 5.2 Build 3790 Service Pack 2 (this is actually just WinXP x64)
4 processors (x86-64;
WOW64)

Platform: Win32
Stable Includes:
C:\\Program Files (x86)\\Microsoft DirectX SDK (March 2009)\\Include;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Jul 07 2010 :  06:13:51 AM  Show Profile  Reply with Quote
Also, I noticed there are some stalls with VAX disabled, but they're just not that severe.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 07 2010 :  5:50:47 PM  Show Profile  Reply with Quote
How long does the linking last?
How many files does your project contains?
Which Incredibuild version do you use?
Can you please try what would happen if you built your project without Incredibuild? Does the compiling makes the IDE unresponsive? Does the linking makes the IDE unresponsive?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 07 2010 :  11:37:50 PM  Show Profile  Reply with Quote
Some changes were made in build 1814 due to feedback from someone what was experiencing similar issues.

Also, they were told by Xoreax to modify a registry value. Does setting the value of "IdeCpuLimitEnabled" to 0 at the following location have any effect for you?
HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Xoreax\\IncrediBuild\\AddIn

(HKEY_LOCAL_MACHINE\\SOFTWARE\\Xoreax\\IncrediBuild\\AddIn for x86)
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Jul 08 2010 :  09:04:35 AM  Show Profile  Reply with Quote
Haven't tried the new build yet, but I can say that modifying that registry value helps a LOT! Thanks!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000