Answered by:
Super Slow Link Time

Question
-
I have a large C++ solution with various projects that build several libraries and two executeables. For the most part everything runs fine, but after a while the link part of the build becomes excrutiatingly slow, on the order of 10 minutes. During this time the CPU does not appear to be pegged according to process explorer. Then after some random amount of time, sometimes days, this problem will go away and the link will be back down to a few seconds. This is happening in VS2008. I remember it happeining sometimes in Vs2003, but not nearly as regularly.Any suggestions would be appreciated.-TomThursday, December 18, 2008 6:29 PM
Answers
-
Disk bound, probably. When is the last time you defragged your disk?
Hans Passant.- Marked as answer by Rong-Chun Zhang Thursday, December 25, 2008 5:39 AM
Friday, December 19, 2008 7:09 PM -
Turned out that the hard disk was going. Found piles of errors in the system logs. Replaced it, now the build is fine.
- Marked as answer by nobugz Friday, May 15, 2009 12:48 AM
Thursday, May 14, 2009 4:31 PM
All replies
-
Disk bound, probably. When is the last time you defragged your disk?
Hans Passant.- Marked as answer by Rong-Chun Zhang Thursday, December 25, 2008 5:39 AM
Friday, December 19, 2008 7:09 PM -
Hi Tom_Mortimer,
I am not sure what cause the slow link, here is an article which offer some hint that can help you to build faster.
http://msdn.microsoft.com/en-us/library/whs4y2dc.aspxHolp it helps.
Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.Wednesday, December 24, 2008 6:56 AM -
Turned out that the hard disk was going. Found piles of errors in the system logs. Replaced it, now the build is fine.
- Marked as answer by nobugz Friday, May 15, 2009 12:48 AM
Thursday, May 14, 2009 4:31 PM -
Thanks for the update. It's always good to know the final outcome of a problem.Thursday, May 14, 2009 6:34 PM