473,898 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

REPOST: extremely long link times

Hi,

Sorry to repost, but this is becoming aggravating, and causing me a lot of
wasted time. I've got a reasonably large mixed C++ project, and after a
number of builds (but not a constant number) linking (and sometimes
compiling) becomes immensely slow, and task manager shows that link.exe (or
cl.exe) is barely using any processor time, but an awful lot of RAM (around
150-200MB). I'm going to keep an eye on page faults since I can't think of
anything else that could be causing this - the machine doesn't seem to be
thrashing and is fairly responsive during building. Can anyone recommend
anything?

Thanks,

Steve
Nov 17 '05
14 2855
Hi,

Thanks for the reply. Typically linking takes between 2 and 3 minutes, so
the linker's maxing out the processor for something over a minute, maybe
twice as long as the pause. Interestingly, when I'm working simultaneously
on another machine using remote desktop the build on this (the local)
machine seems to sometimes take less time (about 1m 20s) although I don't
know whether it's the pause that takes less time or the actual work.

We're not using PCHs, so this may indeed be a problem. Are there any good
resources about building PCHs around? It's just puzzling that the
processor's not working hard throughout the pause - typically I'd only
expect that under really heavy disk I/O or waiting for another process.

If it's any help, we're using linking against / using a couple of external
libraries - LIBTIFF, the Intel IPP lib and some of the Boost libraries.

Thanks again,

Steve

"Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
news:wI******** ******@cpmsftng xa06.phx.gbl...
Steve,

Given that this is managed, it is highly likely that this is when the
metadata is being processed/merged. If not, it may be a problem with the
directive strings which we have when there are multiple megabytes of them
such was what happens when lots of classes are exported from header files
but the header files are not in a PCH and are included throughout the
project.

After that 40-50 second pause when it begins to grind again, how much time
does it take?

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

--------------------
| Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| References: <Os************ *@TK2MSFTNGP12. phx.gbl>
<4F************ *************** *******@microso ft.com>
<eZ************ **@TK2MSFTNGP12 .phx.gbl>
<uX************ **@tk2msftngp13 .phx.gbl>
<ms************ **@cpmsftngxa10 .phx.gbl>
| Subject: Re: REPOST: extremely long link times

