Message: Small CPU time usage Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Small CPU time usage 

Keywords: performance CPU time
Forum: Run Management
Date: 21 Sep, 2005
From: MLucia <>

Dear G4Users,

I noticed that my Geant4 simulation of a discrete gamma camera, 
uses a small amount of CPU usage (< 5%) 
when processing events with few particles (3-5) 
while the CPU time increases to more than 70% 
when the events contain several particles (>1000).

It seems that in the first case most of the time is spent in I/O calls.

In fact, in verbose mode, when Geant4 simulates events with few particles, 
I get a lot of the following messages on stack operations:

> ### pop requested out of 0 stacked tracks.
> ### 0 waiting tracks are re-classified to
>     0 urgent tracks and 0 waiting tracks.
> NULL returned from G4StackManager.

Is it possible that these calls to the stack is 
the cause of the small CPU usage, 
or there are other explanations?

Eventually, are there ways to increase the CPU usage ?

Thanks in advance

Maria Lucia Magliozzi

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Small CPU time usage"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]