Author |
Topic |
|
.oisyn
Tomato Guru
162 Posts |
Posted - Jun 17 2010 : 07:45:24 AM
|
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
|
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? |
|
|
.oisyn
Tomato Guru
162 Posts |
Posted - Jul 07 2010 : 06:07:51 AM
|
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;
|
|
|
.oisyn
Tomato Guru
162 Posts |
Posted - Jul 07 2010 : 06:13:51 AM
|
Also, I noticed there are some stalls with VAX disabled, but they're just not that severe. |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jul 07 2010 : 5:50:47 PM
|
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? |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jul 07 2010 : 11:37:50 PM
|
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)
|
|
|
.oisyn
Tomato Guru
162 Posts |
Posted - Jul 08 2010 : 09:04:35 AM
|
Haven't tried the new build yet, but I can say that modifying that registry value helps a LOT! Thanks! |
|
|
|
Topic |
|