Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / August 2003

Tip: Looking for answers? Try searching our database.

% Time in GC for Dual CPU Machine

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Tucker - 09 Aug 2003 17:30 GMT
In a sample web application running on a 2 CPU machine, I have the following
Performance Counter values:

Average % Processor Time - Total = 67%
Average % Processor Time - aspnet_wp = 109%
Average % Time in GC - aspnet_wp = 26%

I know that the second value (109) is out of 200 because there are two CPUs.
What is the 26% telling me?  Is that 26% of the 109% or 26% of the 67%.

Mark
Mark Tucker - 09 Aug 2003 21:05 GMT
I think I have answered my own question, please verify that this is correct:

A GC cycle is the time from the GC start to the GC end.  The % Time in GC is
only updated at the end of the GC.  The % Time in GC indicates the time it
takes for the current GC cycle as a percentage of time between the current
and previous GC ends.

The following represents GC cycles over time.

             GC1
GC2
-------+------+-------------------------------+---------------------------+
        start       end                                           start
end

           0         1                                               2
3

The points in time 0-1 indicate the time taken to perform the first Garbage
collection (GC1).  The points 2-3 shows the time taken for the second GC
(GC2).  The % Time in GC counter is only updated at 1 and 3.  The value of
the counter at point 3 is the time taken between 2-3 divided by the time
taken between 1-3.

Mark

> In a sample web application running on a 2 CPU machine, I have the following
> Performance Counter values:
[quoted text clipped - 7 lines]
>
> Mark
Rico Mariani [MSFT] - 14 Aug 2003 22:25 GMT
It's just as you write below Mark

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

Rico Mariani
CLR Performance Architect

> I think I have answered my own question, please verify that this is correct:
>
[quoted text clipped - 35 lines]
> >
> > Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.