Hi Ice
Running Server GC is indeed a supported scenario, as long as it's done via supported means (by not supported, I mean, the behaviour of complus_buildflavor is not
guaranteed to remain constant between versions of the runtime, nor will MS support issue a fix for bugs in server GC specified via that setting).
The only way Microsoft-supported way to specify Server GC with v1.0 and v1.1 is by hosting the runtime (see http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dndotnet/html/dotnetperftechs.asp)
If you have a mission-critical application that you feel requires Server GC, you will have to host the runtime. As I said earlier, this behaviour will change in v2.0 and v1.1 SP1.
Hope that helps
-Chris
--------------------
>From: "Ice" <ice@nospam.com>
>References: <OKrCGReMEHA.2508@TK2MSFTNGP10.phx.gbl> <u4UhZpmMEHA.2500@TK2MSFTNGP12.phx.gbl>
[quoted text clipped - 24 lines]
>> Since our production system is a multi-server webfarm that is
>> mission-critical for our customers I can't rely on unsupported features!

Signature
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
Ice - 17 May 2004 15:07 GMT
Quite understood. I just don't know how else I could do this when my
component are hosted in COM+ i.e. dllhost. Any suggestions?
If I don't it this way, then there is no way to get the behavior I'm looking
for.
ice
> Hi Ice
>
> Running Server GC is indeed a supported scenario, as long as it's done via supported means (by not supported, I mean, the behaviour of
complus_buildflavor is not
> guaranteed to remain constant between versions of the runtime, nor will MS support issue a fix for bugs in server GC specified via that setting).
>
> The only way Microsoft-supported way to specify Server GC with v1.0 and v1.1 is by hosting the runtime (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/dndotnet/html/dotnetperftechs.asp)
>
> If you have a mission-critical application that you feel requires Server GC, you will have to host the runtime. As I said earlier, this behaviour
will change in v2.0 and v1.1 SP1.
> Hope that helps
> -Chris
[quoted text clipped - 13 lines]
> >NNTP-Posting-Host: 208.28.230.35
> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
> >Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.performance:7556
> >X-Tomcat-NG: microsoft.public.dotnet.framework.performance
[quoted text clipped - 11 lines]
> >> Since our production system is a multi-server webfarm that is
> >> mission-critical for our customers I can't rely on unsupported features!
originated.
Mike Blake-Knox - 22 Jul 2004 15:17 GMT
> The only way Microsoft-supported way to specify Server GC with v1.0 and v1.1 is by hosting the runtime (see
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/dndotnet/html/dotnetperftechs.asp)
Did you really mean to say that using the Garbage Collection Mode application property in the .NET Framework
Configuration .msc isn't supported? Or that it doesn't work?
Thanks
Mike
"Chris Lyon [MSFT]" - 23 Jul 2004 18:11 GMT
Hi Mike
In the configuration .msc, you can specify whether the GC is to use Concurrent GC or non-concurrent (the default). Server GC can only be specified by hosting.
Concurrent GC does full (Generation 2) collections on a seperate thread without blocking the other GC thread (for mark phase). This is useful for GUI apps, since it means a
more responsive GC. There are a few caveats to Concurrent:
-it only works on a multi-proc machine
-it is disabled if server GC is specified (through hosting)
-Chris
--------------------
>Date: Thu, 22 Jul 2004 10:17:53 EDT
>Mime-Version: 1.0
[quoted text clipped - 6 lines]
>Reply-To: mikebkdont@spamintrex.net
>References: <OKrCGReMEHA.2508@TK2MSFTNGP10.phx.gbl> <u4UhZpmMEHA.2500@TK2MSFTNGP12.phx.gbl> <ueHTF1wMEHA.1192@TK2MSFTNGP11.phx.gbl>
<vubBHvdOEHA.2608@cpmsftngxa10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.performance
>NNTP-Posting-Host: 65.194.244.137
[quoted text clipped - 13 lines]
>
>Mike

Signature
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.