|
| Hi,
|
| This project has never incrementally linked (I was under the impression
that
| building a .NET assembly, incremental linking was turned off anyway - this | certainly seems to be the case). In any case, I wouldn't mind so much but | during linking, it seems just to amble for a little while. With /VERBOSE, I
| see the beginning of pass 1 up to:
|
| Processed /DEFAULTLIB:libc pmtd
| Processed /DEFAULTLIB:LIBC MTD
| Processed /DEFAULTLIB:OLDN AMES
| Processed /DEFAULTLIB:MSCO REE.LIB
| Processed /DEFAULTLIB:uuid .lib
|
| And then there's a pause for about 40 or 50 seconds, with the processor
time
| at around 10%. Then the linker outputs:
|
| Searching libraries
|
| And processor usage goes up to close to 100% for the remainder of the link | time.
|
| Thanks for the interest and the docs,
|
| Steve
|
| "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| news:ms******** ******@cpmsftng xa10.phx.gbl...
| > Here's a copy of something I'm writing that may be of assistance in
| > general. If possible I'd like to get a repro of your problem. I'm
trying
| > to understand what the various problems are with linking, and the more
| > customer issues I can help resolve, the better.
| >
| > Thanks,
| >
| > Kang Su Gatlin
| > Visual C++ Program Manager
| >
|
| [snip
| > | > >
| > | > >
| > | > > GE
| > | > >
| > | > > "Steve McLellan" wrote:
| > | > >
| > | > > > Hi,
| > | > > >
| > | > > > Sorry to repost, but this is becoming aggravating, and causing
me
| a
| > | lot
| > | > of
| > | > > > wasted time. I've got a reasonably large mixed C++ project, and | > after
| > | a
| > | > > > number of builds (but not a constant number) linking (and
| sometimes
| > | > > > compiling) becomes immensely slow, and task manager shows that
| > | link.exe
| > | > (or
| > | > > > cl.exe) is barely using any processor time, but an awful lot of | RAM
| > | > (around
| > | > > > 150-200MB). I'm going to keep an eye on page faults since I
can't
| > | think
| > | > of
| > | > > > anything else that could be causing this - the machine doesn't
| seem
| > to
| > | > be
| > | > > > thrashing and is fairly responsive during building. Can anyone
| > | recommend
| > | > > > anything?
| > | > > >
| > | > > > Thanks,
| > | > > >
| > | > > > Steve
| > | > > >
| > | > > >
| > | > > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 17 '05 #11
I missed Steve's original post, but I work on a large app that also has
extremely long link times. I dumped some specifics at the bottom of my
website http://www.stankevitz.com/visualstudio/

Rudy

"Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
news:wI******** ******@cpmsftng xa06.phx.gbl...
Steve,

Given that this is managed, it is highly likely that this is when the
metadata is being processed/merged. If not, it may be a problem with the
directive strings which we have when there are multiple megabytes of them
such was what happens when lots of classes are exported from header files
but the header files are not in a PCH and are included throughout the
project.

After that 40-50 second pause when it begins to grind again, how much time
does it take?

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

--------------------
| Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| References: <Os************ *@TK2MSFTNGP12. phx.gbl>
<4F************ *************** *******@microso ft.com>
<eZ************ **@TK2MSFTNGP12 .phx.gbl>
<uX************ **@tk2msftngp13 .phx.gbl>
<ms************ **@cpmsftngxa10 .phx.gbl>
| Subject: Re: REPOST: extremely long link times

|
| Hi,
|
| This project has never incrementally linked (I was under the impression
that
| building a .NET assembly, incremental linking was turned off anyway - this | certainly seems to be the case). In any case, I wouldn't mind so much but | during linking, it seems just to amble for a little while. With /VERBOSE, I
| see the beginning of pass 1 up to:
|
| Processed /DEFAULTLIB:libc pmtd
| Processed /DEFAULTLIB:LIBC MTD
| Processed /DEFAULTLIB:OLDN AMES
| Processed /DEFAULTLIB:MSCO REE.LIB
| Processed /DEFAULTLIB:uuid .lib
|
| And then there's a pause for about 40 or 50 seconds, with the processor
time
| at around 10%. Then the linker outputs:
|
| Searching libraries
|
| And processor usage goes up to close to 100% for the remainder of the link | time.
|
| Thanks for the interest and the docs,
|
| Steve
|
| "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| news:ms******** ******@cpmsftng xa10.phx.gbl...
| > Here's a copy of something I'm writing that may be of assistance in
| > general. If possible I'd like to get a repro of your problem. I'm
trying
| > to understand what the various problems are with linking, and the more
| > customer issues I can help resolve, the better.
| >
| > Thanks,
| >
| > Kang Su Gatlin
| > Visual C++ Program Manager
| >
|
| [snip
| > | > >
| > | > >
| > | > > GE
| > | > >
| > | > > "Steve McLellan" wrote:
| > | > >
| > | > > > Hi,
| > | > > >
| > | > > > Sorry to repost, but this is becoming aggravating, and causing
me
| a
| > | lot
| > | > of
| > | > > > wasted time. I've got a reasonably large mixed C++ project, and | > after
| > | a
| > | > > > number of builds (but not a constant number) linking (and
| sometimes
| > | > > > compiling) becomes immensely slow, and task manager shows that
| > | link.exe
| > | > (or
| > | > > > cl.exe) is barely using any processor time, but an awful lot of | RAM
| > | > (around
| > | > > > 150-200MB). I'm going to keep an eye on page faults since I
can't
| > | think
| > | > of
| > | > > > anything else that could be causing this - the machine doesn't
| seem
| > to
| > | > be
| > | > > > thrashing and is fairly responsive during building. Can anyone
| > | recommend
| > | > > > anything?
| > | > > >
| > | > > > Thanks,
| > | > > >
| > | > > > Steve
| > | > > >
| > | > > >
| > | > > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 17 '05 #12
A couple of things to try are /TEST /TIME as linker options with the VS2005
Beta1, as VS2003 didn't give timing of the metadata merging portion of
linking. This would give a good indication of what's happening during this
pause.

Regarding PCH... I'd try MSDN:
http://msdn.microsoft.com/library/de...us/vccore/html
/_core_creating_ precompiled_hea der_files.asp

I don't know of any great resource on it, but that's probably not a bad
start.

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

File Visual Studio/.NET Bugs at:
http://msdn.microsoft.com/feedback
--------------------
| Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| References: <Os************ *@TK2MSFTNGP12. phx.gbl>
<4F************ *************** *******@microso ft.com>
<eZ************ **@TK2MSFTNGP12 .phx.gbl>
<uX************ **@tk2msftngp13 .phx.gbl>
<ms************ **@cpmsftngxa10 .phx.gbl>
<O3************ **@TK2MSFTNGP10 .phx.gbl>
<wI************ **@cpmsftngxa06 .phx.gbl>
| Subject: Re: REPOST: extremely long link times
| Date: Wed, 11 Aug 2004 11:33:47 +0100

|
| Hi,
|
| Thanks for the reply. Typically linking takes between 2 and 3 minutes, so
| the linker's maxing out the processor for something over a minute, maybe
| twice as long as the pause. Interestingly, when I'm working simultaneously
| on another machine using remote desktop the build on this (the local)
| machine seems to sometimes take less time (about 1m 20s) although I don't
| know whether it's the pause that takes less time or the actual work.
|
| We're not using PCHs, so this may indeed be a problem. Are there any good
| resources about building PCHs around? It's just puzzling that the
| processor's not working hard throughout the pause - typically I'd only
| expect that under really heavy disk I/O or waiting for another process.
|
| If it's any help, we're using linking against / using a couple of external
| libraries - LIBTIFF, the Intel IPP lib and some of the Boost libraries.
|
| Thanks again,
|
| Steve
|
| "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| news:wI******** ******@cpmsftng xa06.phx.gbl...
| > Steve,
| >
| > Given that this is managed, it is highly likely that this is when the
| > metadata is being processed/merged. If not, it may be a problem with
the
| > directive strings which we have when there are multiple megabytes of
them
| > such was what happens when lots of classes are exported from header
files
| > but the header files are not in a PCH and are included throughout the
| > project.
| >
| > After that 40-50 second pause when it begins to grind again, how much
time
| > does it take?
| >
| > Thanks,
| >
| > Kang Su Gatlin
| > Visual C++ Program Manager
| >
| > --------------------
| > | Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| > | From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| > | References: <Os************ *@TK2MSFTNGP12. phx.gbl>
| > <4F************ *************** *******@microso ft.com>
| > <eZ************ **@TK2MSFTNGP12 .phx.gbl>
| > <uX************ **@tk2msftngp13 .phx.gbl>
| > <ms************ **@cpmsftngxa10 .phx.gbl>
| > | Subject: Re: REPOST: extremely long link times
| >
| > |
| > | Hi,
| > |
| > | This project has never incrementally linked (I was under the
impression
| > that
| > | building a .NET assembly, incremental linking was turned off anyway -
| this
| > | certainly seems to be the case). In any case, I wouldn't mind so much
| but
| > | during linking, it seems just to amble for a little while. With
| /VERBOSE,
| > I
| > | see the beginning of pass 1 up to:
| > |
| > | Processed /DEFAULTLIB:libc pmtd
| > | Processed /DEFAULTLIB:LIBC MTD
| > | Processed /DEFAULTLIB:OLDN AMES
| > | Processed /DEFAULTLIB:MSCO REE.LIB
| > | Processed /DEFAULTLIB:uuid .lib
| > |
| > | And then there's a pause for about 40 or 50 seconds, with the
processor
| > time
| > | at around 10%. Then the linker outputs:
| > |
| > | Searching libraries
| > |
| > | And processor usage goes up to close to 100% for the remainder of the
| link
| > | time.
| > |
| > | Thanks for the interest and the docs,
| > |
| > | Steve
| > |
| > | "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| > | news:ms******** ******@cpmsftng xa10.phx.gbl...
| > | > Here's a copy of something I'm writing that may be of assistance in
| > | > general. If possible I'd like to get a repro of your problem. I'm
| > trying
| > | > to understand what the various problems are with linking, and the
more
| > | > customer issues I can help resolve, the better.
| > | >
| > | > Thanks,
| > | >
| > | > Kang Su Gatlin
| > | > Visual C++ Program Manager
| > | >
| > |
| > | [snip
| > | > | > >
| > | > | > >
| > | > | > > GE
| > | > | > >
| > | > | > > "Steve McLellan" wrote:
| > | > | > >
| > | > | > > > Hi,
| > | > | > > >
| > | > | > > > Sorry to repost, but this is becoming aggravating, and
causing
| > me
| > | a
| > | > | lot
| > | > | > of
| > | > | > > > wasted time. I've got a reasonably large mixed C++ project,
| and
| > | > after
| > | > | a
| > | > | > > > number of builds (but not a constant number) linking (and
| > | sometimes
| > | > | > > > compiling) becomes immensely slow, and task manager shows
that
| > | > | link.exe
| > | > | > (or
| > | > | > > > cl.exe) is barely using any processor time, but an awful lot
| of
| > | RAM
| > | > | > (around
| > | > | > > > 150-200MB). I'm going to keep an eye on page faults since I
| > can't
| > | > | think
| > | > | > of
| > | > | > > > anything else that could be causing this - the machine
doesn't
| > | seem
| > | > to
| > | > | > be
| > | > | > > > thrashing and is fairly responsive during building. Can
anyone
| > | > | recommend
| > | > | > > > anything?
| > | > | > > >
| > | > | > > > Thanks,
| > | > | > > >
| > | > | > > > Steve
| > | > | > > >
| > | > | > > >
| > | > | > > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 17 '05 #13
Hi,

I don't have a copy of VS 2005 available to me. I'll have a look at PCHs.
Thanks,

Steve

"Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
news:%2******** ********@cpmsft ngxa06.phx.gbl. ..
A couple of things to try are /TEST /TIME as linker options with the VS2005 Beta1, as VS2003 didn't give timing of the metadata merging portion of
linking. This would give a good indication of what's happening during this pause.

Regarding PCH... I'd try MSDN:
http://msdn.microsoft.com/library/de...us/vccore/html /_core_creating_ precompiled_hea der_files.asp

I don't know of any great resource on it, but that's probably not a bad
start.

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

File Visual Studio/.NET Bugs at:
http://msdn.microsoft.com/feedback
--------------------
| Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| References: <Os************ *@TK2MSFTNGP12. phx.gbl>
<4F************ *************** *******@microso ft.com>
<eZ************ **@TK2MSFTNGP12 .phx.gbl>
<uX************ **@tk2msftngp13 .phx.gbl>
<ms************ **@cpmsftngxa10 .phx.gbl>
<O3************ **@TK2MSFTNGP10 .phx.gbl>
<wI************ **@cpmsftngxa06 .phx.gbl>
| Subject: Re: REPOST: extremely long link times
| Date: Wed, 11 Aug 2004 11:33:47 +0100

|
| Hi,
|
| Thanks for the reply. Typically linking takes between 2 and 3 minutes, so | the linker's maxing out the processor for something over a minute, maybe
| twice as long as the pause. Interestingly, when I'm working simultaneously | on another machine using remote desktop the build on this (the local)
| machine seems to sometimes take less time (about 1m 20s) although I don't | know whether it's the pause that takes less time or the actual work.
|
| We're not using PCHs, so this may indeed be a problem. Are there any good | resources about building PCHs around? It's just puzzling that the
| processor's not working hard throughout the pause - typically I'd only
| expect that under really heavy disk I/O or waiting for another process.
|
| If it's any help, we're using linking against / using a couple of external | libraries - LIBTIFF, the Intel IPP lib and some of the Boost libraries.
|
| Thanks again,
|
| Steve
|
| "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| news:wI******** ******@cpmsftng xa06.phx.gbl...
| > Steve,
| >
| > Given that this is managed, it is highly likely that this is when the
| > metadata is being processed/merged. If not, it may be a problem with
the
| > directive strings which we have when there are multiple megabytes of
them
| > such was what happens when lots of classes are exported from header
files
| > but the header files are not in a PCH and are included throughout the
| > project.
| >
| > After that 40-50 second pause when it begins to grind again, how much
time
| > does it take?
| >
| > Thanks,
| >
| > Kang Su Gatlin
| > Visual C++ Program Manager
| >
| > --------------------
| > | Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| > | From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| > | References: <Os************ *@TK2MSFTNGP12. phx.gbl>
| > <4F************ *************** *******@microso ft.com>
| > <eZ************ **@TK2MSFTNGP12 .phx.gbl>
| > <uX************ **@tk2msftngp13 .phx.gbl>
| > <ms************ **@cpmsftngxa10 .phx.gbl>
| > | Subject: Re: REPOST: extremely long link times
| >
| > |
| > | Hi,
| > |
| > | This project has never incrementally linked (I was under the
impression
| > that
| > | building a .NET assembly, incremental linking was turned off anyway - | this
| > | certainly seems to be the case). In any case, I wouldn't mind so much | but
| > | during linking, it seems just to amble for a little while. With
| /VERBOSE,
| > I
| > | see the beginning of pass 1 up to:
| > |
| > | Processed /DEFAULTLIB:libc pmtd
| > | Processed /DEFAULTLIB:LIBC MTD
| > | Processed /DEFAULTLIB:OLDN AMES
| > | Processed /DEFAULTLIB:MSCO REE.LIB
| > | Processed /DEFAULTLIB:uuid .lib
| > |
| > | And then there's a pause for about 40 or 50 seconds, with the
processor
| > time
| > | at around 10%. Then the linker outputs:
| > |
| > | Searching libraries
| > |
| > | And processor usage goes up to close to 100% for the remainder of the | link
| > | time.
| > |
| > | Thanks for the interest and the docs,
| > |
| > | Steve
| > |
| > | "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| > | news:ms******** ******@cpmsftng xa10.phx.gbl...
| > | > Here's a copy of something I'm writing that may be of assistance in | > | > general. If possible I'd like to get a repro of your problem. I'm | > trying
| > | > to understand what the various problems are with linking, and the
more
| > | > customer issues I can help resolve, the better.
| > | >
| > | > Thanks,
| > | >
| > | > Kang Su Gatlin
| > | > Visual C++ Program Manager
| > | >
| > |
| > | [snip
| > | > | > >
| > | > | > >
| > | > | > > GE
| > | > | > >
| > | > | > > "Steve McLellan" wrote:
| > | > | > >
| > | > | > > > Hi,
| > | > | > > >
| > | > | > > > Sorry to repost, but this is becoming aggravating, and
causing
| > me
| > | a
| > | > | lot
| > | > | > of
| > | > | > > > wasted time. I've got a reasonably large mixed C++ project, | and
| > | > after
| > | > | a
| > | > | > > > number of builds (but not a constant number) linking (and
| > | sometimes
| > | > | > > > compiling) becomes immensely slow, and task manager shows
that
| > | > | link.exe
| > | > | > (or
| > | > | > > > cl.exe) is barely using any processor time, but an awful lot | of
| > | RAM
| > | > | > (around
| > | > | > > > 150-200MB). I'm going to keep an eye on page faults since I | > can't
| > | > | think
| > | > | > of
| > | > | > > > anything else that could be causing this - the machine
doesn't
| > | seem
| > | > to
| > | > | > be
| > | > | > > > thrashing and is fairly responsive during building. Can
anyone
| > | > | recommend
| > | > | > > > anything?
| > | > | > > >
| > | > | > > > Thanks,
| > | > | > > >
| > | > | > > > Steve
| > | > | > > >
| > | > | > > >
| > | > | > > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 17 '05 #14
There's a (possibly commercial, but cheap) solution for the 'not checking
which projects need compiling' problem (have a look at
http://www.codeproject.com/macro/fastsolutionbuild.asp or search for 'fast
solution build' in Google). I don't think it speeds up link times. The
additional compile time I can live with (since the standard support is that
much better) and i can even put up with slightly longer link times,
especially since this is a mixed mode C++ app, but up to 3 minutes after
making small changes to a CPP becomes extremely annoying.

I'm now working on 3 machines simultaneously, so I don't notice so much
(it's actually quite good - I can work on one problem while another's
linking, then compile up the new changes and go back to the original), but I
can't help thinking it's a bit wrong.

Ta,

Steve

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:Oq******** ********@tk2msf tngp13.phx.gbl. ..
I missed Steve's original post, but I work on a large app that also has
extremely long link times. I dumped some specifics at the bottom of my
website http://www.stankevitz.com/visualstudio/

Rudy

"Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
news:wI******** ******@cpmsftng xa06.phx.gbl...
Steve,

Given that this is managed, it is highly likely that this is when the
metadata is being processed/merged. If not, it may be a problem with the directive strings which we have when there are multiple megabytes of them such was what happens when lots of classes are exported from header files but the header files are not in a PCH and are included throughout the
project.

After that 40-50 second pause when it begins to grind again, how much time does it take?

Thanks,

Kang Su Gatlin
Visual C++ Program Manager

--------------------
| Reply-To: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| From: "Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com>
| References: <Os************ *@TK2MSFTNGP12. phx.gbl>
<4F************ *************** *******@microso ft.com>
<eZ************ **@TK2MSFTNGP12 .phx.gbl>
<uX************ **@tk2msftngp13 .phx.gbl>
<ms************ **@cpmsftngxa10 .phx.gbl>
| Subject: Re: REPOST: extremely long link times

|
| Hi,
|
| This project has never incrementally linked (I was under the impression that
| building a .NET assembly, incremental linking was turned off anyway -

this
| certainly seems to be the case). In any case, I wouldn't mind so much

but
| during linking, it seems just to amble for a little while. With

/VERBOSE,
I
| see the beginning of pass 1 up to:
|
| Processed /DEFAULTLIB:libc pmtd
| Processed /DEFAULTLIB:LIBC MTD
| Processed /DEFAULTLIB:OLDN AMES
| Processed /DEFAULTLIB:MSCO REE.LIB
| Processed /DEFAULTLIB:uuid .lib
|
| And then there's a pause for about 40 or 50 seconds, with the processor time
| at around 10%. Then the linker outputs:
|
| Searching libraries
|
| And processor usage goes up to close to 100% for the remainder of the

link
| time.
|
| Thanks for the interest and the docs,
|
| Steve
|
| "Kang Su Gatlin [MS]" <ka******@micro soft.com> wrote in message
| news:ms******** ******@cpmsftng xa10.phx.gbl...
| > Here's a copy of something I'm writing that may be of assistance in
| > general. If possible I'd like to get a repro of your problem. I'm
trying
| > to understand what the various problems are with linking, and the more | > customer issues I can help resolve, the better.
| >
| > Thanks,
| >
| > Kang Su Gatlin
| > Visual C++ Program Manager
| >
|
| [snip
| > | > >
| > | > >
| > | > > GE
| > | > >
| > | > > "Steve McLellan" wrote:
| > | > >
| > | > > > Hi,
| > | > > >
| > | > > > Sorry to repost, but this is becoming aggravating, and causing me
| a
| > | lot
| > | > of
| > | > > > wasted time. I've got a reasonably large mixed C++ project,

and
| > after
| > | a
| > | > > > number of builds (but not a constant number) linking (and
| sometimes
| > | > > > compiling) becomes immensely slow, and task manager shows that | > | link.exe
| > | > (or
| > | > > > cl.exe) is barely using any processor time, but an awful lot

of
| RAM
| > | > (around
| > | > > > 150-200MB). I'm going to keep an eye on page faults since I
can't
| > | think
| > | > of
| > | > > > anything else that could be causing this - the machine doesn't | seem
| > to
| > | > be
| > | > > > thrashing and is fairly responsive during building. Can anyone | > | recommend
| > | > > > anything?
| > | > > >
| > | > > > Thanks,
| > | > > >
| > | > > > Steve
| > | > > >
| > | > > >
| > | > > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|


Nov 17 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
6701
by: A Ratcliffe | last post by:
As you might have gathered from the Subject, I've been experimenting with using VBScript classes in my ASP pages to tidy the script up. Generally things are going well. Since I come from a C++ background, I have long made use of singleton objects, in various forms, and I can see an obvious use for one here but not sure if I can. I'll explain the situation:- I have a cDataLink class, configured via a couple of Const defines for the...
1
2557
by: Anthony | last post by:
Sorry about the repost but i didn't get any responses.... I am trying to make a simple page display a rss news feed.. I don't want the web server to connect to remote site because it doesn't work. I want the client to do it because my web server is behind a proxy (Tried proxycfg.exe on web server with no success) I am going nuts.. something that should be so simple for me... The following will just not work and I give up.. so now I...
83
5997
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd expect a much faster performance. I submitted my search over two minutes ago. I just finished this email to the list. The results have still not come back. I only searched for: SECURITY INVOKER
12
4750
by: Arno R | last post by:
Hi all, This is a repost of a message posted at october 6. The answer I got was about MapiMessages.AttachmentIndex. I think I need the MSMAPI32.OCX to use this. (I don't have this file on my PC) My newsaccount wasn't working anymore until yesterday, so I'll try again. Question is: I know it is possible to send email with Access, but can one also automate the attachments?
2
1835
by: Susan Bricker | last post by:
I went back to read my post and found an error in my description ... here is the post, again, corrected: The following error: "The current field must match the join key '?' in the table that seves as t the 'one' side of one-to-many relationship. Enter a record in the 'one' side table with the desired key value, and then make the entry with the desired join key in the 'many-only' table."
0
855
by: Steve McLellan | last post by:
Hi, Just recently (last day or two) my link times (a mixed mode VC++ project) have gone up a lot. It was previously taking a minute or 2, but is now closer to 10, and I don't think I've added anything to cause it. Watching task manager I'm seeing that link.exe is taking very little processor time (between 0 and 6%, but mostly hovering between 0 and 3%) and gradually consuming memory. This happens while "Linking..." is displayed. After...
67
2968
by: Scott M. | last post by:
Can anyone give me any ideas on why VS.NET 2003 running on XP Pro. (P4's with 1GB RAM) would take over 3 minutes to simply create a new ASP.NET Web Application on http://localhost? It seems that the IIS directory gets created right away, but it is not configured as an application directory until several minutes go by. Thanks, Scott M.
4
9599
by: BLob | last post by:
Hi, I need to create an RTF document with PHP. Actually, I am using an already created RTF document which with strings like %var% that I replace with $var before sending the document. I need to create a link like http://www.example.com/id_content=125 but my problem is that in the document produced : I can read http://www.example.com/id_content=125 But if I click on the link it goes to
4
3275
by: Owen Jenkins | last post by:
Hi, No-one replied to this when I sent it last week. Any bites out there today?? ----- My application allows users to create a new back end for separate purposes. It does this by using Make Table Queries and Indexing via SQL. For example ...
0
9839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11256
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10857
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10946
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8034
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7187
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5877
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4705
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.