Logging PCS Traces
System PCS (performance, capacity and scalability) traces have been
provided to be able to measure CPU and memory consumption in client and
server scenarios for CATIA, ENOVIA and VPMV5 applications.
This tool is designed to:
- determine the main PCS costs of a scenario
- identify the critical points for PCS problems
- obtain customer site PCS information about critical problems without
needing too much or confidential data.
A typical scenario for which this tool would be useful is the use of the
VPM Nav command in CATIA to open a product root class (PRC) on an ENOVIA V5
server.
This new functionality will provide PCS administrators with more
accurate data about memory and CPU use during each step of a scenario.
Note: only client PCS traces are supported in this release.
Functionalities
PCS Statistics allow users to log events and obtain information about
CPU and memory consumption during the event.
The PCS thematic has several activation levels. The end user can choose
the level of details required for measurements.
Only the event with an activation level less or equal than the activated
level are output (more macroscopic events have a lesser activation level.)
This allows you to begin a statistics analysis session by identifying
the macro events where a performance problem occurs, then to go gradually
to the details to identify the exact layer of software which is causing the
problem.
The PCS thematic has a specific option call cumulated stats:
- this option cumulates all the occurrences of the same type (sum of
elapsed time, cpu time).
- only one line is generated in the output file: a field in the output
specifies the number of cumulated events.
- it is possible to simultaneously have cumulated events and individual
events, depending on their respective levels:
1 < activation level of the event <= selected cumulation
level : one line is generated by event
cumulation level < activation level of the event <=selected
activation level : one line is generated per group of events.
This allows analysis of individual macroscopic events and how their
time is divided, without having hundreds of microscopic sub-events.
A command has been provided to define dynamically the start and end of
the measurement. Contrary to most other statistics, PCS statistics are
meant to be used dynamically PCS statistics are activated by default, but
no events will be generated if the user does not specify at least an
activation level (cumulation level is optional).
An extra field exists for the memory (start memory and end memory;
current memory or last recorded peak, depending on the operating system).
Unlike other statistics, the date parameter provides beginning and end
time.
Activating PCS Statistics
The PCS Statistics thematic is activated by default in the Statistics
Thematics List.
PCS has a new optional field: Memory.
When activated, it generates two fields in the output file:
- memory at the beginning
- and memory at the end
of the statistics event. Depending on the operating system, the value
can be the instant memory or the last peak value.
Contrary to all other statistics thematics, when activated, the time
field generate two fields in the output file, the date and time:
- at the beginning of the event
- and also at the end.
Activation Level
It comprises up to ten activation levels.
Select the View->Toolbars command and check PCS
Statistics to display the following toolbar:
By default, the level is set to "0", which means no traces are
generated. Use the Start and Stop buttons to start and stop PCS measuring.
Cumulation Level
This option can be used to condense several events into a single
generated line. This provides cpu time, cumulated elapsed times, and an
extra field providing the number of iterations.
By default, the cumulation level mode is set to "0", so it is inactive.
If "n" and "m" are event levels:
o<n< cumulation level < m< activation level
An event of level "n" will be detailed (1 line per event).
An event of level "m" will be cumulative (1 line for one or more
events).
If you set a cumulation level higher than the activation level, the
cumulation level will be set equal to the activation level. |