Message: How to recognize the part of the code which slows down a simulation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to recognize the part of the code which slows down a simulation 

Forum: Run Management
Date: 25 Jul, 2010
From: lu luo <lu luo>

Dear All:

I have a simulation, which consumes very few memory, but is very time-consuming, I donít understand why. For this simulation, I have 10^6 events (each event = 1 primary particle) and about 40000 individual cells which record accumulated energy of each event by SensitiveDetector. I use Low EnergyModel. And the geometries between the primary and the detector are very simple.

When I set only 1 event (/run/beamOn/ 1) with 10^6 primaries particles, it consumes more memories but run very quickly.

How can I know where is the part of the code which slows down a run?

Thanks.

Lu LUO

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

1 None: Re: How to recognize the part of the code which slows down a simulation   (Rohin - 25 Jul, 2010)
2 None: Re: How to recognize the part of the code which slows down a simulation   (Colin Paul Gloster - 26 Jul, 2010)
 Add Message Add Message
to: "How to recognize the part of the code which slows down a simulation"

 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 ]